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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt (-17 / +24 lines)
Lines 2-7 Link Here
2
<title>Koha &rsaquo; Administration &rsaquo; [% IF ( add_form ) %] System preferences &rsaquo; [% IF ( modify ) %]Modify system preference '[% searchfield %]'[% ELSE %]Add a system preference[% END %][% END %][% IF ( add_validate ) %] System preferences &rsaquo; Data added[% END %]
2
<title>Koha &rsaquo; Administration &rsaquo; [% IF ( add_form ) %] System preferences &rsaquo; [% IF ( modify ) %]Modify system preference '[% searchfield %]'[% ELSE %]Add a system preference[% END %][% END %][% IF ( add_validate ) %] System preferences &rsaquo; Data added[% END %]
3
[% IF ( delete_confirm ) %] System preferences &rsaquo; [% searchfield %] &rsaquo; Confirm deletion of parameter '[% searchfield %]'[% END %][% IF ( delete_confirmed ) %] System preferences &rsaquo; Parameter deleted[% END %][% IF ( else ) %]System preferences[% END %]</title>
3
[% IF ( delete_confirm ) %] System preferences &rsaquo; [% searchfield %] &rsaquo; Confirm deletion of parameter '[% searchfield %]'[% END %][% IF ( delete_confirmed ) %] System preferences &rsaquo; Parameter deleted[% END %][% IF ( else ) %]System preferences[% END %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% IF ( else ) %]
6
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" />
7
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
8
[% INCLUDE 'datatables-strings.inc' %]
9
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script>
10
<script type="text/javascript">
11
    //<![CDATA[
12
    // prepare DOM for YUI Toolbar
13
     $(document).ready(function() {
14
        yuiToolbar();
15
        [% IF ( loop ) %]$("#sysprefst").dataTable($.extend(true, {}, dataTablesDefaults, {
16
            "sDom": 't',
17
            "aoColumnDefs": [
18
                { "aTargets": [ -1, -2, -3, -4 ], "bSortable": false, "bSearchable": false }
19
            ],
20
            "bPaginate": false
21
        }));[% END %]
22
     });
23
    // YUI Toolbar Functions
24
    function yuiToolbar() {
25
        new YAHOO.widget.Button("newstopword");
26
    }   //]]>
27
</script>
28
[% END %]
5
<script type="text/javascript">
29
<script type="text/javascript">
6
//<![CDATA[
30
//<![CDATA[
7
[% IF ( add_form ) %]
31
[% IF ( add_form ) %]
Lines 242-263 Link Here
242
    [% IF ( else ) %]
266
    [% IF ( else ) %]
243
    
267
    
244
    <div id="toolbar">
268
    <div id="toolbar">
245
    <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
246
    <script type="text/javascript">
247
    //<![CDATA[
248
    // prepare DOM for YUI Toolbar
249
     $(document).ready(function() {
250
        yuiToolbar();
251
        [% IF ( loop ) %]$("#sysprefst").tablesorter({
252
            sortList: [[0,0]],
253
            headers: { 1: {sorter:false},2: { sorter: false },3: { sorter: false },4: { sorter: false }}
254
        });[% END %]
255
     });
256
    // YUI Toolbar Functions
257
    function yuiToolbar() {
258
        new YAHOO.widget.Button("newstopword");
259
    }   //]]>
260
    </script>
261
    <ul class="toolbar">
269
    <ul class="toolbar">
262
        <li><a id="newstopword" href="[% script_name %]?op=add_form">New preference</a></li>
270
        <li><a id="newstopword" href="[% script_name %]?op=add_form">New preference</a></li>
263
    </ul></div>
271
    </ul></div>
264
- 

Return to bug 9445