diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-21 21:01:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-21 21:01:45 +0000 |
commit | 8bf17facfa13c3b98793f14e0e13e6cd38d53515 (patch) | |
tree | bd7f3f149eda5a4cf01bc7c32740142b1916d92a | |
parent | 164afbe0ec257ba6baae4bb3822f0c435875000d (diff) | |
download | elgg-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
-rw-r--r-- | views/default/admin/sidebar.php | 8 | ||||
-rw-r--r-- | views/default/admin/sidebar/menu.php | 8 | ||||
-rw-r--r-- | views/default/page/layouts/admin.php | 4 |
3 files changed, 9 insertions, 11 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 diff --git a/views/default/admin/sidebar/menu.php b/views/default/admin/sidebar/menu.php deleted file mode 100644 index c33eeac32..000000000 --- a/views/default/admin/sidebar/menu.php +++ /dev/null @@ -1,8 +0,0 @@ -<?php -/** - * Admin sidebar menu - */ - -$content = elgg_view_menu('page', array('sort_by' => 'weight')); - -echo elgg_view_module('main', '', $content);
\ No newline at end of file diff --git a/views/default/page/layouts/admin.php b/views/default/page/layouts/admin.php index abe2454ce..680f1b125 100644 --- a/views/default/page/layouts/admin.php +++ b/views/default/page/layouts/admin.php @@ -57,9 +57,7 @@ echo elgg_view('page/elements/messages', array('object' => $messages)); <div class="elgg-page-body"> <div class="elgg-sidebar clearfix"> <?php - echo elgg_view('admin/sidebar/top', $vars); - echo elgg_view('admin/sidebar/menu', $vars); - echo elgg_view('admin/sidebar/bottom', $vars); + echo elgg_view('admin/sidebar', $vars); ?> </div> <div class="elgg-main elgg-body"> |