diff options
Diffstat (limited to 'views')
-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"> |