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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt (-23 / +19 lines)
Lines 70-77 Link Here
70
                return false;
70
                return false;
71
            } ).nextAll( 'textarea, input[type=submit]' ).hide();
71
            } ).nextAll( 'textarea, input[type=submit]' ).hide();
72
        } );
72
        } );
73
73
        //]]>
74
        //]]>
74
</script>
75
</script>
76
[% IF ( else ) %]
77
    <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
78
    <script type="text/javascript">
79
    //<![CDATA[
80
    // prepare DOM for YUI Toolbar
81
     $(document).ready(function() {
82
        [% IF ( loop ) %]$("#sysprefst").tablesorter({
83
            sortList: [[0,0]],
84
            headers: { 1: {sorter:false},2: { sorter: false },3: { sorter: false },4: { sorter: false }}
85
        });[% END %]
86
     });
87
    </script>
88
[% END %]
75
</head>
89
</head>
76
<body id="admin_systempreferences" class="admin">
90
<body id="admin_systempreferences" class="admin">
77
[% INCLUDE 'header.inc' %]
91
[% INCLUDE 'header.inc' %]
Lines 240-267 Link Here
240
    [% END %]
254
    [% END %]
241
   
255
   
242
    [% IF ( else ) %]
256
    [% IF ( else ) %]
243
    
257
244
    <div id="toolbar">
258
    <div id="toolbar" class="btn-toolbar">
245
    <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
259
        <a class="btn btn-small" id="newstopword" href="[% script_name %]?op=add_form"><i class="icon-plus"></i> New preference</a>
246
    <script type="text/javascript">
260
    </div>
247
    //<![CDATA[
261
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">
262
        <li><a id="newstopword" href="[% script_name %]?op=add_form">New preference</a></li>
263
    </ul></div>
264
    
265
    <h1>System preferences admin</h1>
262
    <h1>System preferences admin</h1>
266
    <h2>[% tab %] preferences</h2>
263
    <h2>[% tab %] preferences</h2>
267
    [% searchfield %]
264
    [% searchfield %]
268
- 

Return to bug 9637