While the tablesorter plugin has not been completely eliminated from the
staff client yet, there are no more instances where it requires the
include file for showing paging controls. table-pager.inc can be safely
removed.

To test, apply the patch and confirm that the file is gone. A search of
Koha templates for references to table-pager.inc should return no
results.
---
 .../intranet-tmpl/prog/en/includes/table-pager.inc |   17 -----------------
 1 file changed, 17 deletions(-)
 delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/table-pager.inc

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/table-pager.inc 
b/koha-tmpl/intranet-tmpl/prog/en/includes/table-pager.inc
deleted file mode 100644
index 17d43d4..0000000
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/table-pager.inc
+++ /dev/null
@@ -1,17 +0,0 @@
-<div class="pager"><p class="formpager" action=""><label>Page(s):
-       <img src="[% interface %]/prog/img/first.png" alt="" class="first"/>
-       <img src="[% interface %]/prog/img/prev.png" alt="" class="prev"/>
-       <input type="text" size="5" class="pagedisplay"/></label>
-       <img src="[% interface %]/prog/img/next.png" alt="" class="next"/>
-       <img src="[% interface %]/prog/img/last.png" alt="" class="last"/>
-       <label>Entries/page:
-       <select class="pagesize">
-       [% IF ( perpage == 10) %]<option value="10" 
selected="selected">10</option>[% ELSE %]<option value="10">10</option>[% END %]
-       [% IF ( perpage == 20) %]<option value="20" 
selected="selected">20</option>[% ELSE %]<option value="20">20</option>[% END %]
-       [% IF ( perpage == 30) %]<option value="30" 
selected="selected">30</option>[% ELSE %]<option value="30">30</option>[% END %]
-       [% IF ( perpage == 40) %]<option value="40" 
selected="selected">40</option>[% ELSE %]<option value="40">40</option>[% END %]
-       [% IF ( perpage == 50) %]<option value="50" 
selected="selected">50</option>[% ELSE %]<option value="50">50</option>[% END %]
-       [% IF ( perpage == 100) %]<option value="100" 
selected="selected">100</option>[% ELSE %]<option value="100">100</option>[% 
END %]
-       [% IF ( perpage == 200) %]<option value="200" 
selected="selected">200</option>[% ELSE %]<option value="200">200</option>[% 
END %]
-       </select></label>
-</p></div>
\ No newline at end of file
-- 
1.7.9.5
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to