diff options
Diffstat (limited to '')
-rw-r--r-- | admin.php | 11 | ||||
-rw-r--r-- | admin/template/goto/admin.tpl | 11 | ||||
-rw-r--r-- | admin/template/goto/theme/roma/theme.css | 2 |
3 files changed, 8 insertions, 16 deletions
@@ -93,7 +93,8 @@ $template->assign( 'U_GROUPS'=> $link_start.'group_list', 'U_PERMALINKS'=> $link_start.'permalinks', 'U_RETURN'=> make_index_url(), - 'U_ADMIN'=> PHPWG_ROOT_PATH.'admin.php' + 'U_ADMIN'=> PHPWG_ROOT_PATH.'admin.php', + 'U_PLUGINS'=> $link_start.'plugins_list', ) ); @@ -105,14 +106,6 @@ function UC_name_compare($a, $b) return strcmp(strtolower($a['NAME']), strtolower($b['NAME'])); } usort($plugin_menu_links, 'UC_name_compare'); - -array_unshift($plugin_menu_links, - array( - 'NAME' => l10n('admin'), - 'URL' => $link_start.'plugins_list' - ) - ); - $template->assign('plugin_menu_items', $plugin_menu_links); include(PHPWG_ROOT_PATH.'admin/'.$page['page'].'.php'); diff --git a/admin/template/goto/admin.tpl b/admin/template/goto/admin.tpl index 8a0893c0e..4ee3fd7c5 100644 --- a/admin/template/goto/admin.tpl +++ b/admin/template/goto/admin.tpl @@ -84,12 +84,11 @@ jQuery().ready(function(){ldelim} <li><a href="{$U_HISTORY_STAT}">{'History'|@translate}</a></li> <li><a href="{$U_MAINTENANCE}">{'Maintenance'|@translate}</a></li> <li><a href="{$U_ADVANCED_FEATURE}">{'Advanced_features'|@translate}</a></li> - <li> - {'Plugins'|@translate} - <ul {* TODO conditional class="scroll" *}> -{foreach from=$plugin_menu_items item=menu_item} - <li><a href="{$menu_item.URL}">{$menu_item.NAME}</a></li> -{/foreach} + <li><a href="{$U_PLUGINS}">{'Plugins'|@translate}</a> + <ul class="scroll"> + {foreach from=$plugin_menu_items item=menu_item} + <li><a href="{$menu_item.URL}">{$menu_item.NAME}</a></li> + {/foreach} </ul> </li> </ul> diff --git a/admin/template/goto/theme/roma/theme.css b/admin/template/goto/theme/roma/theme.css index ea2d4cc4e..48a2d9382 100644 --- a/admin/template/goto/theme/roma/theme.css +++ b/admin/template/goto/theme/roma/theme.css @@ -117,7 +117,7 @@ background:transparent url(images/active_tab2.png) no-repeat scroll right 0px; } background:transparent url(images/menuBoxBottom_new.png) no-repeat scroll left bottom; border:0; display:inline; float:left; left:0; margin: 0 0 0 35px; min-height:475px; height:475px; /* should be 477 */ padding:0; width:207px; z-index:99; text-align: left; } -#menubar ul.scroll { overflow-y:auto; height: 148px; margin-right:8px; +#menubar ul.scroll { height:185px; margin-right:10px; overflow-y:auto; /* Only IE family supports colored scrollbar */ scrollbar-face-color: #222; scrollbar-shadow-color: #444; scrollbar-highlight-color: #000; scrollbar-3dlight-color: #292929; scrollbar-darkshadow-color: #333; scrollbar-track-color: #111; |