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="/intranet-tmpl/prog/en/css/datatables.css" /> |
5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> |
5 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/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="/intranet-tmpl/prog/en/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 21-26
Link Here
|
21 |
} |
16 |
} |
22 |
$(document).ready(function() { |
17 |
$(document).ready(function() { |
23 |
new YAHOO.widget.Button("newcity"); |
18 |
new YAHOO.widget.Button("newcity"); |
|
|
19 |
$("#table_cities").dataTable($.extend(true, {}, dataTablesDefaults, { |
20 |
"aoColumnDefs": [ |
21 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
22 |
], |
23 |
"aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], |
24 |
"aaSorting": [[ 1, "asc" ]], |
25 |
"iDisplayLength": 10 |
26 |
})); |
24 |
}); |
27 |
}); |
25 |
//]]> |
28 |
//]]> |
26 |
</script> |
29 |
</script> |
Lines 130-136
Link Here
|
130 |
|
133 |
|
131 |
[% IF ( loop ) %] |
134 |
[% IF ( loop ) %] |
132 |
<div id="pagertable_cities"> |
135 |
<div id="pagertable_cities"> |
133 |
[% INCLUDE 'table-pager.inc' perpage='20' %] |
|
|
134 |
</div> |
136 |
</div> |
135 |
<table id="table_cities"> |
137 |
<table id="table_cities"> |
136 |
<thead> |
138 |
<thead> |
137 |
- |
|
|