From 5e1946314f58253fa59b6a3b61e7f3f1bde04ad6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 17 Mar 2008 15:06:58 -0500 Subject: [PATCH] Testing jquery table sorting plugin Signed-off-by: Joshua Ferraro --- .../jquery/plugins/jquery.tablesorter.pack.js | 1 + .../opac-tmpl/prog/en/modules/opac-user.tmpl | 57 ++++++++++++++----- 2 files changed, 45 insertions(+), 13 deletions(-) create mode 100644 koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.tablesorter.pack.js diff --git a/koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.tablesorter.pack.js b/koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.tablesorter.pack.js new file mode 100644 index 0000000000..36040b78d3 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.tablesorter.pack.js @@ -0,0 +1 @@ +eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(8($){$.1V({I:D 8(){7 C=[],1d=[];k.2v={28:"3Z",2b:"48",29:"49",2P:"4a",2D:"4b",1I:1E,1w:"25",C:{},1d:[],1m:{S:["2c","2L"]},x:{},2u:K,2Q:13,u:[],1y:[],1l:"2O",J:K};8 17(s,d){1h(s+","+(D T().1e()-d.1e())+"4c")}k.17=17;8 1h(s){q(1u 1P!="2S"&&1u 1P.J!="2S"){1P.1h(s)}N{2V(s)}}8 1T(6,$x){q(6.f.J){7 1O=""}7 G=6.L[0].G;q(6.L[0].G[0]){7 Z=[],12=G[0].12,l=12.w;y(7 i=0;i1){1k=1k.3b(2K(6,3c,1c++))}N{q(6.1t.w==1||(11.3e>1||!r[1c+1])){1k.R(11)}}}m 1k};8 2d(11){q(($.1o)&&($(11).16().1g===K)){m 13};m K}8 2e(6,i){q((6.f.x[i])&&(6.f.x[i].1g===K)){m 13};m K}8 1z(6){7 c=6.f.1d;7 l=c.w;y(7 i=0;i\');$("2j:3l 3H",6.L[0]).1s(8(){1v.3G($(\'<3o>\').S(\'2l\',$(k).2l()))});$(6).3r(1v)}}8 2M(6,u){7 c=6.f,l=u.w;y(7 i=0;ib)?1:0))};8 2o(a,b){m((ba)?1:0))};8 2p(a,b){m a-b};8 2q(a,b){m b-a};8 2s(C,i){m C[i].Q};k.2f=8(2w){m k.1s(8(){q(!k.1t||!k.L)m;7 $k,$3E,$x,F,f,3F=0,3I;k.f={};f=$.1V(k.f,$.I.2v,2w);$k=$(k);$x=2x(k);k.f.C=1T(k,$x);F=1U(k);7 1X=[f.29,f.2b];2z(k);$x.3K(8(e){7 19=($k[0].L[0]&&$k[0].L[0].G.w)||0;q(!k.1C&&19>0){7 $11=$(k);7 i=k.1D;k.18=k.1a++%2;q(!e[f.2D]){f.u=[];q(f.1I!=1E){7 a=f.1I;y(7 j=0;j0){$k.1R("2J",[f.u])}1z(k)})};k.P=8(1B){7 l=C.w,a=13;y(7 i=0;i + + @@ -89,7 +121,7 @@
- +
@@ -126,9 +158,9 @@
-
Holds Waiting
Title
+
- + @@ -138,8 +170,8 @@ - - + + @@ -158,8 +190,7 @@ - - +
Items Checked Out
  Title Item TypeRenew Fines
">.01.THUMBZZZ.jpg" alt="Book Cover Image" class="thumbnail" /> - "> + "> @@ -186,9 +217,9 @@ YesNo
- +
" /> @@ -197,7 +228,7 @@
- + --> @@ -206,7 +237,7 @@ -
You have nothing checked out
+
( total) @@ -246,7 +277,7 @@ No renewals left
-
+
-- 2.39.5
Holds ( total)