switch judge info to use province selector

This commit is contained in:
james 2005-01-05 16:28:42 +00:00
parent 726f466ac1
commit abf8f8d7a7
2 changed files with 4 additions and 2 deletions

View File

@ -307,7 +307,7 @@ function emit_province_selector($name,$selected="")
else
{
echo "<select name=\"$name\">\n";
echo "<option value=\"\">".i18n("Province")."</option>\n";
echo "<option value=\"\">".i18n("Select a Province")."</option>\n";
while($r=mysql_fetch_object($q))
{
if($r->code == $selected) $sel="selected=\"selected\""; else $sel="";

View File

@ -80,7 +80,9 @@ echo " <td>".i18n("City")."</td><td><input type=\"text\" name=\"city\" value=\"$
echo "</tr>\n";
echo "<tr>\n";
echo " <td>".i18n("Address")."</td><td><input type=\"text\" name=\"address\" value=\"$judgeinfo->address\" /></td>\n";
echo " <td>".i18n("Province")."</td><td><input type=\"text\" name=\"province\" value=\"$judgeinfo->province\" /></td>\n";
echo " <td>".i18n("Province")."</td><td>";
emit_province_selector("province",$judgeinfo->province);
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo " <td>".i18n("Postal Code")."</td><td><input type=\"text\" name=\"postalcode\" value=\"$judgeinfo->postalcode\" /></td>\n";