reverse the order of the status select box

This commit is contained in:
james 2005-01-13 17:28:30 +00:00
parent 1555f19293
commit a8167f4dae

View File

@ -11,16 +11,18 @@
echo i18n("Choose Status").":";
echo "<form name=\"statuschangerform\" method=\"get\" action=\"registration_list.php\">";
echo "<select name=\"showstatus\" onchange=\"document.forms.statuschangerform.submit()\">";
if($_GET['showstatus']=="") $sel="selected=\"selected\""; else $sel="";
echo "<option $sel value=\"\">".i18n("Any Status")."</option>\n";
if($_GET['showstatus']=="new") $sel="selected=\"selected\""; else $sel="";
echo "<option $sel value=\"new\">".i18n("New")."</option>\n";
if($_GET['showstatus']=="open") $sel="selected=\"selected\""; else $sel="";
echo "<option $sel value=\"open\">".i18n("Open")."</option>\n";
if($_GET['showstatus']=="paymentpending") $sel="selected=\"selected\""; else $sel="";
echo "<option $sel value=\"paymentpending\">".i18n("Payment Pending")."</option>\n";
if($_GET['showstatus']=="complete") $sel="selected=\"selected\""; else $sel="";
echo "<option $sel value=\"complete\">".i18n("Complete")."</option>\n";
if($_GET['showstatus']=="paymentpending") $sel="selected=\"selected\""; else $sel="";
echo "<option $sel value=\"paymentpending\">".i18n("Payment Pending")."</option>\n";
if($_GET['showstatus']=="open") $sel="selected=\"selected\""; else $sel="";
echo "<option $sel value=\"open\">".i18n("Open")."</option>\n";
if($_GET['showstatus']=="new") $sel="selected=\"selected\""; else $sel="";
echo "<option $sel value=\"new\">".i18n("New")."</option>\n";
echo "</select>";
echo "</form>";