From 1e69481103605f1f178f07c5898c7f291b621bd8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 18 Apr 2014 09:27:48 -0400 Subject: [PATCH] Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory This patch moves the checkboxes jQuery plugin to intranet-tmpl/prog/lib/jquery/plugins so that it will not be duplicated for each set of translated templates. To test, apply the patch and confirm that select all/clear all controls continue to work on the following pages: - Acquisitions -> Late orders - Acquisitions -> Add to order from an external source (search targets) - Acquisitions -> Suggestions - Administration -> Funds -> Planning (show/hide all columns) * Some unused code has been removed - Administration -> Library transfer limits - Staff client cart - Authorities -> New from Z39.50 (search targets) - Cataloging -> New from Z39.50 (search targets) - Circulation -> Check out to a patron (renew/check in selections) - Circulation -> Offline circulation -> Pending operations - Patrons -> Patron detail (renew/check in selections) - Patrons -> Fines -> Pay fines - Serials -> Subscription -> Serial collection - Tools -> Label creator -> Batches -> Search results - Tools -> Patron card creator -> Batches -> Search results - Tools -> Tags moderation - Tools -> Batch item deletion - Tools -> Batch item modification - Tools -> Inventory -> Submit a batch of barcodes - Lists -> List contents view Signed-off-by: David Cook Works as described! I don't think I've ever checked so many boxes before... Signed-off-by: Kyle M Hall Signed-off-by: Galen Charlton --- .../lib/jquery/plugins/jquery.checkboxes.min.js | 0 .../intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 2 +- .../prog/en/modules/acqui/z3950_search.tt | 2 +- .../intranet-tmpl/prog/en/modules/admin/aqplan.tt | 10 +--------- .../prog/en/modules/admin/branch_transfer_limits.tt | 2 +- .../intranet-tmpl/prog/en/modules/basket/basket.tt | 2 +- .../prog/en/modules/cataloguing/z3950_auth_search.tt | 2 +- .../prog/en/modules/cataloguing/z3950_search.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- .../intranet-tmpl/prog/en/modules/labels/result.tt | 2 +- .../prog/en/modules/members/moremember.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt | 2 +- .../intranet-tmpl/prog/en/modules/offline_circ/list.tt | 2 +- .../prog/en/modules/patroncards/members-search.tt | 2 +- .../prog/en/modules/serials/serials-collection.tt | 2 +- .../prog/en/modules/suggestion/suggestion.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt | 2 +- .../prog/en/modules/tools/batchMod-del.tt | 2 +- .../prog/en/modules/tools/batchMod-edit.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/inventory.tt | 2 +- .../prog/en/modules/virtualshelves/shelves.tt | 2 +- 21 files changed, 20 insertions(+), 28 deletions(-) rename koha-tmpl/intranet-tmpl/{prog/en => }/lib/jquery/plugins/jquery.checkboxes.min.js (100%) diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.checkboxes.min.js b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.checkboxes.min.js similarity index 100% rename from koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.checkboxes.min.js rename to koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.checkboxes.min.js diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index 7229168891..14112dbdfa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -5,7 +5,7 @@ [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] - + [% INCLUDE 'calendar.inc' %] + + + + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'timepicker.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt index 65837ef92d..3b7ce0894b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt @@ -2,7 +2,7 @@ Koha › Barcodes and labels › Search results [% INCLUDE 'doc-head-close.inc' %] - + + [% INCLUDE 'timepicker.inc' %] + + + [% INCLUDE 'datatables-strings.inc' %] - + + +