diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-01-19 21:18:45 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-01-19 21:18:45 +0000 |
commit | 497fa40331bfc960d323cb5af69082e427102934 (patch) | |
tree | 23c14362bd9afb267bb21306c84b87f7e63aa88e /themes/default/template/menubar_tags.tpl | |
parent | 4a6f62bb8d456077986f32759a73c87664e49e96 (diff) |
more compact html output
git-svn-id: http://piwigo.org/svn/trunk@8774 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/menubar_tags.tpl')
-rw-r--r-- | themes/default/template/menubar_tags.tpl | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/themes/default/template/menubar_tags.tpl b/themes/default/template/menubar_tags.tpl index 62421e57d..975d7eb09 100644 --- a/themes/default/template/menubar_tags.tpl +++ b/themes/default/template/menubar_tags.tpl @@ -2,17 +2,14 @@ <dd> <div id="menuTagCloud"> {foreach from=$block->data item=tag} - <span> - <a class="tagLevel{$tag.level}" + <span>{strip} + <a class="tagLevel{$tag.level}" href= {if isset($tag.U_ADD)} - href="{$tag.U_ADD}" - title="{$pwg->l10n_dec('%d photo is also linked to current tags', '%d photos are also linked to current tags', $tag.counter)}" - rel="nofollow">+ + "{$tag.U_ADD}" title="{$pwg->l10n_dec('%d photo is also linked to current tags', '%d photos are also linked to current tags', $tag.counter)}" rel="nofollow">+ {else} - href="{$tag.URL}" - title="{'display photos linked to this tag'|@translate}"> + "{$tag.URL}" title="{'display photos linked to this tag'|@translate}"> {/if} - {$tag.name}</a></span> + {$tag.name}</a></span>{/strip} {* ABOVE there should be no space between text, </a> and </span> elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *} {/foreach} </div> |