aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-04-08 08:26:34 +0000
committerplegall <plg@piwigo.org>2010-04-08 08:26:34 +0000
commit44d3601933552613e9a060a868c38679d6ec69f0 (patch)
tree5ba954b407fe03edc0410637b482bfe5eddf033d /themes
parentc10a261817cc3fd687f6f4de1f263b1fad337eca (diff)
feature 1583: replace add_tag.png icon by a simple "+" character in the
"related tags" block. Only keep one link for each tag in the "related tags" block. git-svn-id: http://piwigo.org/svn/trunk@5703 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/Sylvia/icon/add_tag.pngbin193 -> 0 bytes
-rw-r--r--themes/default/icon/add_tag.pngbin59 -> 0 bytes
-rw-r--r--themes/default/template/menubar_tags.tpl10
3 files changed, 4 insertions, 6 deletions
diff --git a/themes/Sylvia/icon/add_tag.png b/themes/Sylvia/icon/add_tag.png
deleted file mode 100644
index 66042aadf..000000000
--- a/themes/Sylvia/icon/add_tag.png
+++ /dev/null
Binary files differ
diff --git a/themes/default/icon/add_tag.png b/themes/default/icon/add_tag.png
deleted file mode 100644
index 9051a1d26..000000000
--- a/themes/default/icon/add_tag.png
+++ /dev/null
Binary files differ
diff --git a/themes/default/template/menubar_tags.tpl b/themes/default/template/menubar_tags.tpl
index ad7177347..d56980c2d 100644
--- a/themes/default/template/menubar_tags.tpl
+++ b/themes/default/template/menubar_tags.tpl
@@ -2,15 +2,13 @@
<dd>
<div id="menuTagCloud">
{foreach from=$block->data item=tag}
- <span>
- {if !empty($tag.U_ADD) }
- <a href="{$tag.U_ADD}"
+ <span style="margin-right:5px;">
+ <a class="tagLevel{$tag.level}" href="{$tag.U_ADD}"
title="{$pwg->l10n_dec('%d image is also linked to current tags', '%d images are also linked to current tags', $tag.counter)}"
rel="nofollow">
- <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+">
+ +{$tag.name}
</a>
- {/if}
- <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See images linked to this tag only'|@translate}">{$tag.name}</a>{* there should be no space between end of a and span elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *}</span>
+ </span>
{/foreach}
</div>
</dd>