source: extensions/floOS/2.0.x/tags.tpl @ 7690

Last change on this file since 7690 was 5714, checked in by flop25, 14 years ago

moving the old template structure to a specific folder

File size: 1.8 KB
Line 
1{* $Id: tags.tpl 2409 2008-07-01 02:09:21Z rvelices $ *}
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}"><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}"><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><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/tag.png"/>{'Tags'|@translate}</h2>
17  </div>
18
19{if isset($tags)}
20  {if $display_mode == 'cloud'}
21  <ul id="fullTagCloud">
22    {foreach from=$tags item=tag}
23    <li><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></li>
24    {/foreach}
25  </ul>
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 $letter.CHANGE_COLUMN|@default:false}
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.