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

Last change on this file since 13556 was 13556, checked in by plg, 9 years ago

import theme Simple version 2.5.1

  • refactor code for #titrePage and add the link to switch the menu
  • fixes for comments page
  • fixes for pages where the $MENUBAR is present
File size: 1.6 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{if isset($tags)}
16  {if $display_mode == 'cloud'}
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  {if $display_mode == 'letters'}
24  <table>
25    <tr>
26      <td valign="top">
27      {foreach from=$letters item=letter}
28      <fieldset class="tagLetter">
29        <legend class="tagLetterLegend">{$letter.TITLE}</legend>
30        <table class="tagLetterContent">
31          {foreach from=$letter.tags item=tag}
32          <tr class="tagLine">
33            <td><a href="{$tag.URL}">{$tag.name}</a></td>
34        <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
35          </tr>
36          {/foreach}
37        </table>
38      </fieldset>
39      {if isset($letter.CHANGE_COLUMN) }
40      </td>
41      <td valign="top">
42      {/if}
43      {/foreach}
44      </td>
45    </tr>
46  </table>
47  {/if}
48{/if}
49<div style="clear: both;"></div>
50</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.