aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/profile/start.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 0cd8f2100..5f0eaabd2 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -59,7 +59,12 @@
// Add Javascript reference to the page header
extend_view('metatags','profile/metatags');
extend_view('css','profile/css');
-
+
+ // Extend context menu with admin links
+ if (isadminloggedin())
+ {
+ extend_view('profile/menu/links','profile/menu/adminlinks');
+ }
}
/**