aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r--engine/lib/admin.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index 1c78ce210..81403a6be 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -210,6 +210,13 @@ function admin_init() {
'weight' => 10,
));
+ elgg_register_menu_item('topbar_alt', array(
+ 'name' => 'administration',
+ 'href' => 'pg/admin',
+ 'text' => elgg_view_icon('settings') . elgg_echo('admin'),
+ 'weight' => 100,
+ ));
+
// widgets
$widgets = array('online_users', 'new_users', 'content_stats');
foreach ($widgets as $widget) {