source: extensions/Slim/template/tags.tpl @ 28556

Last change on this file since 28556 was 25997, checked in by Miklfe, 10 years ago
File size: 2.0 KB
Line 
1{if ($Slim.style_slim)==1}
2{php}
3header("Refresh: 2; index.php" );
4{/php}
5
6<div>
7<h3>{'You are not authorized to access the requested page'|@translate}</h3>
8</div>
9{else}
10
11{$MENUBAR}
12<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
13<div id="infoBlock">
14<div class="titrePage">
15        <ul class="categoryActions">
16{if $display_mode == 'letters'}
17                <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" class="pwg-state-default pwg-button">
18                        <span class="pwg-icon pwg-icon-cloud">&nbsp;</span><span class="pwg-button-text">{'cloud'|@translate}</span>
19                </a></li>
20{/if}
21{if $display_mode == 'cloud'}
22                <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
23                        <span class="pwg-icon pwg-icon-letters">&nbsp;</span><span class="pwg-button-text">{'letters'|@translate}</span>
24                </a></li>
25{/if}
26        </ul>
27        <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Tags'|@translate}</h2>
28</div>
29</div>
30{include file='infos_errors.tpl'}
31
32{if isset($tags)}
33        {if $display_mode == 'cloud'}
34        <div id="fullTagCloud">
35                {foreach from=$tags item=tag}
36                <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}">{$tag.name}</a></span>
37                {/foreach}
38        </div>
39        {/if}
40
41  {if $display_mode == 'letters'}
42  <table>
43    <tr>
44      <td valign="top">
45    {foreach from=$letters item=letter}
46  <fieldset class="tagLetter">
47    <div class="fielTit"><h2>{$letter.TITLE}</div></h2>
48    <table class="tagLetterContent">
49      {foreach from=$letter.tags item=tag}
50      <tr class="tagLine">
51        <td><a href="{$tag.URL}" title="{$tag.name}">{$tag.name}</a></td>
52        <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
53      </tr>
54      {/foreach}
55    </table>
56  </fieldset>
57      {if isset($letter.CHANGE_COLUMN) }
58      </td>
59      <td valign="top">
60      {/if}
61    {/foreach}
62      </td>
63    </tr>
64  </table>
65  {/if}
66{/if}
67
68</div> <!-- content -->
69{/if}
Note: See TracBrowser for help on using the repository browser.