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

Last change on this file since 13551 was 13551, checked in by plg, 12 years ago

import theme Simple version 2.4

compatibility with piwigo 2.2:

  • update template, language strings + misc things
  • use rating and core.scripts from default theme
  • cleanup useless javascript stuff
  • use new combined_css feature - thanks to P@t
  • replace known_script with combine_script
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($tags)}
15  {if $display_mode == 'cloud'}
16  <div id="fullTagCloud">
17    {foreach from=$tags item=tag}
18                <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}">{$tag.name}</a></span>
19    {/foreach}
20  </div>
21  {/if}
22  {if $display_mode == 'letters'}
23  <table>
24    <tr>
25      <td valign="top">
26      {foreach from=$letters item=letter}
27      <fieldset class="tagLetter">
28        <legend class="tagLetterLegend">{$letter.TITLE}</legend>
29        <table class="tagLetterContent">
30          {foreach from=$letter.tags item=tag}
31          <tr class="tagLine">
32            <td><a href="{$tag.URL}">{$tag.name}</a></td>
33        <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
34          </tr>
35          {/foreach}
36        </table>
37      </fieldset>
38      {if isset($letter.CHANGE_COLUMN) }
39      </td>
40      <td valign="top">
41      {/if}
42      {/foreach}
43      </td>
44    </tr>
45  </table>
46  {/if}
47{/if}
48</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.