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

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js (+7 lines)
Lines 1-3 Link Here
1
$(document).ready(function() {
2
    $("table.preferences").tablesorter({
3
        sortList: [[0,0]],
4
        headers: { 1: { sorter:false}}
5
    });
6
});
7
1
// We can assume 'KOHA' exists, as we depend on KOHA.AJAX
8
// We can assume 'KOHA' exists, as we depend on KOHA.AJAX
2
9
3
KOHA.Preferences = {
10
KOHA.Preferences = {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tmpl (-3 / +4 lines)
Lines 1-6 Link Here
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2
<title>Koha &rsaquo; Administration &rsaquo; System Preferences</title>
2
<title>Koha &rsaquo; Administration &rsaquo; System Preferences</title>
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
4
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang"-->/css/preferences.css" />
5
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang"-->/css/preferences.css" />
5
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang"-->/css/humanmsg.css" />
6
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang"-->/css/humanmsg.css" />
6
<script src="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
7
<script src="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
Lines 48-58 Link Here
48
            <!-- TMPL_LOOP NAME="LINES" -->
49
            <!-- TMPL_LOOP NAME="LINES" -->
49
            <!-- TMPL_IF NAME="is_group_title" -->
50
            <!-- TMPL_IF NAME="is_group_title" -->
50
            <!-- TMPL_UNLESS NAME="__first__" --></tbody></table><!-- /TMPL_UNLESS -->
51
            <!-- TMPL_UNLESS NAME="__first__" --></tbody></table><!-- /TMPL_UNLESS -->
51
            <h3><!-- TMPL_VAR NAME="title" --></h3><table>
52
            <h3><!-- TMPL_VAR NAME="title" --></h3>
53
            <table class="preferences">
52
            <thead><tr><th>Preference</th><th>Value</th></tr></thead>
54
            <thead><tr><th>Preference</th><th>Value</th></tr></thead>
53
            <!-- TMPL_UNLESS NAME="__last__" --><tbody><!-- /TMPL_UNLESS -->
55
            <!-- TMPL_UNLESS NAME="__last__" --><tbody><!-- /TMPL_UNLESS -->
54
            <!-- TMPL_ELSE -->
56
            <!-- TMPL_ELSE -->
55
            <!-- TMPL_IF NAME="__first__" --><table><thead><tr><th>Preference</th><th>Value</th></tr></thead><tbody><!-- /TMPL_IF -->
57
            <!-- TMPL_IF NAME="__first__" --><table class="preferences"><thead><tr><th>Preference</th><th>Value</th></tr></thead><tbody><!-- /TMPL_IF -->
56
            <tr class="name-row">
58
            <tr class="name-row">
57
                <td class="name-cell">
59
                <td class="name-cell">
58
                    <code>
60
                    <code>
59
- 

Return to bug 3987