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="/intranet-tmpl/prog/en/css/datatables.css" />
22
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
22
<script type="text/javascript" src="/intranet-tmpl/prog/en/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="/intranet-tmpl/prog/en/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 291-297 Item types administration Link Here
291
[% IF ( else ) %]
293
[% IF ( else ) %]
292
<h2>Item types administration</h2>
294
<h2>Item types administration</h2>
293
[% IF ( loop ) %]<div id="pagertable_item_type">
295
[% IF ( loop ) %]<div id="pagertable_item_type">
294
[% INCLUDE 'table-pager.inc' perpage='10' %]
295
</div>
296
</div>
296
<table id="table_item_type">
297
<table id="table_item_type">
297
  <thead>
298
  <thead>
298
- 

Return to bug 9437