summaryrefslogtreecommitdiff
path: root/htdocs/moderate/src/header.inc.php
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2011-06-02 16:17:25 -0700
committerJesse Morgan <jesse@jesterpm.net ; true>2011-06-02 16:17:25 -0700
commitf08eb1640388e1f067102a22ec40c30f263d92c6 (patch)
treea73f2d21cff6427b9619e7072fc90a228bd7dc78 /htdocs/moderate/src/header.inc.php
parent91feef607687b1262a949835cffd850cdd819846 (diff)
Added user management
Diffstat (limited to 'htdocs/moderate/src/header.inc.php')
-rw-r--r--htdocs/moderate/src/header.inc.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/htdocs/moderate/src/header.inc.php b/htdocs/moderate/src/header.inc.php
index fc8a06f..30910ec 100644
--- a/htdocs/moderate/src/header.inc.php
+++ b/htdocs/moderate/src/header.inc.php
@@ -34,17 +34,18 @@ if (!isset($_SESSION['currentUser'])) {
<div id="modnav">
<ul>
- <li><a href="">Moderate Posts</a></li>
+ <li><a href="<?= buildUrl('moderate/') ?>">Moderate Posts</a></li>
<?php
// Admin Navigation
if ($_SESSION['currentUser']->isAdmin()) {
- echo "<li><a href=\"". $CONFIG['urlroot'] ."/\">Pages</a></li>";
- echo "<li><a href=\"". $CONFIG['urlroot'] ."/\">Users</a></li>";
+ echo "<li><a href=\"". buildUrl('moderate/pages/') ."\">Pages</a></li>";
+ echo "<li><a href=\"". buildUrl('moderate/users/') ."\">Users</a></li>";
}
?>
- <li><a href="">Account Settings</a></li>
+ <li><a href="<?= buildUrl('moderate/account.php') ?>">
+ Account Settings</a></li>
<li><a href="">Logout</a></li>
</ul>
</div>