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

Last change on this file since 6668 was 6668, checked in by rvelices, 14 years ago
  • removed function get_extra_fields and its usage (unnecessary + perf issue when retrieving many image ids in a section)
  • 2 fixes recent feed.php commit
    • month names were decalated by one
    • strptime function is not implemented under Windows in php
  • added somme missing $ROOT_URL in templates
  • Property svn:eol-style set to LF
File size: 1.7 KB
Line 
1<div id="content" class="content">
2
3        <div class="titrePage">
4                <ul class="categoryActions">
5                {if $display_mode == 'letters'}
6                        <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li>
7                {/if}
8
9                {if $display_mode == 'cloud'}
10                        <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li>
11                {/if}
12
13                        <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li>
14                </ul>
15                <h2>{'Tags'|@translate}</h2>
16  </div>
17
18{if isset($tags)}
19        {if $display_mode == 'cloud'}
20        <div id="fullTagCloud">
21                {foreach from=$tags item=tag}
22                <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d image', '%d images', $tag.counter)}">{$tag.name}</a></span>
23                {/foreach}
24        </div>
25        {/if}
26
27  {if $display_mode == 'letters'}
28  <table>
29    <tr>
30      <td valign="top">
31    {foreach from=$letters item=letter}
32  <fieldset class="tagLetter">
33    <legend class="tagLetterLegend">{$letter.TITLE}</legend>
34    <table class="tagLetterContent">
35      {foreach from=$letter.tags item=tag}
36      <tr class="tagLine">
37        <td><a href="{$tag.URL}">{$tag.name}</a></td>
38        <td class="nbEntries">{$pwg->l10n_dec('%d image', '%d images', $tag.counter)}</td>
39      </tr>
40      {/foreach}
41    </table>
42  </fieldset>
43      {if isset($letter.CHANGE_COLUMN) }
44      </td>
45      <td valign="top">
46      {/if}
47    {/foreach}
48      </td>
49    </tr>
50  </table>
51  {/if}
52{/if}
53
54</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.