source: trunk/template/yoga/tags.tpl @ 3282

Last change on this file since 3282 was 3282, checked in by plg, 15 years ago

change: according to topic:15067, svn:keywords property was removed

  • Property svn:eol-style set to LF
File size: 1.7 KB
Line 
1{* $Id: /piwigo/trunk/template/yoga/tags.tpl 7025 2009-03-09T19:41:45.898712Z nikrou  $ *}
2<div id="content" class="content">
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}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li>
8                {/if}
9
10                {if $display_mode == 'cloud'}
11                        <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li>
12                {/if}
13
14                        <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>
15                </ul>
16                <h2>{'Tags'|@translate}</h2>
17  </div>
18
19{if isset($tags)}
20        {if $display_mode == 'cloud'}
21        <div id="fullTagCloud">
22                {foreach from=$tags item=tag}
23                <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></span>
24                {/foreach}
25        </div>
26        {/if}
27
28  {if $display_mode == 'letters'}
29  <table>
30    <tr>
31      <td valign="top">
32    {foreach from=$letters item=letter}
33  <fieldset class="tagLetter">
34    <legend class="tagLetterLegend">{$letter.TITLE}</legend>
35    <table class="tagLetterContent">
36      {foreach from=$letter.tags item=tag}
37      <tr class="tagLine">
38        <td><a href="{$tag.URL}">{$tag.name}</a></td>
39        <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}</td>
40      </tr>
41      {/foreach}
42    </table>
43  </fieldset>
44      {if isset($letter.CHANGE_COLUMN) }
45      </td>
46      <td valign="top">
47      {/if}
48    {/foreach}
49      </td>
50    </tr>
51  </table>
52  {/if}
53{/if}
54
55</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.