diff options
author | Andrew Dolgov <[email protected]> | 2005-11-18 10:00:18 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-18 10:00:18 +0100 |
commit | e6cb77a07ad5ff4b7d43aa00fdf1fc810bfebf69 (patch) | |
tree | 9b02156c3d1debc5530b1ec6b671ce54f700e53b /prefs.php | |
parent | cd42edf18dac1955a4046cc68a790aaf77cd6536 (diff) |
user manager
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -23,10 +23,6 @@ $_SESSION["name"] = "admin"; } - - initialize_user_prefs($link, $_SESSION["uid"]); - // FIXME this needs to be moved somewhere after user creation - ?> <html> <head> @@ -77,7 +73,7 @@ <? } ?> <tr> <td class="prefsTabs" align="left" valign="bottom"> - <input id="genConfigTab" class="prefsTab" type="submit" value="User Preferences" + <input id="genConfigTab" class="prefsTab" type="submit" value="Preferences" onclick="selectTab('genConfig')"> <input id="feedConfigTab" class="prefsTab" type="submit" value="Feed Configuration" onclick="selectTab('feedConfig')"> @@ -87,6 +83,10 @@ <input id="labelConfigTab" class="prefsTab" type="submit" value="Label Editor" onclick="selectTab('labelConfig')"> <? } ?> + <? if ($_SESSION["access_level"] >= 10) { ?> + <input id="userConfigTab" class="prefsTab" type="submit" value="User Manager" + onclick="selectTab('userConfig')"> + <? } ?> </td> <td class="prefsToolbar" valign="middle" align="right"> <input type="submit" onclick="gotoMain()" class="button" value="Return to main"> |