From 36cc0f2250a85c3c5387543f0d55712d2d43cadd Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 26 Feb 2008 10:34:33 +1300 Subject: [PATCH] Converting check all/none to text links as we have now in the OPAC Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 6 +++++- .../prog/en/modules/virtualshelves/shelves.tmpl | 9 +++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index aca700b4f2..7c6c4e68f0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1445,4 +1445,8 @@ ul#i18nMenu li.more ul li a { height:100%; overflow:auto; } - + +#CheckAll, #CheckNone { + font-weight : normal; + margin : 0 .5em 0 0; +} \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl index 4d1ae600ad..7259088083 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl @@ -7,18 +7,14 @@ $(document).ready(function(){ $("#addbarcode").focus(); - $("th.checkall").html("/../img/checkall.gif\" height=\"18\" width=\"18\" alt=\"Check All\" title=\"Check All\" border=\"0\" />"); + $("span.clearall").html("Clear All"); + $("span.checkall").html("Select All"); $("#CheckAll").click(function(){ $(".checkboxed").checkCheckboxes(); - $("#CheckAll img").attr("src","/../img/checknone.gif").attr("title","Check None").attr("alt","Check None"); - // FIXME: a checknone.gif image should be made! - $("#CheckAll").attr("id","CheckNone"); return false; }); $("#CheckNone").click(function(){ $(".checkboxed").unCheckCheckboxes(); - $("#CheckNone img").attr("src","/../img/checkall.gif").attr("title","Check All").attr("alt","Check All"); - $("#CheckNone").attr("id","CheckAll"); return false; }); }); @@ -118,6 +114,7 @@ $(document).ready(function(){
Contents of +

-- 2.39.2