summaryrefslogtreecommitdiff
path: root/core/helpers/core_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r--core/helpers/core_block.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php
index 469dcf86..801ffb82 100644
--- a/core/helpers/core_block.php
+++ b/core/helpers/core_block.php
@@ -25,4 +25,11 @@ class core_block_Core {
return new View("in_place_edit.html");
}
}
+
+ public static function navigation_bottom($theme) {
+ $user = Session::instance()->get('user', null);
+ if ($user && $user->admin) {
+ return "<li><a href=#>" . _("ADMIN") . "</a></li>";
+ }
+ }
} \ No newline at end of file