diff options
author | plegall <plg@piwigo.org> | 2013-06-19 23:10:00 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2013-06-19 23:10:00 +0000 |
commit | 9843eb362dd7d1b9d762871777ef76fa84e8202a (patch) | |
tree | cd08505bfdad3e08c81c7401c02a03ae431b5fb5 /admin/include/add_core_tabs.inc.php | |
parent | 1d05038e96d6275d77621b612fb1edacb56c81e9 (diff) |
feature 2916 (admin icons):
* all level 2 admin menus have an icon
* bigger right-margin (0.5em instead of 0.2em) on #menubar dd icons
* many tabs get an icon (list plugins/themes/languages, update, add; add photos, history)
Specific changes on "roma" (dark admin theme)
* menu icons in grey #666
* no text-decoration on icons
git-svn-id: http://piwigo.org/svn/trunk@23382 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/include/add_core_tabs.inc.php | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/admin/include/add_core_tabs.inc.php b/admin/include/add_core_tabs.inc.php index b4dcdf775..fcb87ca82 100644 --- a/admin/include/add_core_tabs.inc.php +++ b/admin/include/add_core_tabs.inc.php @@ -29,7 +29,7 @@ function add_core_tabs($sheets, $tab_id) { case 'album': global $admin_album_base_url; - $sheets['properties'] = array('caption' => l10n('Properties'), 'url' => $admin_album_base_url.'-properties'); + $sheets['properties'] = array('caption' => '<span class="icon-pencil"></span>'.l10n('Properties'), 'url' => $admin_album_base_url.'-properties'); $sheets['sort_order'] = array('caption' => '<span class="icon-shuffle"></span>'.l10n('Manage photo ranks'), 'url' => $admin_album_base_url.'-sort_order'); $sheets['permissions'] = array('caption' => '<span class="icon-lock"></span>'.l10n('Permissions'), 'url' => $admin_album_base_url.'-permissions'); $sheets['notification'] = array('caption' => '<span class="icon-mail-alt"></span>'.l10n('Notification'), 'url' => $admin_album_base_url.'-notification'); @@ -37,8 +37,8 @@ function add_core_tabs($sheets, $tab_id) case 'albums': global $my_base_url; - $sheets['list'] = array('caption' => l10n('List'), 'url' => $my_base_url.'cat_list'); - $sheets['move'] = array('caption' => l10n('Move'), 'url' => $my_base_url.'cat_move'); + $sheets['list'] = array('caption' => '<span class="icon-menu"></span>'.l10n('List'), 'url' => $my_base_url.'cat_list'); + $sheets['move'] = array('caption' => '<span class="icon-move"></span>'.l10n('Move'), 'url' => $my_base_url.'cat_move'); $sheets['permalinks'] = array('caption' => '<span class="icon-link"></span>'.l10n('Permalinks'), 'url' => $my_base_url.'permalinks'); break; @@ -83,15 +83,15 @@ function add_core_tabs($sheets, $tab_id) case 'history': global $link_start; - $sheets['stats'] = array('caption' => l10n('Statistics'), 'url' => $link_start.'stats'); - $sheets['history'] = array('caption' => l10n('Search'), 'url' => $link_start.'history'); + $sheets['stats'] = array('caption' => '<span class="icon-signal"></span>'.l10n('Statistics'), 'url' => $link_start.'stats'); + $sheets['history'] = array('caption' => '<span class="icon-search"></span>'.l10n('Search'), 'url' => $link_start.'history'); break; case 'languages': global $my_base_url; - $sheets['installed'] = array('caption' => l10n('Installed Languages'), 'url' => $my_base_url.'&tab=installed'); - $sheets['update'] = array('caption' => l10n('Check for updates'), 'url' => $my_base_url.'&tab=update'); - $sheets['new'] = array('caption' => l10n('Add New Language'), 'url' => $my_base_url.'&tab=new'); + $sheets['installed'] = array('caption' => '<span class="icon-language"></span>'.l10n('Installed Languages'), 'url' => $my_base_url.'&tab=installed'); + $sheets['update'] = array('caption' => '<span class="icon-arrows-cw"></span>'.l10n('Check for updates'), 'url' => $my_base_url.'&tab=update'); + $sheets['new'] = array('caption' => '<span class="icon-plus-circled"></span>'.l10n('Add New Language'), 'url' => $my_base_url.'&tab=new'); break; case 'nbm': @@ -109,17 +109,17 @@ function add_core_tabs($sheets, $tab_id) case 'photos_add': global $conf; - $sheets['direct'] = array('caption' => l10n('Web Form'), 'url' => PHOTOS_ADD_BASE_URL.'&section=direct'); - $sheets['applications'] = array('caption' => l10n('Applications'), 'url' => PHOTOS_ADD_BASE_URL.'&section=applications'); + $sheets['direct'] = array('caption' => '<span class="icon-upload"></span>'.l10n('Web Form'), 'url' => PHOTOS_ADD_BASE_URL.'&section=direct'); + $sheets['applications'] = array('caption' => '<span class="icon-network"></span>'.l10n('Applications'), 'url' => PHOTOS_ADD_BASE_URL.'&section=applications'); if ($conf['enable_synchronization']) - $sheets['ftp'] = array('caption' => l10n('FTP + Synchronization'), 'url' => PHOTOS_ADD_BASE_URL.'&section=ftp'); + $sheets['ftp'] = array('caption' => '<span class="icon-exchange"></span>'.l10n('FTP + Synchronization'), 'url' => PHOTOS_ADD_BASE_URL.'&section=ftp'); break; case 'plugins': global $my_base_url; - $sheets['installed'] = array('caption' => l10n('Plugin list'), 'url' => $my_base_url.'&tab=installed'); - $sheets['update'] = array('caption' => l10n('Check for updates'), 'url' => $my_base_url.'&tab=update'); - $sheets['new'] = array('caption' => l10n('Other plugins'), 'url' => $my_base_url.'&tab=new'); + $sheets['installed'] = array('caption' => '<span class="icon-equalizer"></span>'.l10n('Plugin list'), 'url' => $my_base_url.'&tab=installed'); + $sheets['update'] = array('caption' => '<span class="icon-arrows-cw"></span>'.l10n('Check for updates'), 'url' => $my_base_url.'&tab=update'); + $sheets['new'] = array('caption' => '<span class="icon-plus-circled"></span>'.l10n('Other plugins'), 'url' => $my_base_url.'&tab=new'); break; case 'rating': @@ -129,9 +129,9 @@ function add_core_tabs($sheets, $tab_id) case 'themes': global $my_base_url; - $sheets['installed'] = array('caption' => l10n('Installed Themes'), 'url' => $my_base_url.'&tab=installed'); - $sheets['update'] = array('caption' => l10n('Check for updates'), 'url' => $my_base_url.'&tab=update'); - $sheets['new'] = array('caption' => l10n('Add New Theme'), 'url' => $my_base_url.'&tab=new'); + $sheets['installed'] = array('caption' => '<span class="icon-brush"></span>'.l10n('Installed Themes'), 'url' => $my_base_url.'&tab=installed'); + $sheets['update'] = array('caption' => '<span class="icon-arrows-cw"></span>'.l10n('Check for updates'), 'url' => $my_base_url.'&tab=update'); + $sheets['new'] = array('caption' => '<span class="icon-plus-circled"></span>'.l10n('Add New Theme'), 'url' => $my_base_url.'&tab=new'); break; case 'updates': |