[gst-cvs] CVS: www/status index.php,1.3,1.4

Andy Wingo wingo at users.sourceforge.net
Sun Oct 14 14:17:03 PDT 2001


Update of /cvsroot/gstreamer/www/status
In directory usw-pr-cvs1:/tmp/cvs-serv13143

Modified Files:
	index.php 
Log Message:
make *both* boxes sticky...

Index: index.php
===================================================================
RCS file: /cvsroot/gstreamer/www/status/index.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- index.php	2001/10/14 21:11:27	1.3
+++ index.php	2001/10/14 21:16:36	1.4
@@ -56,7 +56,9 @@
     choose another category:
     <select name="category">
 EOF;
-    foreach ($categories as $key=>$value) {
+    if ($key==$category) {
+      echo "      <option value=\"$key\" selected>$value</option>\n";
+    } else {
       echo "      <option value=\"$key\">$value</option>\n";
     }
     echo <<<EOF





More information about the Gstreamer-commits mailing list