From f1c0a0b5fdb3cd4be5a0a43d837981c7888452b9 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 14 Apr 2013 19:28:15 -0700 Subject: [PATCH] More Menu-Manager GUI tweaks --- e107_admin/menus.php | 31 ++++++++++++++++--- .../shortcodes/batch/admin_shortcodes.php | 2 +- e107_handlers/menumanager_class.php | 4 +-- e107_languages/English/admin/help/menus.php | 18 +++++------ e107_themes/bootstrap/admin_style.css | 2 +- 5 files changed, 40 insertions(+), 17 deletions(-) diff --git a/e107_admin/menus.php b/e107_admin/menus.php index 67f8e2107..b819c43eb 100644 --- a/e107_admin/menus.php +++ b/e107_admin/menus.php @@ -151,8 +151,21 @@ if(strpos(e_QUERY, 'configure') !== FALSE || vartrue($_GET['enc'])) .ui-sortable-placeholder { border: 1px dotted black; visibility: visible !important; height: 50px !important; } .ui-sortable-placeholder * { visibility: hidden; } + [class^='icon-'], [class*=' icon-'] { + display: inline-block; + width: 14px; + height: 14px; + margin-top: 1px; + line-height: 14px; + vertical-align: text-top; + background-image: url('".e_JS."bootstrap/img/glyphicons-halflings.png'); + background-position: 14px 14px; + background-repeat: no-repeat; + } - + .icon-search { + background-position: -48px 0; + } @@ -212,11 +225,21 @@ if(strpos(e_QUERY, 'configure') !== FALSE || vartrue($_GET['enc'])) .tbox { text-align:left } .menuOptions { - padding-top: 7px; - padding-right: 5px; - text-align: left; + padding-top: 7px; + padding-right: 5px; + text-align: left; + opacity: 0; + transition: opacity .25s ease-in-out; + -moz-transition: opacity .25s ease-in-out; + -webkit-transition: opacity .25s ease-in-out; } + + .menuOptions:hover { + opacity: 1; + + } + .menu-options-buttons { white-space: nowrap } #menu-manage-actions { width:50%; vertical-align:top; text-align:center; padding:15px } diff --git a/e107_core/shortcodes/batch/admin_shortcodes.php b/e107_core/shortcodes/batch/admin_shortcodes.php index 1d729f0a4..89ca2936d 100644 --- a/e107_core/shortcodes/batch/admin_shortcodes.php +++ b/e107_core/shortcodes/batch/admin_shortcodes.php @@ -1844,7 +1844,7 @@ Inverse 10 10 // $keys = array_keys($var); // $action = (in_array($this->action,$keys)) ? $this->action : "installed"; - e107::getNav()->admin(ADLAN_6,$action, $var); + e107::getNav()->admin("Menu Manager",$action, $var); // e_admin/_menu(ADLAN_6,$action, $var); } diff --git a/e107_handlers/menumanager_class.php b/e107_handlers/menumanager_class.php index a721d7d1c..98761cf48 100644 --- a/e107_handlers/menumanager_class.php +++ b/e107_handlers/menumanager_class.php @@ -1040,7 +1040,7 @@ class e_menuManager { // onchange=\"urljump(this.options[selectedIndex].value);\" $text = "
"; - $text .= "
Layout: "; + $text .= "
Theme Layout: "; $text .= "