diff options
author | Zaphod <zaphod@piwigo.org> | 2012-04-20 20:31:38 +0000 |
---|---|---|
committer | Zaphod <zaphod@piwigo.org> | 2012-04-20 20:31:38 +0000 |
commit | 78c8c54bf9b99b8831d64e7e47d68c1a259a5881 (patch) | |
tree | 3b74140a0d5b9ca46db8759f1916568327c5f1d7 /themes/default | |
parent | 0c5cdf28e80a3f7c05beef06628a47fd70d59e9f (diff) |
feature 2588: template harmonization
All templates (tags, comments etc...) have now a "Home" link at the beginning of the page title (like index.tpl), instead of a home icon.
git-svn-id: http://piwigo.org/svn/trunk@14240 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/about.tpl | 5 | ||||
-rw-r--r-- | themes/default/template/comments.tpl | 7 | ||||
-rw-r--r-- | themes/default/template/identification.tpl | 7 | ||||
-rw-r--r-- | themes/default/template/nbm.tpl | 7 | ||||
-rw-r--r-- | themes/default/template/notification.tpl | 5 | ||||
-rw-r--r-- | themes/default/template/password.tpl | 7 | ||||
-rw-r--r-- | themes/default/template/profile.tpl | 7 | ||||
-rw-r--r-- | themes/default/template/register.tpl | 7 | ||||
-rw-r--r-- | themes/default/template/search.tpl | 5 | ||||
-rw-r--r-- | themes/default/template/tags.tpl | 5 |
10 files changed, 15 insertions, 47 deletions
diff --git a/themes/default/template/about.tpl b/themes/default/template/about.tpl index f95713c13..f47c940e4 100644 --- a/themes/default/template/about.tpl +++ b/themes/default/template/about.tpl @@ -2,11 +2,8 @@ <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a></li> </ul> - <h2>{'About'|@translate}</h2> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'About'|@translate}</h2> </div> {include file='infos_errors.tpl'} diff --git a/themes/default/template/comments.tpl b/themes/default/template/comments.tpl index 92c1cc2db..0ffef1fa9 100644 --- a/themes/default/template/comments.tpl +++ b/themes/default/template/comments.tpl @@ -3,11 +3,8 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a></li> - </ul> - <h2>{'User comments'|@translate}</h2> + </ul> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}</h2> </div> {include file='infos_errors.tpl'} diff --git a/themes/default/template/identification.tpl b/themes/default/template/identification.tpl index 7f6d53091..d17e06fa9 100644 --- a/themes/default/template/identification.tpl +++ b/themes/default/template/identification.tpl @@ -3,11 +3,8 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a></li> - </ul> - <h2>{'Identification'|@translate}</h2> + </ul> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Identification'|@translate}</h2> </div> {include file='infos_errors.tpl'} diff --git a/themes/default/template/nbm.tpl b/themes/default/template/nbm.tpl index c586e9e46..312357b1a 100644 --- a/themes/default/template/nbm.tpl +++ b/themes/default/template/nbm.tpl @@ -2,11 +2,8 @@ <div id="content" class="content"> <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a></li> - </ul> - <h2>{'Notification'|@translate}</h2> + </ul> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Notification'|@translate}</h2> </div> {include file='infos_errors.tpl'} diff --git a/themes/default/template/notification.tpl b/themes/default/template/notification.tpl index 50cbd69ff..217f7ee15 100644 --- a/themes/default/template/notification.tpl +++ b/themes/default/template/notification.tpl @@ -8,11 +8,8 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a></li> </ul> - <h2>{'Notification'|@translate}</h2> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Notification'|@translate}</h2> </div> {include file='infos_errors.tpl'} diff --git a/themes/default/template/password.tpl b/themes/default/template/password.tpl index eb78122e6..260830cdf 100644 --- a/themes/default/template/password.tpl +++ b/themes/default/template/password.tpl @@ -2,14 +2,9 @@ <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> <div class="titrePage"> <ul class="categoryActions"> - <li> - <a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a> - </li> </ul> - <h2>{$title}</h2> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{$title}</h2> </div> {include file='infos_errors.tpl'} diff --git a/themes/default/template/profile.tpl b/themes/default/template/profile.tpl index d1d26a126..8c004f718 100644 --- a/themes/default/template/profile.tpl +++ b/themes/default/template/profile.tpl @@ -3,11 +3,8 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a></li> - </ul> - <h2>{'Profile'|@translate}</h2> + </ul> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Profile'|@translate}</h2> </div> {include file='infos_errors.tpl'} diff --git a/themes/default/template/register.tpl b/themes/default/template/register.tpl index e1d25a2ad..09ed0d577 100644 --- a/themes/default/template/register.tpl +++ b/themes/default/template/register.tpl @@ -5,11 +5,8 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a></li> - </ul> - <h2>{'Registration'|@translate}</h2> + </ul> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Registration'|@translate}</h2> </div> {include file='infos_errors.tpl'} diff --git a/themes/default/template/search.tpl b/themes/default/template/search.tpl index 9c4e6450e..c27b33202 100644 --- a/themes/default/template/search.tpl +++ b/themes/default/template/search.tpl @@ -23,11 +23,8 @@ <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" class="pwg-state-default pwg-button"> <span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">{'Help'|@translate}</span> </a></li> - <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a></li> </ul> - <h2>{'Search'|@translate}</h2> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Search'|@translate}</h2> </div> {include file='infos_errors.tpl'} diff --git a/themes/default/template/tags.tpl b/themes/default/template/tags.tpl index ca563e80f..2e47a3f83 100644 --- a/themes/default/template/tags.tpl +++ b/themes/default/template/tags.tpl @@ -13,11 +13,8 @@ <span class="pwg-icon pwg-icon-letters"> </span><span class="pwg-button-text">{'letters'|@translate}</span> </a></li> {/if} - <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> - <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> - </a></li> </ul> - <h2>{'Tags'|@translate}</h2> + <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Tags'|@translate}</h2> </div> {include file='infos_errors.tpl'} |