[gst-cvs] CVS: www/status index.php,1.1.1.1,1.2

Andy Wingo wingo at users.sourceforge.net
Sun Oct 14 14:11:01 PDT 2001


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

Modified Files:
	index.php 
Log Message:
make status drop box sticky

Index: index.php
===================================================================
RCS file: /cvsroot/gstreamer/www/status/index.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- index.php	2001/10/13 20:01:16	1.1.1.1
+++ index.php	2001/10/14 21:10:21	1.2
@@ -17,7 +17,11 @@
     <select name="category">
 EOF;
     foreach ($categories as $key=>$value) {
-      echo "      <option value=\"$key\">$value</option>\n";
+      if ($key==$category) {
+        echo "      <option value=\"$key\">$value</option>\n";
+      } else {
+        echo "      <option value=\"$key\">$value</option>\n";
+      }
     }
     echo <<<EOF
     </select>
@@ -87,4 +91,4 @@
   
   echo get_footer();
 ?>
-  
\ No newline at end of file
+  





More information about the Gstreamer-commits mailing list