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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-12 / +19 lines)
Lines 11-20 Link Here
11
[% END %]
11
[% END %]
12
</title>
12
</title>
13
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
14
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
14
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" />
15
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
15
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
16
[% INCLUDE 'datatables-strings.inc' %]
17
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script>
16
<script type="text/javascript" src="[% themelang %]/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
18
<script type="text/javascript" src="[% themelang %]/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
17
<script language="javascript" type="text/javascript">
19
<script type="text/javascript">
20
//<![CDATA[
21
    $(document).ready(function() {
22
        $("#branchest").dataTable($.extend(true, {}, dataTablesDefaults, {
23
            "aoColumnDefs": [
24
                { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
25
            ],
26
            "iDisplayLength": 10,
27
            "sPaginationType": "four_button"
28
        }));
29
    });
18
tinyMCE.init({
30
tinyMCE.init({
19
    mode : "textareas",
31
    mode : "textareas",
20
    theme : "advanced",
32
    theme : "advanced",
Lines 31-36 tinyMCE.init({ Link Here
31
    height : "300",
43
    height : "300",
32
    width : "700"
44
    width : "700"
33
});
45
});
46
//]]>
34
</script>
47
</script>
35
</head>
48
</head>
36
<body id="admin_branches" class="admin">
49
<body id="admin_branches" class="admin">
Lines 66-77 tinyMCE.init({ Link Here
66
79
67
	 $(document).ready(function() {
80
	 $(document).ready(function() {
68
	    yuiToolbar();
81
	    yuiToolbar();
69
		$.tablesorter.defaults.widgets = ['zebra']; 
82
    });
70
		$("#branchest").tablesorter({
71
			sortList: [[0,0]],
72
			headers: { 3:{sorter:false},4:{sorter:false},5:{sorter:false},6:{sorter:false}}
73
		}).tablesorterPager({container: $("#pagerbranchest"),positionFixed: false,size: 10}); 
74
		}); 
75
	// YUI Toolbar Functions
83
	// YUI Toolbar Functions
76
84
77
	function yuiToolbar() {
85
	function yuiToolbar() {
Lines 189-195 tinyMCE.init({ Link Here
189
    [% IF ( MESSAGE11 ) %]<div class="dialog message">Library cannot be deleted because there are patrons registered at that library</div>[% END %]
197
    [% IF ( MESSAGE11 ) %]<div class="dialog message">Library cannot be deleted because there are patrons registered at that library</div>[% END %]
190
[% IF ( branches ) %]
198
[% IF ( branches ) %]
191
<div id="pagerbranchest">
199
<div id="pagerbranchest">
192
[% INCLUDE 'table-pager.inc' perpage='10' %]
193
</div>
200
</div>
194
    <table id="branchest">
201
    <table id="branchest">
195
<thead><tr>
202
<thead><tr>
Lines 199-205 tinyMCE.init({ Link Here
199
            <th>Properties</th>
206
            <th>Properties</th>
200
            <th>IP</th>
207
            <th>IP</th>
201
            <!-- <th>Printer</th> -->
208
            <!-- <th>Printer</th> -->
202
            <th colspan="2">&nbsp;</th>
209
            <th>&nbsp;</th>
210
            <th>&nbsp;</th>
203
        </tr></thead><tbody>
211
        </tr></thead><tbody>
204
        [% FOREACH branche IN branches %]
212
        [% FOREACH branche IN branches %]
205
	[% IF ( loop.odd ) %]
213
	[% IF ( loop.odd ) %]
206
- 

Return to bug 9435