From 6045bb8ea25b77d99bdff8d741c99034f86b19c0 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 14 Jun 2011 16:52:45 -0700 Subject: A few tweaks --- htdocs/moderate/src/header.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'htdocs/moderate/src') diff --git a/htdocs/moderate/src/header.inc.php b/htdocs/moderate/src/header.inc.php index ef675e5..901344a 100644 --- a/htdocs/moderate/src/header.inc.php +++ b/htdocs/moderate/src/header.inc.php @@ -21,7 +21,9 @@ if (!isset($_SESSION['currentUser'])) { elements : "contentarea", theme : "advanced", theme_advanced_toolbar_location : "top", - theme_advanced_toolbar_align : "left" + theme_advanced_toolbar_align : "left", + document_base_url : "", + relative_urls : false }); @@ -48,7 +50,7 @@ if (!isset($_SESSION['currentUser'])) { isAdmin()) { + if (isset($_SESSION['currentUser']) and $_SESSION['currentUser']->isAdmin()) { echo "
  • Pages
  • "; echo "
  • Users
  • "; } -- cgit v1.2.3