aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-28 07:40:49 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-28 07:40:49 -0400
commita07f6da7110885ec8600dad1fd63af833a258241 (patch)
treef5e8e7452749031f278681ea8c2555fa5242fc4c /views/default
parenteb43980ad428e9c64406579de0677da7a4fcd081 (diff)
downloadelgg-a07f6da7110885ec8600dad1fd63af833a258241.tar.gz
elgg-a07f6da7110885ec8600dad1fd63af833a258241.tar.bz2
Fixes #3519 admin area now has title buttons
Diffstat (limited to 'views/default')
-rw-r--r--views/default/css/admin.php12
-rw-r--r--views/default/page/layouts/admin.php5
2 files changed, 17 insertions, 0 deletions
diff --git a/views/default/css/admin.php b/views/default/css/admin.php
index d7c154438..ce271f49b 100644
--- a/views/default/css/admin.php
+++ b/views/default/css/admin.php
@@ -605,6 +605,18 @@ input[type="submit"]:hover, .elgg-button-submit:hover, .elgg-button-action:hover
}
/* ***************************************
+ TITLE MENU
+*************************************** */
+.elgg-menu-title {
+ float: right;
+}
+
+.elgg-menu-title > li {
+ display: inline-block;
+ margin-left: 4px;
+}
+
+/* ***************************************
FOOTER MENU
*************************************** */
.elgg-menu-footer {color:gray}
diff --git a/views/default/page/layouts/admin.php b/views/default/page/layouts/admin.php
index 890c8a06e..8dbdc27e6 100644
--- a/views/default/page/layouts/admin.php
+++ b/views/default/page/layouts/admin.php
@@ -21,6 +21,11 @@
<div class="elgg-main elgg-body">
<div class="elgg-head">
<?php
+ echo elgg_view_menu('title', array(
+ 'sort_by' => 'priority',
+ 'class' => 'elgg-menu-hz',
+ ));
+
if (isset($vars['title'])) {
echo elgg_view_title($vars['title']);
}