diff options
author | plegall <plg@piwigo.org> | 2013-11-29 10:13:05 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2013-11-29 10:13:05 +0000 |
commit | b03d27e6070a2d47ec4d0b937fb09751642cd860 (patch) | |
tree | 3e6214982e148c3933cd57199bf2dee394af7f65 /admin/themes/default/template | |
parent | f0434fe2ca3779b54fc6696dc11688cf6e0229ad (diff) |
feature 2916: add icons for cat_modify, picture_modify and admin top bar
git-svn-id: http://piwigo.org/svn/trunk@25748 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template')
-rw-r--r-- | admin/themes/default/template/cat_modify.tpl | 14 | ||||
-rw-r--r-- | admin/themes/default/template/header.tpl | 10 | ||||
-rw-r--r-- | admin/themes/default/template/picture_modify.tpl | 10 |
3 files changed, 17 insertions, 17 deletions
diff --git a/admin/themes/default/template/cat_modify.tpl b/admin/themes/default/template/cat_modify.tpl index ff411dca7..52632ae92 100644 --- a/admin/themes/default/template/cat_modify.tpl +++ b/admin/themes/default/template/cat_modify.tpl @@ -29,25 +29,25 @@ <td id="albumLinks"> <p>{$INTRO}</p> -<ul style="padding-left:15px;"> +<ul> {if cat_admin_access($CAT_ID)} - <li><a href="{$U_JUMPTO}">{'jump to album'|@translate} →</a></li> + <li><a class="icon-eye" href="{$U_JUMPTO}">{'jump to album'|@translate} →</a></li> {/if} {if isset($U_MANAGE_ELEMENTS) } - <li><a href="{$U_MANAGE_ELEMENTS}">{'manage album photos'|@translate}</a></li> + <li><a class="icon-picture" href="{$U_MANAGE_ELEMENTS}">{'manage album photos'|@translate}</a></li> {/if} - <li style="text-transform:lowercase;"><a href="{$U_ADD_PHOTOS_ALBUM}">{'Add Photos'|translate}</a></li> + <li style="text-transform:lowercase;"><a class="icon-plus-circled" href="{$U_ADD_PHOTOS_ALBUM}">{'Add Photos'|translate}</a></li> - <li><a href="{$U_CHILDREN}">{'manage sub-albums'|@translate}</a></li> + <li><a class="icon-sitemap" href="{$U_CHILDREN}">{'manage sub-albums'|@translate}</a></li> {if isset($U_SYNC) } - <li><a href="{$U_SYNC}">{'Synchronize'|@translate}</a> ({'Directory'|@translate} = {$CAT_FULL_DIR})</li> + <li><a class="icon-exchange" href="{$U_SYNC}">{'Synchronize'|@translate}</a> ({'Directory'|@translate} = {$CAT_FULL_DIR})</li> {/if} {if isset($U_DELETE) } - <li><a href="{$U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'delete album'|@translate}</a></li> + <li><a class="icon-trash" href="{$U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'delete album'|@translate}</a></li> {/if} </ul> diff --git a/admin/themes/default/template/header.tpl b/admin/themes/default/template/header.tpl index 365bcd8de..c95b759ad 100644 --- a/admin/themes/default/template/header.tpl +++ b/admin/themes/default/template/header.tpl @@ -60,11 +60,11 @@ </h1> <div id="headActions"> - {'Hello'|@translate} {$USERNAME} : - <a href="{$U_RETURN}">{'Visit Gallery'|@translate}</a> | - <a href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|@translate}">{'Change Admin Colors'|@translate}</a> | - <a href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|@translate}</a> | - <a href="{$U_LOGOUT}">{'Logout'|@translate}</a> + {'Hello'|@translate} {$USERNAME} | + <a class="icon-eye" href="{$U_RETURN}">{'Visit Gallery'|@translate}</a> | + <a class="icon-brush" href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|@translate}">{'Change Admin Colors'|@translate}</a> | + <a class="icon-help-circled" href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|@translate}</a> | + <a class="icon-logout" href="{$U_LOGOUT}">{'Logout'|@translate}</a> </div> </div> diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl index a19815f1c..9fbd81daf 100644 --- a/admin/themes/default/template/picture_modify.tpl +++ b/admin/themes/default/template/picture_modify.tpl @@ -57,15 +57,15 @@ pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#da <li>{$INTRO.id}</li> </ul> </td> - <td style="vertical-align:top;"> - <ul style="padding-left:15px;margin:0;"> + <td class="photoLinks"> + <ul> {if isset($U_JUMPTO) } - <li><a href="{$U_JUMPTO}">{'jump to photo'|@translate} →</a></li> + <li><a class="icon-eye" href="{$U_JUMPTO}">{'jump to photo'|@translate} →</a></li> {/if} {if !url_is_remote($PATH)} - <li><a href="{$U_SYNC}">{'Synchronize metadata'|@translate}</a></li> + <li><a class="icon-arrows-cw" href="{$U_SYNC}">{'Synchronize metadata'|@translate}</a></li> - <li><a href="{$U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'delete photo'|@translate}</a></li> + <li><a class="icon-trash" href="{$U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'delete photo'|@translate}</a></li> {/if} </ul> </td> |