source: extensions/gally/gally-default/template/tags.tpl @ 22090

Last change on this file since 22090 was 16016, checked in by grum, 12 years ago

feature:2664- compatibility with Piwigo 2.4

  • Property svn:executable set to *
File size: 2.0 KB
Line 
1<div id="content" class="content">
2
3  <div class="titrePage" id='titrePageID'>
4
5    {if isset($MENUBAR)}
6      {if #menuAnimated# == "noswitch"}
7        {$MENUBAR}
8      {else}
9      <div id="menuswitcher">
10        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
11        </a>
12      </div>
13      {/if}
14    {/if}
15
16
17    <ul class="categoryActions">
18{if $display_mode == 'letters'}
19      <li><a href="{$U_CLOUD}" title="{'cloud'|@translate}" id="icon_cloud" class="button"></a></li>
20{/if}
21
22{if $display_mode == 'cloud'}
23      <li><a href="{$U_LETTERS}" title="{'letters'|@translate}" id="icon_tag_letters" class="button"></a></li>
24{/if}
25
26      <li><a id="icon_home" class="button" href="{$U_HOME}" title="{'Home'|@translate}"></a></li>
27    </ul>
28    <h2>{'Tags'|@translate}</h2>
29  </div>
30
31{include file='infos_errors.tpl'}
32
33  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
34    {$MENUBAR}
35  {/if}
36
37{if isset($tags)}
38  {if $display_mode == 'cloud'}
39  <div id="fullTagCloud">
40    {foreach from=$tags item=tag}
41    <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}<br>{'display photos linked to this tag'|@translate}">{$tag.name}</a></span>
42    {/foreach}
43  </div>
44  {/if}
45
46  {if $display_mode == 'letters'}
47  <table class="tagLetters">
48    <tr>
49      <td valign="top">
50    {foreach from=$letters item=letter}
51  <fieldset class="tagLetter">
52    <legend class="tagLetterLegend">{$letter.TITLE}</legend>
53    <table class="tagLetterContent">
54      {foreach from=$letter.tags item=tag}
55      <tr class="tagLine">
56        <td><a href="{$tag.URL}" title="{'display photos linked to this tag'|@translate}" class="sTipOnTop">{$tag.name}</a></td>
57        <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
58      </tr>
59      {/foreach}
60    </table>
61  </fieldset>
62      {if isset($letter.CHANGE_COLUMN) }
63      </td>
64      <td valign="top">
65      {/if}
66    {/foreach}
67      </td>
68    </tr>
69  </table>
70  {/if}
71{/if}
72
73</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.