source: extensions/simple_themes/simple/template/tags.tpl @ 25487

Last change on this file since 25487 was 25487, checked in by plg, 10 years ago

bug fixed: tags by letter where not visible

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