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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-9 / +15 lines)
Lines 5-11 Link Here
5
[% IF ( add_validate ) %]Z39.50 servers › Z39.50 server added[% END %]
5
[% IF ( add_validate ) %]Z39.50 servers › Z39.50 server added[% END %]
6
[% IF ( delete_confirmed ) %]Z39.50 servers &rsaquo; Z39.50 server deleted[% END %]</title>
6
[% IF ( delete_confirmed ) %]Z39.50 servers &rsaquo; Z39.50 server deleted[% END %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
8
[% IF ( else ) %]
9
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
10
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
11
[% INCLUDE 'datatables-strings.inc' %]
12
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
13
[% END %]
9
[% IF ( add_form ) %]
14
[% IF ( add_form ) %]
10
<script type="text/javascript">
15
<script type="text/javascript">
11
//<![CDATA[
16
//<![CDATA[
Lines 65-79 Link Here
65
</script>
70
</script>
66
[% END %]
71
[% END %]
67
[% IF ( else ) %]
72
[% IF ( else ) %]
68
    <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
69
    <script type="text/javascript">
73
    <script type="text/javascript">
70
    //<![CDATA[
74
    //<![CDATA[
71
     $(document).ready(function() {
75
     $(document).ready(function() {
72
        [% IF ( loop ) %]$.tablesorter.defaults.widgets = ['zebra'];
76
        [% IF ( loop ) %]$("#serverst").dataTable($.extend(true, {}, dataTablesDefaults, {
73
        $("#serverst").tablesorter({
77
            "aoColumnDefs": [
74
            sortList: [[0,0]],
78
                { "aTargets": [ 2,3,4,7,8,9,10,11 ], "bSortable": false, "bSearchable": false },
75
            headers: { 2: {sorter:false},3: { sorter: false },4: { sorter: false },7: { sorter: false },8: { sorter: false },9: { sorter: false },10: { sorter: false }}
79
            ],
76
        });[% END %]
80
            "iDisplayLength": 20,
81
            "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
82
            "sPaginationType": "four_button"
83
        }));[% END %]
77
     });
84
     });
78
    //]]>
85
    //]]>
79
    </script>
86
    </script>
Lines 284-290 Link Here
284
                You searched for [% searchfield %]
291
                You searched for [% searchfield %]
285
        [% END %]		
292
        [% END %]		
286
<table id="serverst">
293
<table id="serverst">
287
                <thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Checked</th><th>Rank</th>       			<th>Syntax</th><th>Encoding</th><th>Timeout</th><th colspan="2">&nbsp;</th>
294
                <thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Checked</th><th>Rank</th><th>Syntax</th><th>Encoding</th><th>Timeout</th><th>&nbsp;</th><th>&nbsp;</th>
288
                </tr></thead>
295
                </tr></thead>
289
                <tbody>[% FOREACH loo IN loop %]
296
                <tbody>[% FOREACH loo IN loop %]
290
                [% UNLESS ( loop.odd ) %]
297
                [% UNLESS ( loop.odd ) %]
291
- 

Return to bug 9446