From 5b60c54c5595f79d3f3219859e8f107649465b94 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 4 Jun 2013 04:44:34 +0000 Subject: 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 --- admin/themes/default/template/admin.tpl | 61 ++++++++++++------------- admin/themes/default/template/configuration.tpl | 4 +- admin/themes/default/template/header.tpl | 5 +- admin/themes/default/template/tags.tpl | 7 ++- 4 files changed, 39 insertions(+), 38 deletions(-) (limited to 'admin/themes/default/template') diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index 9e929d449..29212860c 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -10,28 +10,25 @@ jQuery(document).ready(function(){ldelim} }); {/footer_script} -{combine_script id='raphael' load='async' path='themes/default/js/raphael.js'} -{combine_script id='raphael.menu_icons' require='raphael' load='async' path='admin/themes/default/js/menu_icons.js'} - - {if isset($default)} {$PROFILE_CONTENT} {/if} diff --git a/admin/themes/default/template/header.tpl b/admin/themes/default/template/header.tpl index f8fff5750..365bcd8de 100644 --- a/admin/themes/default/template/header.tpl +++ b/admin/themes/default/template/header.tpl @@ -19,6 +19,7 @@ {/if} {if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if} {/foreach} +{combine_css path="admin/themes/default/fontello/css/fontello.css"} {get_combined_scripts load='header'} @@ -53,8 +54,8 @@

- {'Home'|@translate} - {$GALLERY_TITLE} + + {$GALLERY_TITLE}

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)} -
+
{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), -- cgit v1.2.3