1 | {if isset($MENUBAR)}{$MENUBAR}{/if} |
---|
2 | <div id="content" class="content"> |
---|
3 | <div class="titrePage"> |
---|
4 | <ul class="categoryActions"> |
---|
5 | {if $display_mode == 'letters'} |
---|
6 | <li>* |
---|
7 | <a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" class="pwg-state-default pwg-button"> |
---|
8 | <span class="pwg-icon pwg-icon-cloud"> </span><span class="pwg-button-text">{'cloud'|@translate}</span> |
---|
9 | </a> |
---|
10 | </li> |
---|
11 | {/if} |
---|
12 | |
---|
13 | {if $display_mode != 'cumulus'} |
---|
14 | <li> |
---|
15 | <a href="{$PWG_CUMULUS_HREF}" title="{'cumulus cloud'|@translate}" rel="nofollow"> |
---|
16 | <img src="{$PWG_CUMULUS_IMGS}/cumulus3d.png" class="button" alt="{'cumulus cloud'|@translate}"> |
---|
17 | </a> |
---|
18 | </li> |
---|
19 | {/if} |
---|
20 | |
---|
21 | {if $display_mode == 'cloud'} |
---|
22 | <li> |
---|
23 | <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> |
---|
26 | </li> |
---|
27 | {/if} |
---|
28 | <li> |
---|
29 | <a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> |
---|
30 | <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> |
---|
31 | </a> |
---|
32 | </li> |
---|
33 | </ul> |
---|
34 | <h2>{'Tags'|@translate}</h2> |
---|
35 | </div> |
---|
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)}">{$tag.name}</a></span> |
---|
42 | {/foreach} |
---|
43 | </div> |
---|
44 | {/if} |
---|
45 | |
---|
46 | {if $display_mode == 'cumulus'} |
---|
47 | <div id="flashcontent">This will be shown to users with no Flash or Javascript.</div> |
---|
48 | |
---|
49 | <script type="text/javascript"> |
---|
50 | var so = new SWFObject("{$PWG_CUMULUS_SWF}/tagcloud.swf", "tagcloud", "{$PWG_CUMULUS_WIDTH}", "{$PWG_CUMULUS_HEIGHT}", "7", "#FFFFFF"); |
---|
51 | so.addParam("wmode", "transparent"); |
---|
52 | so.addVariable("tcolor", "{$PWG_CUMULUS_COLOR1}"); |
---|
53 | so.addVariable("tcolor2", "{$PWG_CUMULUS_COLOR2}"); |
---|
54 | so.addVariable("hicolor", "{$PWG_CUMULUS_HICOLOR}"); |
---|
55 | so.addVariable("mode", "tags"); |
---|
56 | so.addVariable("distr", "true"); |
---|
57 | so.addVariable("tspeed", "100"); |
---|
58 | so.addVariable("tagcloud", |
---|
59 | "<tags>{foreach from=$tags item=tag}<a href='{$tag.URL}' style='{$tag.size}pt'>{$tag.display_name}</a>{/foreach}</tags>"); |
---|
60 | so.write("flashcontent"); |
---|
61 | </script> |
---|
62 | {/if} |
---|
63 | |
---|
64 | {if $display_mode == 'letters'} |
---|
65 | <table> |
---|
66 | <tr> |
---|
67 | <td valign="top"> |
---|
68 | {foreach from=$letters item=letter} |
---|
69 | <fieldset class="tagLetter"> |
---|
70 | <legend class="tagLetterLegend">{$letter.TITLE}</legend> |
---|
71 | <table class="tagLetterContent"> |
---|
72 | {foreach from=$letter.tags item=tag} |
---|
73 | <tr class="tagLine"> |
---|
74 | <td><a href="{$tag.URL}">{$tag.name}</a></td> |
---|
75 | <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td> |
---|
76 | </tr> |
---|
77 | {/foreach} |
---|
78 | </table> |
---|
79 | </fieldset> |
---|
80 | {if isset($letter.CHANGE_COLUMN) } |
---|
81 | </td> |
---|
82 | <td valign="top"> |
---|
83 | {/if} |
---|
84 | {/foreach} |
---|
85 | </td> |
---|
86 | </tr> |
---|
87 | </table> |
---|
88 | {/if} |
---|
89 | {/if} |
---|
90 | </div> <!-- content --> |
---|