From 18b4941242d09a9f3acef6eeeaa89d448fa9de58 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 22 Jan 2013 12:57:28 -0500 Subject: [PATCH] Bug 9446 - Use DataTables on Z39.50 servers administration page Content-Type: text/plain; charset="utf-8" Replace the tablesorter plugin with the DataTables plugin on the Z39.50 servers administration page. Structural changes were made to deal with a DataTables bug which prevents it from properly parsing a with a colspan. This patch also moves embedding of the toolbar and table-sorting JS from within the body of the page to the for sake of consistency. To test, open the Z39.50 servers administration page (Administration -> Z39.50 client targets). Confirm that table sorting works correctly. --- .../prog/en/modules/admin/z3950servers.tt | 43 ++++++++++++-------- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt index 3205e6f..8ff44cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt @@ -5,6 +5,30 @@ [% IF ( add_validate ) %]Z39.50 servers › Z39.50 server added[% END %] [% IF ( delete_confirmed ) %]Z39.50 servers › Z39.50 server deleted[% END %] [% INCLUDE 'doc-head-close.inc' %] +[% IF ( else ) %] + + +[% INCLUDE 'datatables-strings.inc' %] + + +[% END %] [% IF ( add_form ) %] - @@ -305,7 +312,7 @@ You searched for [% searchfield %] [% END %] - + [% FOREACH loo IN loop %] [% UNLESS ( loop.odd ) %] -- 1.7.9.5
TargetHostname/PortDatabaseUseridPasswordCheckedRank SyntaxEncodingTimeout 
TargetHostname/PortDatabaseUseridPasswordCheckedRank SyntaxEncodingTimeout