diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-10-03 23:48:03 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-10-03 23:48:03 +0000 |
commit | 5fc08c241dd263b487f98afbaeaaa3424e0f804f (patch) | |
tree | 997439959ebf4cb7bcc41abb4ecf1ea48c825120 /template/yoga/menubar_tags.tpl | |
parent | e53eee8f166e130ba428a97b0987c5df41959b67 (diff) |
- fix tag cloud display with IE6/IE7 (without additionnal css hacks)
- collapsed several identical selectors into one
git-svn-id: http://piwigo.org/svn/trunk@2648 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/menubar_tags.tpl')
-rw-r--r-- | template/yoga/menubar_tags.tpl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/template/yoga/menubar_tags.tpl b/template/yoga/menubar_tags.tpl index 82c2f9826..d7072d82d 100644 --- a/template/yoga/menubar_tags.tpl +++ b/template/yoga/menubar_tags.tpl @@ -1,18 +1,18 @@ <dt>{'Related tags'|@translate}</dt> <dd> - <ul id="menuTagCloud"> + <div id="menuTagCloud"> {foreach from=$block->data item=tag} - <li> + <span> {if !empty($tag.U_ADD) } - <a href="{$tag.U_ADD}" - title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" - rel="nofollow"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> - </a> + <a href="{$tag.U_ADD}" + title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" + rel="nofollow"> + <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> + </a> {/if} <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See elements linked to this tag only'|@translate}">{$tag.name}</a> - </li> + </span> {/foreach} - </ul> + </div> </dd> |