- Add the "none" tshirt option to the admin student editor

This commit is contained in:
dave 2007-03-12 17:27:55 +00:00
parent 3519bc5e0e
commit cb992b8819

View File

@ -285,6 +285,8 @@ else
echo "<tr>\n"; echo "<tr>\n";
echo " <td>".i18n("T-Shirt Size")."</td><td>"; echo " <td>".i18n("T-Shirt Size")."</td><td>";
echo " <select name=\"tshirt[$x]\">\n"; echo " <select name=\"tshirt[$x]\">\n";
if($studentinfo->tshirt=="none") $sel="selected=\"selected\""; else $sel="";
echo " <option $sel value=\"none\">".i18n("None")."</option>";
if($studentinfo->tshirt=="small") $sel="selected=\"selected\""; else $sel=""; if($studentinfo->tshirt=="small") $sel="selected=\"selected\""; else $sel="";
echo " <option $sel value=\"small\">".i18n("Small")."</option>"; echo " <option $sel value=\"small\">".i18n("Small")."</option>";
if($studentinfo->tshirt=="medium") $sel="selected=\"selected\""; else $sel=""; if($studentinfo->tshirt=="medium") $sel="selected=\"selected\""; else $sel="";