source: extensions/stripped/template/tags.tpl @ 9960

Last change on this file since 9960 was 9960, checked in by Zaphod, 13 years ago

[extension] stripped - version 1.3.0

File size: 1.7 KB
Line 
1{php}
2        global $conf;
3        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
4{/php}
5<div class="titrePage">
6        <div class="browsePath">
7                <h2><a href="{$U_HOME}" title="{'Home'|@translate}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Tags'|@translate}</h2>
8        </div>
9        <ul class="categoryActions">
10                {if $display_mode == 'letters'}
11                        <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}">{'show tag cloud'|@translate}</a></li>
12                {/if}
13                {if $display_mode == 'cloud'}
14                        <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}">{'group by letters'|@translate}</a></li>
15                {/if}
16        </ul>
17</div>
18<div id="content">
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="{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}">{$tag.name}</a></span>
24                                {/foreach}
25                        </div>
26                {/if}
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 photo', '%d photos', $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</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.