source: trunk/themes/default/template/tags.tpl @ 14240

Last change on this file since 14240 was 14240, checked in by Zaphod, 12 years ago

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.

  • Property svn:eol-style set to LF
File size: 1.8 KB
Line 
1{if isset($MENUBAR)}{$MENUBAR}{/if}
2<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
3
4<div class="titrePage">
5        <ul class="categoryActions">
6{if $display_mode == 'letters'}
7                <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" class="pwg-state-default pwg-button">
8                        <span class="pwg-icon pwg-icon-cloud">&nbsp;</span><span class="pwg-button-text">{'cloud'|@translate}</span>
9                </a></li>
10{/if}
11{if $display_mode == 'cloud'}
12                <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
13                        <span class="pwg-icon pwg-icon-letters">&nbsp;</span><span class="pwg-button-text">{'letters'|@translate}</span>
14                </a></li>
15{/if}
16        </ul>
17        <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Tags'|@translate}</h2>
18</div>
19
20{include file='infos_errors.tpl'}
21
22{if isset($tags)}
23        {if $display_mode == 'cloud'}
24        <div id="fullTagCloud">
25                {foreach from=$tags item=tag}
26                <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}">{$tag.name}</a></span>
27                {/foreach}
28        </div>
29        {/if}
30
31  {if $display_mode == 'letters'}
32  <table>
33    <tr>
34      <td valign="top">
35    {foreach from=$letters item=letter}
36  <fieldset class="tagLetter">
37    <legend class="tagLetterLegend">{$letter.TITLE}</legend>
38    <table class="tagLetterContent">
39      {foreach from=$letter.tags item=tag}
40      <tr class="tagLine">
41        <td><a href="{$tag.URL}" title="{$tag.name}">{$tag.name}</a></td>
42        <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
43      </tr>
44      {/foreach}
45    </table>
46  </fieldset>
47      {if isset($letter.CHANGE_COLUMN) }
48      </td>
49      <td valign="top">
50      {/if}
51    {/foreach}
52      </td>
53    </tr>
54  </table>
55  {/if}
56{/if}
57
58</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.