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

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