source: extensions/Versa/template/tags.tpl

Last change on this file was 31943, checked in by lexming, 5 years ago

Fix script path conflicts

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1<div id="mainBox">
2{if isset($MENUBAR)}{$MENUBAR}{/if}
3{combine_script id='menu.switch' load='footer' require='jquery' path='themes/Versa/js/menuswitch.js'}
4
5<div id="contentBox">
6
7{if isset($errors) or isset($infos)}
8<div class="content messages">
9{include file='infos_errors.tpl'}
10</div>
11{/if}
12
13<div class="content">
14
15<div class="titrePage">
16        <ul class="categoryActions">
17{if $display_mode == 'letters'}
18                <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" class="pwg-state-default pwg-button">
19                        <span class="pwg-icon pwg-icon-cloud"></span><span class="pwg-button-text">{'cloud'|@translate}</span>
20                </a></li>
21{/if}
22{if $display_mode == 'cloud'}
23                <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
24                        <span class="pwg-icon pwg-icon-letters"></span><span class="pwg-button-text">{'letters'|@translate}</span>
25                </a></li>
26{/if}
27        </ul>
28        <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Tags'|@translate}</h2>
29</div>
30
31{if $display_mode == 'cloud' and isset($tags)}
32<div id="fullTagCloud">
33        {foreach from=$tags item=tag}
34        <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter|@translate_dec:'%d photo':'%d photos'}">{$tag.name}</a></span>
35        {/foreach}
36</div>
37{/if}
38
39{if $display_mode == 'letters' and isset($letters)}
40<div id="tagLetterList">
41        {foreach from=$letters item=letter}
42        <dl class="tagLetter">
43                <dt class="tagLetterLegend">{$letter.TITLE}</dt>
44                <dd class="tagLetterContent"><ul>
45                {foreach from=$letter.tags item=tag}
46                <li class="tagLine">
47                        <a href="{$tag.URL}" title="{$tag.name}">{$tag.name}</a>
48                        <span class="nbEntries">{$tag.counter|@translate_dec:'%d photo':'%d photos'}</span>
49                </li>
50                {/foreach}
51                </ul></dd>
52        </dl>
53        {/foreach}
54</div>
55{/if}
56
57</div> <!-- content -->
58</div> <!-- contentBox -->
59</div> <!-- mainBox -->
Note: See TracBrowser for help on using the repository browser.