unbreak user editor

This commit is contained in:
Andrew Dolgov 2009-01-22 16:02:05 +01:00
parent 5950419ce0
commit 8f4e59ec9e
1 changed files with 8 additions and 5 deletions

View File

@ -140,12 +140,15 @@
print "<div class=\"dlgSec\">".__("User")."</div>";
print "<div class=\"dlgSecCont\">";
print "<input size=\"30\" style=\"font-size : 16px\"
onkeypress=\"return filterCR(event, userEditSave)\" $sel_disabled
value=\"$login\">";
if ($sel_disabled) {
print "<input type=\"hidden\" name=\"login\" value=\"$login\">";
print "<input size=\"30\" style=\"font-size : 16px\"
onkeypress=\"return filterCR(event, userEditSave)\" $sel_disabled
value=\"$login\">";
} else {
print "<input size=\"30\" style=\"font-size : 16px\"
onkeypress=\"return filterCR(event, userEditSave)\" $sel_disabled
name=\"login\" value=\"$login\">";
}
print "</div>";
@ -178,7 +181,7 @@
print "</table>";
print "</form>";
print "<div class=\"dlgButtons\">
<input class=\"button\"
type=\"submit\" onclick=\"return userEditSave()\"