[AppDB] fix up selects for Maintainer Rating and Versions
Tony Lambregts
tony_lambregts at telusplanet.net
Mon Jan 17 15:17:46 CST 2005
Currently The select functions for Maintainer ratings and Wine Versions return
"0" insted of " " this looks ugly.
Change Log: Fix up selects for Maintainer Rating and Versions to return " " when
Choose.. is selected.
Files Changed: include/util.php
-------------- next part --------------
Index: include/util.php
===================================================================
RCS file: /home/wine/appdb/include/util.php,v
retrieving revision 1.17
diff -u -r1.17 util.php
--- include/util.php 12 Jan 2005 16:22:55 -0000 1.17
+++ include/util.php 17 Jan 2005 21:07:39 -0000
@@ -99,7 +99,7 @@
if(!$result) return;
echo "<select name='$varname'>\n";
- echo "<option value=0>Choose ...</option>\n";
+ echo "<option value=" ">Choose ...</option>\n";
while(list($value) = mysql_fetch_row($result))
{
if($value == $cvalue)
@@ -114,7 +114,7 @@
{
echo "<select name='$varname'>\n";
- echo "<option value=0>Choose ...</option>\n";
+ echo "<option value=" ">Choose ...</option>\n";
$aRating = array("Gold", "Silver", "Bronze", "Garbage");
$iMax = count($aRating);
More information about the wine-patches
mailing list