Lines 1-15
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Administration › [% IF ( add_form ) %]Cities › [% IF ( cityid ) %] Modify city[% ELSE %] New city[% END %][% ELSE %][% IF ( delete_confirm ) %]Cities › Confirm deletion of city[% ELSE %] Cities[% END %][% END %]</title> |
2 |
<title>Koha › Administration › [% IF ( add_form ) %]Cities › [% IF ( cityid ) %] Modify city[% ELSE %] New city[% END %][% ELSE %][% IF ( delete_confirm ) %]Cities › Confirm deletion of city[% ELSE %] Cities[% END %][% END %]</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
4 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> |
5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
6 |
<script type="text/javascript" id="js">$(document).ready(function() { |
6 |
[% INCLUDE 'datatables-strings.inc' %] |
7 |
$.tablesorter.defaults.widgets = ['zebra']; |
7 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
8 |
$("#table_cities").tablesorter({ |
|
|
9 |
sortList: [[1,0]], |
10 |
headers: { 5: { sorter: false},6: { sorter: false}} |
11 |
}).tablesorterPager({container: $("#pagertable_cities"),positionFixed: false,size: 20}); |
12 |
}); </script> |
13 |
<script type="text/javascript"> |
8 |
<script type="text/javascript"> |
14 |
//<![CDATA[ |
9 |
//<![CDATA[ |
15 |
function Check(f) { |
10 |
function Check(f) { |
Lines 19-24
Link Here
|
19 |
document.Aform.submit(); |
14 |
document.Aform.submit(); |
20 |
} |
15 |
} |
21 |
} |
16 |
} |
|
|
17 |
$(document).ready(function() { |
18 |
$("#table_cities").dataTable($.extend(true, {}, dataTablesDefaults, { |
19 |
"aoColumnDefs": [ |
20 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
21 |
], |
22 |
"aaSorting": [[ 1, "asc" ]], |
23 |
"iDisplayLength": 10, |
24 |
"aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], |
25 |
})); |
26 |
}); |
22 |
//]]> |
27 |
//]]> |
23 |
</script> |
28 |
</script> |
24 |
</head> |
29 |
</head> |
Lines 125-133
Link Here
|
125 |
[% END %] |
130 |
[% END %] |
126 |
|
131 |
|
127 |
[% IF ( loop ) %] |
132 |
[% IF ( loop ) %] |
128 |
<div id="pagertable_cities"> |
|
|
129 |
[% INCLUDE 'table-pager.inc' perpage='20' %] |
130 |
</div> |
131 |
<table id="table_cities"> |
133 |
<table id="table_cities"> |
132 |
<thead> |
134 |
<thead> |
133 |
<th>City ID</th> |
135 |
<th>City ID</th> |
134 |
- |
|
|