Last change
on this file since 2387 was
2362,
checked in by plg, 16 years ago
|
feature 828 added: display tags by letters. Users can switch from "cloud" to
"letters" with a button in the top bar.
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.6 KB
|
Line | |
---|
1 | {* $Id: tags.tpl 2362 2008-05-28 22:39:06Z plg $ *} |
---|
2 | <div id="content" class="content"> |
---|
3 | |
---|
4 | <div class="titrePage"> |
---|
5 | <ul class="categoryActions"> |
---|
6 | {if $display_mode == 'letters'} |
---|
7 | <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"/></a></li> |
---|
8 | {/if} |
---|
9 | |
---|
10 | {if $display_mode == 'cloud'} |
---|
11 | <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"/></a></li> |
---|
12 | {/if} |
---|
13 | |
---|
14 | <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> |
---|
15 | </ul> |
---|
16 | <h2>{'Tags'|@translate}</h2> |
---|
17 | </div> |
---|
18 | |
---|
19 | {if isset($tags)} |
---|
20 | {if $display_mode == 'cloud'} |
---|
21 | <ul id="fullTagCloud"> |
---|
22 | {foreach from=$tags item=tag} |
---|
23 | <li><a href="{$tag.URL}" class="{$tag.CLASS}" title="{$tag.TITLE}">{$tag.NAME}</a></li> |
---|
24 | {/foreach} |
---|
25 | </ul> |
---|
26 | {/if} |
---|
27 | |
---|
28 | {if $display_mode == 'letters'} |
---|
29 | <table> |
---|
30 | <tr> |
---|
31 | <td valign="top"> |
---|
32 | {foreach from=$letters item=letter} |
---|
33 | <fieldset class="tagLetter"> |
---|
34 | <legend class="tagLetterLegend">{$letter.TITLE}</legend> |
---|
35 | <table class="tagLetterContent"> |
---|
36 | {foreach from=$letter.tags item=tag} |
---|
37 | <tr class="tagLine"> |
---|
38 | <td><a href="{$tag.URL}">{$tag.NAME}</a></td> |
---|
39 | <td class="nbEntries"><strong>{$tag.COUNTER}</strong> {'photos'|@translate}</td> |
---|
40 | </tr> |
---|
41 | {/foreach} |
---|
42 | </table> |
---|
43 | </fieldset> |
---|
44 | {if $letter.CHANGE_COLUMN} |
---|
45 | </td> |
---|
46 | <td valign="top"> |
---|
47 | {/if} |
---|
48 | {/foreach} |
---|
49 | </td> |
---|
50 | </tr> |
---|
51 | </table> |
---|
52 | {/if} |
---|
53 | {/if} |
---|
54 | |
---|
55 | </div> <!-- content --> |
---|
Note: See
TracBrowser
for help on using the repository browser.