aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/tags.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-06-04 04:44:34 +0000
committerrvelices <rv-github@modusoptimus.com>2013-06-04 04:44:34 +0000
commit5b60c54c5595f79d3f3219859e8f107649465b94 (patch)
tree1163f1c75f86f3ca463b55c5b01bc0bda5d5c18f /admin/themes/default/template/tags.tpl
parentbfd8e798d78db071b7d5982ac9d9e68be493baad (diff)
feature 2916 Replace raphael with symbol fonts
I added more icons than before (I think it's better as we can find links faster but that's arguable ...) git-svn-id: http://piwigo.org/svn/trunk@23029 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/tags.tpl')
-rw-r--r--admin/themes/default/template/tags.tpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/admin/themes/default/template/tags.tpl b/admin/themes/default/template/tags.tpl
index d2b155ece..a6aa736c1 100644
--- a/admin/themes/default/template/tags.tpl
+++ b/admin/themes/default/template/tags.tpl
@@ -117,7 +117,7 @@ jQuery('.showInfo').tipTip({
});
{/literal}{/footer_script}
{if count($all_tags)}
-<div><label>{'Search'|@translate}: <input id="searchInput" type="text" size="12"></label></div>
+<div><label><span class="icon-filter" style="visibility:hidden" id="filterIcon"></span>{'Search'|@translate}: <input id="searchInput" type="text" size="12"></label></div>
{footer_script}{literal}
$("#searchInput").on( "keydown", function() {
var $this = $(this),
@@ -127,9 +127,12 @@ $("#searchInput").on( "keydown", function() {
$this.data("timer", setTimeout( function() {
var val = $this.val();
- if (!val)
+ if (!val) {
$(".tagSelection>li").show();
+ $("#filterIcon").css("visibility","hidden");
+ }
else {
+ $("#filterIcon").css("visibility","visible");
var regex = new RegExp( val.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"), "i" );
$(".tagSelection>li").each( function(i, li) {
var $li = $(li),