summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-18 10:00:18 +0100
committerAndrew Dolgov <[email protected]>2005-11-18 10:00:18 +0100
commite6cb77a07ad5ff4b7d43aa00fdf1fc810bfebf69 (patch)
tree9b02156c3d1debc5530b1ec6b671ce54f700e53b /prefs.php
parentcd42edf18dac1955a4046cc68a790aaf77cd6536 (diff)
user manager
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/prefs.php b/prefs.php
index f6b862f07..4c19f687f 100644
--- a/prefs.php
+++ b/prefs.php
@@ -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">