From 02d310ab9a84f1e994639d096708546318197b96 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 1 Mar 2011 22:29:19 +0000 Subject: Fixes #3031 using 'priority' now git-svn-id: http://code.elgg.org/elgg/trunk@8545 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/footer.php | 5 ++++- views/default/admin/sidebar.php | 2 +- views/default/css/admin.php | 13 ++++++++++++- views/default/css/elements/navigation.php | 9 ++++++++- views/default/input/longtext.php | 2 +- views/default/page/elements/footer.php | 2 +- views/default/page/elements/topbar.php | 2 +- views/default/page/layouts/content/filter.php | 2 +- views/default/page/layouts/content/header.php | 2 +- views/default/river/item/controls.php | 2 +- 10 files changed, 31 insertions(+), 10 deletions(-) (limited to 'views') diff --git a/views/default/admin/footer.php b/views/default/admin/footer.php index 3b773bda7..72f00fc55 100644 --- a/views/default/admin/footer.php +++ b/views/default/admin/footer.php @@ -1,4 +1,7 @@ 'weight')); +$content = elgg_view_menu('page', array('sort_by' => 'priority')); echo elgg_view_module('main', '', $content); \ No newline at end of file diff --git a/views/default/css/admin.php b/views/default/css/admin.php index b32e1382b..8639af5ea 100644 --- a/views/default/css/admin.php +++ b/views/default/css/admin.php @@ -217,7 +217,6 @@ table.mceLayout { border: 2px solid #dddddd; } - /* *************************************** BODY *************************************** */ @@ -246,6 +245,18 @@ table.mceLayout { color: #333333; } +/* *************************************** + FOOTER +*************************************** */ +.elgg-page-footer { + background-color: black; + height: 100%; +} +.elgg-page-footer > .elgg-inner { + margin: 0 auto; + padding: 10px 40px; +} + /* *************************************** SIDEBAR MENU *************************************** */ diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index 210ff4cbe..d8c857b8c 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -428,4 +428,11 @@ /* Ick. Allows the horizontal menu to hold image blocks without breaking */ .elgg-menu-metadata .elgg-body:after { content: '.'; -} \ No newline at end of file +} + +/* *************************************** + LONGTEXT +*************************************** */ +.elgg-menu-longtext { + float: right; +} diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php index edff2da87..b4f621f92 100644 --- a/views/default/input/longtext.php +++ b/views/default/input/longtext.php @@ -21,5 +21,5 @@ unset($vars['internalid']); $vars = array_merge($defaults, $vars); -echo elgg_view_menu('longtext', array('sort_by' => 'weight')); +echo elgg_view_menu('longtext', array('sort_by' => 'priority')); echo elgg_view('input/plaintext', $vars); diff --git a/views/default/page/elements/footer.php b/views/default/page/elements/footer.php index e818c0eff..5c8caf2de 100644 --- a/views/default/page/elements/footer.php +++ b/views/default/page/elements/footer.php @@ -8,4 +8,4 @@ * */ -echo elgg_view_menu('footer', array('sort_by' => 'weight', 'class' => 'elgg-menu-hz')); \ No newline at end of file +echo elgg_view_menu('footer', array('sort_by' => 'priority', 'class' => 'elgg-menu-hz')); \ No newline at end of file diff --git a/views/default/page/elements/topbar.php b/views/default/page/elements/topbar.php index 849b1fdcd..b69c101a2 100644 --- a/views/default/page/elements/topbar.php +++ b/views/default/page/elements/topbar.php @@ -7,7 +7,7 @@ // Elgg logo -echo elgg_view_menu('topbar', array('sort_by' => 'weight', array('elgg-menu-hz'))); +echo elgg_view_menu('topbar', array('sort_by' => 'priority', array('elgg-menu-hz'))); // elgg tools menu // need to echo this empty view for backward compatibility. diff --git a/views/default/page/layouts/content/filter.php b/views/default/page/layouts/content/filter.php index 7577f2839..649113f5f 100644 --- a/views/default/page/layouts/content/filter.php +++ b/views/default/page/layouts/content/filter.php @@ -45,5 +45,5 @@ if (elgg_is_logged_in() && $context) { elgg_register_menu_item('filter', $tab); } - echo elgg_view_menu('filter', array('sort_by' => 'weight', 'class' => 'elgg-menu-hz')); + echo elgg_view_menu('filter', array('sort_by' => 'priority', 'class' => 'elgg-menu-hz')); } diff --git a/views/default/page/layouts/content/header.php b/views/default/page/layouts/content/header.php index cbdd1071a..830c33885 100644 --- a/views/default/page/layouts/content/header.php +++ b/views/default/page/layouts/content/header.php @@ -41,7 +41,7 @@ if ($context) { )); } - $buttons = elgg_view_menu('title', array('sort_by' => 'weight', 'class' => 'elgg-menu-hz')); + $buttons = elgg_view_menu('title', array('sort_by' => 'priority', 'class' => 'elgg-menu-hz')); } echo << diff --git a/views/default/river/item/controls.php b/views/default/river/item/controls.php index 96979f2c5..50c1ae09e 100644 --- a/views/default/river/item/controls.php +++ b/views/default/river/item/controls.php @@ -47,5 +47,5 @@ if (elgg_is_logged_in()) { } } - echo elgg_view_menu('river', array('sort_by' => 'weight', 'item' => $vars['item'])); + echo elgg_view_menu('river', array('sort_by' => 'priority', 'item' => $vars['item'])); } \ No newline at end of file -- cgit v1.2.3