diff options
author | plegall <plg@piwigo.org> | 2010-03-09 20:17:00 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-09 20:17:00 +0000 |
commit | c9dfb3a41f0341531594de215a25d7cb0091ca56 (patch) | |
tree | 3d7ca60026e80650cb47aaadabb38646d5213438 /template/default/tags.tpl | |
parent | d63e90c5d022d5b88b66c33972533bab20edcec5 (diff) |
feature 1494: move all *.tpl files from template/yoga to the new
template/default (from which yoga derives)
git-svn-id: http://piwigo.org/svn/trunk@5095 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/tags.tpl')
-rw-r--r-- | template/default/tags.tpl | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/template/default/tags.tpl b/template/default/tags.tpl new file mode 100644 index 000000000..95891df0e --- /dev/null +++ b/template/default/tags.tpl @@ -0,0 +1,54 @@ +<div id="content" class="content"> + + <div class="titrePage"> + <ul class="categoryActions"> + {if $display_mode == 'letters'} + <li><a href="{$U_CLOUD}" title="{'cloud'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li> + {/if} + + {if $display_mode == 'cloud'} + <li><a href="{$U_LETTERS}" title="{'letters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li> + {/if} + + <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> + </ul> + <h2>{'Tags'|@translate}</h2> + </div> + +{if isset($tags)} + {if $display_mode == 'cloud'} + <div id="fullTagCloud"> + {foreach from=$tags item=tag} + <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></span> + {/foreach} + </div> + {/if} + + {if $display_mode == 'letters'} + <table> + <tr> + <td valign="top"> + {foreach from=$letters item=letter} + <fieldset class="tagLetter"> + <legend class="tagLetterLegend">{$letter.TITLE}</legend> + <table class="tagLetterContent"> + {foreach from=$letter.tags item=tag} + <tr class="tagLine"> + <td><a href="{$tag.URL}">{$tag.name}</a></td> + <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}</td> + </tr> + {/foreach} + </table> + </fieldset> + {if isset($letter.CHANGE_COLUMN) } + </td> + <td valign="top"> + {/if} + {/foreach} + </td> + </tr> + </table> + {/if} +{/if} + +</div> <!-- content --> |