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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-5 / +17 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="[% themelang %]/css/datatables.css" />
15
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
15
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
16
[% INCLUDE 'datatables-strings.inc' %]
17
<script type="text/javascript" src="[% themelang %]/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 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 166-172 tinyMCE.init({ Link Here
166
    [% IF ( MESSAGE11 ) %]<div class="dialog message">Library cannot be deleted because there are patrons registered at that library</div>[% END %]
179
    [% IF ( MESSAGE11 ) %]<div class="dialog message">Library cannot be deleted because there are patrons registered at that library</div>[% END %]
167
[% IF ( branches ) %]
180
[% IF ( branches ) %]
168
<div id="pagerbranchest">
181
<div id="pagerbranchest">
169
[% INCLUDE 'table-pager.inc' perpage='10' %]
170
</div>
182
</div>
171
    <table id="branchest">
183
    <table id="branchest">
172
<thead><tr>
184
<thead><tr>
Lines 176-182 tinyMCE.init({ Link Here
176
            <th>Properties</th>
188
            <th>Properties</th>
177
            <th>IP</th>
189
            <th>IP</th>
178
            <!-- <th>Printer</th> -->
190
            <!-- <th>Printer</th> -->
179
            <th colspan="2">&nbsp;</th>
191
            <th>&nbsp;</th>
192
            <th>&nbsp;</th>
180
        </tr></thead><tbody>
193
        </tr></thead><tbody>
181
        [% FOREACH branche IN branches %]
194
        [% FOREACH branche IN branches %]
182
	[% IF ( loop.odd ) %]
195
	[% IF ( loop.odd ) %]
183
- 

Return to bug 9435