Line | |
---|
1 | {if $display_mode == 'cloud'} |
---|
2 | <div id="fullTagCloud"> |
---|
3 | {foreach from=$tags item=tag} |
---|
4 | <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></span> |
---|
5 | {/foreach} |
---|
6 | </div> |
---|
7 | |
---|
8 | {elseif $display_mode == 'letters'} |
---|
9 | <table> |
---|
10 | <tr> |
---|
11 | <td valign="top"> |
---|
12 | {foreach from=$letters item=letter} |
---|
13 | <fieldset class="tagLetter"> |
---|
14 | <legend class="tagLetterLegend">{$letter.TITLE}</legend> |
---|
15 | <table class="tagLetterContent"> |
---|
16 | {foreach from=$letter.tags item=tag} |
---|
17 | <tr class="tagLine"> |
---|
18 | <td><a href="{$tag.URL}">{$tag.name}</a></td> |
---|
19 | <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}</td> |
---|
20 | </tr> |
---|
21 | {/foreach} |
---|
22 | </table> |
---|
23 | </fieldset> |
---|
24 | {if isset($letter.CHANGE_COLUMN) } |
---|
25 | </td> |
---|
26 | <td valign="top"> |
---|
27 | {/if} |
---|
28 | {/foreach} |
---|
29 | </td> |
---|
30 | </tr> |
---|
31 | </table> |
---|
32 | |
---|
33 | {elseif $display_mode == 'cumulus'} |
---|
34 | <div style="text-align:center;"> |
---|
35 | <object data="{$PWG_CUMULUS_SWF}/tagcloud.swf" width="{$PWG_CUMULUS_WIDTH}" height="{$PWG_CUMULUS_HEIGHT}" type="application/x-shockwave-flash"> |
---|
36 | <param name="movie" value="{$PWG_CUMULUS_SWF}/tagcloud.swf"> |
---|
37 | <param name="allowScriptAccess" value="sameDomain"> |
---|
38 | <param name="quality" value="high"> |
---|
39 | {if ($PWG_CUMULUS_MODE_TRANSPARENT)} |
---|
40 | <param name="wmode" value="transparent"> |
---|
41 | {else} |
---|
42 | <param name="bgcolor" value="#{$PWG_CUMULUS_BGCOLOR}"> |
---|
43 | {/if} |
---|
44 | <param name="flashvars" value="mode=tags&tcolor={$PWG_CUMULUS_COLOR1}&tcolor2={$PWG_CUMULUS_COLOR2}&hicolor={$PWG_CUMULUS_HICOLOR}&tspeed=100&distr=true&tagcloud=<tags>{foreach from=$tags item=tag}<a href='{$tag.URL}' style='{$tag.size}pt'>{$tag.display_name}</a>{/foreach}</tags>"> |
---|
45 | </object> |
---|
46 | </div> |
---|
47 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.