aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/tags.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-02-28 02:41:48 +0000
committerrvelices <rv-github@modusoptimus.com>2008-02-28 02:41:48 +0000
commitc73923204927f406d492491398980d3aa429c4eb (patch)
tree717f79ecab01b8d97c359c27406be6dd26ff8193 /template/yoga/tags.tpl
parent618158aca4d99fe522b0f54d547442f17a5db148 (diff)
- migrate many templates to smarty
git-svn-id: http://piwigo.org/svn/trunk@2223 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/tags.tpl')
-rw-r--r--template/yoga/tags.tpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/template/yoga/tags.tpl b/template/yoga/tags.tpl
index 023c5965b..2548065ce 100644
--- a/template/yoga/tags.tpl
+++ b/template/yoga/tags.tpl
@@ -1,19 +1,19 @@
-<!-- DEV TAG: not smarty migrated -->
-<!-- $Id$ -->
+{* $Id$ *}
<div id="content">
<div class="titrePage">
<ul class="categoryActions">
- <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
+ <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
</ul>
- <h2>{lang:Tags}</h2>
+ <h2>{'Tags'|@translate}</h2>
</div>
+ {if isset($tags)}
<ul id="fullTagCloud">
- <!-- BEGIN tag -->
- <li><a href="{tag.URL}" class="{tag.CLASS}" title="{tag.TITLE}">{tag.NAME}</a></li>
- <!-- END tag -->
- <li>&nbsp;</li> <!-- FIXME W3C HTML Conformity said: No empty UL -->
+ {foreach from=$tags item=tag}
+ <li><a href="{$tag.URL}" class="{$tag.CLASS}" title="{$tag.TITLE}">{$tag.NAME}</a></li>
+ {/foreach}
</ul>
+ {/if}
</div> <!-- content -->