aboutsummaryrefslogtreecommitdiff
path: root/admin/menu_items.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/menu_items.php')
-rw-r--r--admin/menu_items.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/admin/menu_items.php b/admin/menu_items.php
new file mode 100644
index 000000000..5642957e1
--- /dev/null
+++ b/admin/menu_items.php
@@ -0,0 +1,21 @@
+<?php
+/**
+ * Elgg administration menu items
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
+
+require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
+admin_gatekeeper();
+
+$vars = array(
+ 'menu_items' => get_register('menu')
+);
+
+$main_box = elgg_view("admin/menu_items", $vars);
+$content = elgg_view_layout("one_column_with_sidebar", $main_box);
+
+page_draw(elgg_echo('admin:plugins'), $content); \ No newline at end of file