aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/sidebar.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-21 21:01:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-21 21:01:45 +0000
commit8bf17facfa13c3b98793f14e0e13e6cd38d53515 (patch)
treebd7f3f149eda5a4cf01bc7c32740142b1916d92a /views/default/admin/sidebar.php
parent164afbe0ec257ba6baae4bb3822f0c435875000d (diff)
downloadelgg-8bf17facfa13c3b98793f14e0e13e6cd38d53515.tar.gz
elgg-8bf17facfa13c3b98793f14e0e13e6cd38d53515.tar.bz2
Refs #2950: Cleaned up admin sidebar code
git-svn-id: http://code.elgg.org/elgg/trunk@8390 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/sidebar.php')
-rw-r--r--views/default/admin/sidebar.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/admin/sidebar.php b/views/default/admin/sidebar.php
new file mode 100644
index 000000000..ef3c6a359
--- /dev/null
+++ b/views/default/admin/sidebar.php
@@ -0,0 +1,8 @@
+<?php
+/**
+ * Admin sidebar -- just outputs the page menu
+ */
+
+$content = elgg_view_menu('page', array('sort_by' => 'weight'));
+
+echo elgg_view_module('main', '', $content); \ No newline at end of file