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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-7 / +18 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
            "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
28
            "sPaginationType": "four_button"
29
        }));
30
    });
18
tinyMCE.init({
31
tinyMCE.init({
19
    mode : "textareas",
32
    mode : "textareas",
20
    theme : "advanced",
33
    theme : "advanced",
Lines 31-36 tinyMCE.init({ Link Here
31
    height : "300",
44
    height : "300",
32
    width : "700"
45
    width : "700"
33
});
46
});
47
//]]>
34
</script>
48
</script>
35
</head>
49
</head>
36
<body id="admin_branches" class="admin">
50
<body id="admin_branches" class="admin">
Lines 165-173 tinyMCE.init({ Link Here
165
    [% IF ( MESSAGE10 ) %]<div class="dialog message">Library cannot be deleted because there are items held by that library</div>[% END %]
179
    [% IF ( MESSAGE10 ) %]<div class="dialog message">Library cannot be deleted because there are items held by that library</div>[% END %]
166
    [% IF ( MESSAGE11 ) %]<div class="dialog message">Library cannot be deleted because there are patrons registered at that library</div>[% END %]
180
    [% IF ( MESSAGE11 ) %]<div class="dialog message">Library cannot be deleted because there are patrons registered at that library</div>[% END %]
167
[% IF ( branches ) %]
181
[% IF ( branches ) %]
168
<div id="pagerbranchest">
169
[% INCLUDE 'table-pager.inc' perpage='10' %]
170
</div>
171
    <table id="branchest">
182
    <table id="branchest">
172
<thead><tr>
183
<thead><tr>
173
			<th>Name</th>
184
			<th>Name</th>
Lines 176-182 tinyMCE.init({ Link Here
176
            <th>Properties</th>
187
            <th>Properties</th>
177
            <th>IP</th>
188
            <th>IP</th>
178
            <!-- <th>Printer</th> -->
189
            <!-- <th>Printer</th> -->
179
            <th colspan="2">&nbsp;</th>
190
            <th>&nbsp;</th>
191
            <th>&nbsp;</th>
180
        </tr></thead><tbody>
192
        </tr></thead><tbody>
181
        [% FOREACH branche IN branches %]
193
        [% FOREACH branche IN branches %]
182
	[% IF ( loop.odd ) %]
194
	[% IF ( loop.odd ) %]
183
- 

Return to bug 9435