From: Andrew Dolgov Date: Wed, 6 Aug 2008 08:40:04 +0000 (+0100) Subject: rework user admin dialog X-Git-Tag: 1.2.26~35 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=41ed2d38564da15ca83578b2b92cb931e33ea7e6;p=tt-rss.git rework user admin dialog --- diff --git a/modules/pref-users.php b/modules/pref-users.php index 9a0abeb2..b02832f6 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -14,7 +14,7 @@ $id = db_escape_string($_GET["id"]); - print "
".__('User editor')."
"; + print "
".__('User Editor')."
"; print "
"; @@ -30,31 +30,47 @@ $access_level = db_fetch_result($result, 0, "access_level"); $email = db_fetch_result($result, 0, "email"); - print ""; - print ""; + $sel_disabled = ($id == $_SESSION["uid"]) ? "disabled" : ""; - print ""; + print "
".__("User")."
"; + print "
"; - print "
"; + print ""; + + print ""; + + print "
".__("Authentication")."
"; + print "
"; + + print __('Access level: ') . " "; - $sel_disabled = ($id == $_SESSION["uid"]) ? "disabled" : ""; - - print "
"; + + print "
"; + + print __('Change password to') . + " "; + + print ""; + + print "
".__("Options")."
"; + print "
"; + + print __('E-mail: '). + " "; + + print "
"; print "
".__('Login:')." -
".__('Change password:')." -
".__('E-mail:')." -
".__('Access level:').""; print_select_hash("access_level", $access_level, $access_level_names, $sel_disabled); - print "
"; print ""; - print "
+ print "