View | Details | Raw Unified | Return to bug 9437
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-12 / +12 lines)
Lines 18-33 Data deleted Link Here
18
[% END %]
18
[% END %]
19
</title>
19
</title>
20
[% INCLUDE 'doc-head-close.inc' %]
20
[% INCLUDE 'doc-head-close.inc' %]
21
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
21
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
22
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
22
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
23
<script type="text/javascript" id="js">$(document).ready(function() {
23
[% INCLUDE 'datatables-strings.inc' %]
24
	// call the tablesorter plugin
24
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
25
	$("#table_item_type").tablesorter({
26
		sortList: [[1,0]],
27
		headers: { 0: { sorter: false},5: { sorter: false}}
28
		   		}).tablesorterPager({container: $("#pagertable_item_type"),positionFixed: false,size: 10});
29
	
30
}); </script>
31
<script type="text/javascript">
25
<script type="text/javascript">
32
//<![CDATA[
26
//<![CDATA[
33
27
Lines 86-91 function Check(f) { Link Here
86
}
80
}
87
     $(document).ready(function() {
81
     $(document).ready(function() {
88
        $('#icons').tabs();
82
        $('#icons').tabs();
83
        $("#table_item_type").dataTable($.extend(true, {}, dataTablesDefaults, {
84
            "aoColumnDefs": [
85
                { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
86
            ],
87
            "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
88
            "aaSorting": [[ 2, "asc" ]],
89
            "iDisplayLength": 10
90
        }));
89
     });
91
     });
90
//]]>
92
//]]>
91
</script>
93
</script>
Lines 273-279 Item types administration Link Here
273
[% IF ( else ) %]
275
[% IF ( else ) %]
274
<h2>Item types administration</h2>
276
<h2>Item types administration</h2>
275
[% IF ( loop ) %]<div id="pagertable_item_type">
277
[% IF ( loop ) %]<div id="pagertable_item_type">
276
[% INCLUDE 'table-pager.inc' perpage='10' %]
277
</div>
278
</div>
278
<table id="table_item_type">
279
<table id="table_item_type">
279
  <thead>
280
  <thead>
280
- 

Return to bug 9437