]> git.wh0rd.org Git - tt-rss.git/commitdiff
unbreak user editor
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 22 Jan 2009 15:02:05 +0000 (16:02 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 22 Jan 2009 15:02:05 +0000 (16:02 +0100)
modules/pref-users.php

index 3398f8acf6c876d5a112eeffceb8d7d905d1eb38..cb2f3e03a44245e803f3f72e6a3be34eba3a4796 100644 (file)
                        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>";
                        print "</table>";
 
                        print "</form>";
-                       
+
                        print "<div class=\"dlgButtons\">
                                <input class=\"button\"
                                        type=\"submit\" onclick=\"return userEditSave()\"