Skip to content

Commit

Permalink
feature 2588: template harmonization
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Zaphod committed Apr 20, 2012
1 parent 0c5cdf2 commit 78c8c54
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 47 deletions.
5 changes: 1 addition & 4 deletions themes/default/template/about.tpl
Expand Up @@ -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">&nbsp;</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'}
Expand Down
7 changes: 2 additions & 5 deletions themes/default/template/comments.tpl
Expand Up @@ -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">&nbsp;</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'}
Expand Down
7 changes: 2 additions & 5 deletions themes/default/template/identification.tpl
Expand Up @@ -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">&nbsp;</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'}
Expand Down
7 changes: 2 additions & 5 deletions themes/default/template/nbm.tpl
Expand Up @@ -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">&nbsp;</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'}
Expand Down
5 changes: 1 addition & 4 deletions themes/default/template/notification.tpl
Expand Up @@ -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">&nbsp;</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'}
Expand Down
7 changes: 1 addition & 6 deletions themes/default/template/password.tpl
Expand Up @@ -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">&nbsp;</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'}
Expand Down
7 changes: 2 additions & 5 deletions themes/default/template/profile.tpl
Expand Up @@ -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">&nbsp;</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'}
Expand Down
7 changes: 2 additions & 5 deletions themes/default/template/register.tpl
Expand Up @@ -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">&nbsp;</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'}
Expand Down
5 changes: 1 addition & 4 deletions themes/default/template/search.tpl
Expand Up @@ -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">&nbsp;</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">&nbsp;</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'}
Expand Down
5 changes: 1 addition & 4 deletions themes/default/template/tags.tpl
Expand Up @@ -13,11 +13,8 @@
<span class="pwg-icon pwg-icon-letters">&nbsp;</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">&nbsp;</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'}
Expand Down

0 comments on commit 78c8c54

Please sign in to comment.