Owen Leonard
78e0754bfc
Created new include for the tablesorter pager markup: [% INCLUDE 'table-pager.inc' perpage='20' %] 'perpage' variable defines the default items per page for the paged table. Unique changes in branch_transfer_limits.tt: - Moved tablesorter configuration out of a loop and changed it to work by class instead of id (less repeated markup). - Corrected an errant TMPL tag. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
17 lines
No EOL
1.3 KiB
HTML
17 lines
No EOL
1.3 KiB
HTML
<div class="pager"><form 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>
|
|
</form></div> |