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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc (-15 / +1 lines)
Lines 1-19 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<script type="text/javascript">//<![CDATA[
2
3
    $(document).ready(function() {
4
        var path = location.pathname.substring(1);
5
        if (path == "cgi-bin/koha/admin/marctagstructure.pl" || path == "cgi-bin/koha/admin/marc_subfields_structure.pl") {
6
            $('#navmenulist a[href$="/cgi-bin/koha/admin/biblio_framework.pl"]').css('font-weight','bold');
7
        } else if (path == "cgi-bin/koha/admin/auth_tag_structure.pl" || path == "cgi-bin/koha/admin/auth_subfields_structure.pl") {
8
            $('#navmenulist a[href$="/cgi-bin/koha/admin/authtypes.pl"]').css('font-weight','bold');
9
        } else if (path == "cgi-bin/koha/admin/oai_set_mappings.pl") {
10
            $('#navmenulist a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').css('font-weight','bold');
11
        } else {
12
            $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
13
        }
14
    });
15
//]]>
16
</script>
17
<div id="navmenu">
3
<div id="navmenu">
18
<div id="navmenulist">
4
<div id="navmenulist">
19
<h5>System preferences</h5>
5
<h5>System preferences</h5>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-7 / +11 lines)
Lines 1-14 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; Authority MARC subfield structure</title>
3
<title>Koha &rsaquo; Administration &rsaquo; Authority MARC subfield structure</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript">
5
//<![CDATA[
6
     $(document).ready(function() {
7
        $('#subfieldtabs').tabs();
8
     });
9
//]]>
10
</script>
11
</head>
5
</head>
6
12
<body id="admin_auth_subfields_structure" class="admin">
7
<body id="admin_auth_subfields_structure" class="admin">
13
[% INCLUDE 'header.inc' %]
8
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'prefs-admin-search.inc' %]
9
[% INCLUDE 'prefs-admin-search.inc' %]
Lines 338-341 Link Here
338
[% INCLUDE 'admin-menu.inc' %]
333
[% INCLUDE 'admin-menu.inc' %]
339
</div>
334
</div>
340
</div>
335
</div>
336
337
[% MACRO jsinclude BLOCK %]
338
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
339
    <script type="text/javascript">
340
     $(document).ready(function() {
341
        $('#subfieldtabs').tabs();
342
     });
343
    </script>
344
[% END %]
341
[% INCLUDE 'intranet-bottom.inc' %]
345
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-13 / +17 lines)
Lines 1-4 Link Here
1
[% USE AuthorisedValues %]
1
[% USE AuthorisedValues %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo; Authority MARC framework [% IF ( add_form ) %][% IF ( use_heading_flags_p ) %]
4
<title>Koha &rsaquo; Administration &rsaquo; Authority MARC framework [% IF ( add_form ) %][% IF ( use_heading_flags_p ) %]
4
    [% IF ( heading_modify_tag_p ) %]&rsaquo; [% IF ( authtypecode ) %][% authtypecode %] Framework[% ELSE %]Default framework[% END %] &rsaquo; Modify tag[% END %]
5
    [% IF ( heading_modify_tag_p ) %]&rsaquo; [% IF ( authtypecode ) %][% authtypecode %] Framework[% ELSE %]Default framework[% END %] &rsaquo; Modify tag[% END %]
Lines 7-26 Link Here
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
9
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
10
[% INCLUDE 'datatables.inc' %]
11
<script type="text/javascript">
12
//<![CDATA[
13
 $(document).ready(function() {
14
    $("#table_authtagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
15
        "aoColumnDefs": [
16
            { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
17
        ],
18
        "sPaginationType": "four_button"
19
    }));
20
 });
21
//]]>
22
</script>
23
</head>
11
</head>
12
24
<body id="admin_auth_tag_structure" class="admin">
13
<body id="admin_auth_tag_structure" class="admin">
25
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' %]
26
[% INCLUDE 'prefs-admin-search.inc' %]
15
[% INCLUDE 'prefs-admin-search.inc' %]
Lines 242-245 Link Here
242
[% INCLUDE 'admin-menu.inc' %]
231
[% INCLUDE 'admin-menu.inc' %]
243
</div>
232
</div>
244
</div>
233
</div>
234
235
[% MACRO jsinclude BLOCK %]
236
    [% INCLUDE 'datatables.inc' %]
237
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
238
    <script type="text/javascript">
239
        $(document).ready(function() {
240
            $("#table_authtagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
241
                "aoColumnDefs": [
242
                    { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
243
                ],
244
                "sPaginationType": "four_button"
245
            }));
246
        });
247
    </script>
248
[% END %]
245
[% INCLUDE 'intranet-bottom.inc' %]
249
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt (-16 / +19 lines)
Lines 1-3 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; Authority types
3
<title>Koha &rsaquo; Administration &rsaquo; Authority types
3
[% IF op == 'add_form' %]
4
[% IF op == 'add_form' %]
Lines 8-29 Link Here
8
</title>
9
</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
11
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
11
[% INCLUDE 'datatables.inc' %]
12
<script type="text/javascript">
13
//<![CDATA[
14
    $(document).ready(function() {
15
        $("#authtypes").dataTable($.extend(true, {}, dataTablesDefaults, {
16
            "aoColumnDefs": [
17
                { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
18
            ],
19
            "sPaginationType": "four_button"
20
        }));
21
        $("#authtypecode").on("blur",function(){
22
            toUC(this);
23
        });
24
    });
25
//]]>
26
</script>
27
</head>
12
</head>
28
13
29
<body id="admin_authtypes" class="admin">
14
<body id="admin_authtypes" class="admin">
Lines 186-189 Link Here
186
[% INCLUDE 'admin-menu.inc' %]
171
[% INCLUDE 'admin-menu.inc' %]
187
</div>
172
</div>
188
</div>
173
</div>
174
175
[% MACRO jsinclude BLOCK %]
176
    [% INCLUDE 'datatables.inc' %]
177
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
178
    <script type="text/javascript">
179
        $(document).ready(function() {
180
            $("#authtypes").dataTable($.extend(true, {}, dataTablesDefaults, {
181
                "aoColumnDefs": [
182
                    { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
183
                ],
184
                "sPaginationType": "four_button"
185
            }));
186
            $("#authtypecode").on("blur",function(){
187
                toUC(this);
188
            });
189
        });
190
    </script>
191
[% END %]
189
[% INCLUDE 'intranet-bottom.inc' %]
192
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-11 / +16 lines)
Lines 1-3 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; MARC frameworks
3
<title>Koha &rsaquo; Administration &rsaquo; MARC frameworks
3
[% IF op == 'add_form' %]
4
[% IF op == 'add_form' %]
Lines 8-25 Link Here
8
</title>
9
</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
11
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
11
[% INCLUDE 'datatables.inc' %]
12
<script type="text/javascript">
13
    /* Set some variable needed in biblio_framework.js */
14
    var MSG_IMPORT_ERROR = _("Error importing the framework");
15
    var MSG_SELECT_FILE_FORMAT = _("Please select a CSV (.csv), ODS (.ods) or XML (.xml) spreadsheet file.");
16
    var MSG_OVERWRITE_WARNING = _("Do you really want to import the framework fields and subfields? This will overwrite the current configuration. For safety reasons please use the export option to make a backup");
17
    var MSG_IMPORTING_TO_FRAMEWORK = _("Importing to framework: %s. Importing from file: %s.");
18
    var template_path = "[% interface %]/[% theme %]";
19
</script>
20
<script type="text/javascript" src="[% interface %]/[% theme %]/js/biblio_framework.js"></script>
21
22
</head>
12
</head>
13
23
<body id="admin_biblio_framework" class="admin">
14
<body id="admin_biblio_framework" class="admin">
24
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'prefs-admin-search.inc' %]
16
[% INCLUDE 'prefs-admin-search.inc' %]
Lines 287-290 Link Here
287
[% INCLUDE 'admin-menu.inc' %]
278
[% INCLUDE 'admin-menu.inc' %]
288
  </div>
279
  </div>
289
</div>
280
</div>
281
282
[% MACRO jsinclude BLOCK %]
283
    [% INCLUDE 'datatables.inc' %]
284
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
285
    <script type="text/javascript">
286
        /* Set some variable needed in biblio_framework.js */
287
        var MSG_IMPORT_ERROR = _("Error importing the framework");
288
        var MSG_SELECT_FILE_FORMAT = _("Please select a CSV (.csv), ODS (.ods) or XML (.xml) spreadsheet file.");
289
        var MSG_OVERWRITE_WARNING = _("Do you really want to import the framework fields and subfields? This will overwrite the current configuration. For safety reasons please use the export option to make a backup");
290
        var MSG_IMPORTING_TO_FRAMEWORK = _("Importing to framework: %s. Importing from file: %s.");
291
        var template_path = "[% interface %]/[% theme %]";
292
    </script>
293
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/biblio_framework.js"></script>
294
[% END %]
290
[% INCLUDE 'intranet-bottom.inc' %]
295
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/checkmarc.tt (+5 lines)
Lines 1-3 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; MARC check
3
<title>Koha &rsaquo; Administration &rsaquo; MARC check
3
[% IF ( total ) %] :[% total %] errors found[% ELSE %] : Configuration OK![% END %]</title>
4
[% IF ( total ) %] :[% total %] errors found[% ELSE %] : Configuration OK![% END %]</title>
Lines 276-279 Link Here
276
[% INCLUDE 'admin-menu.inc' %]
277
[% INCLUDE 'admin-menu.inc' %]
277
</div>
278
</div>
278
</div>
279
</div>
280
281
[% MACRO jsinclude BLOCK %]
282
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
283
[% END %]
279
[% INCLUDE 'intranet-bottom.inc' %]
284
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/fieldmapping.tt (-13 / +12 lines)
Lines 1-19 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; Keyword to MARC mapping</title>
3
<title>Koha &rsaquo; Administration &rsaquo; Keyword to MARC mapping</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
5
<script type="text/javascript">
6
//<![CDATA[
7
$(document).ready(function() {
8
        $('#selectframework').find("input:submit").hide();
9
        $('#framework').change(function() {
10
                $('#selectframework').submit();
11
        });
12
});
13
//]]>
14
</script>
15
16
17
</head>
5
</head>
18
6
19
<body id="admin_fieldmapping" class="admin">
7
<body id="admin_fieldmapping" class="admin">
Lines 85-88 $(document).ready(function() { Link Here
85
		[% INCLUDE 'admin-menu.inc' %]
73
		[% INCLUDE 'admin-menu.inc' %]
86
	</div>
74
	</div>
87
75
76
[% MACRO jsinclude BLOCK %]
77
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
78
    <script type="text/javascript">
79
        $(document).ready(function() {
80
            $('#selectframework').find("input:submit").hide();
81
            $('#framework').change(function() {
82
                    $('#selectframework').submit();
83
            });
84
        });
85
    </script>
86
[% END %]
88
[% INCLUDE 'intranet-bottom.inc' %]
87
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt (-12 / +15 lines)
Lines 1-21 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo;
3
<title>Koha &rsaquo; Administration &rsaquo;
3
[% IF ( add_form ) %] Koha to MARC mapping &rsaquo; Connect [% tablename %].[% kohafield %] to a MARC subfield[% END %]
4
[% IF ( add_form ) %] Koha to MARC mapping &rsaquo; Connect [% tablename %].[% kohafield %] to a MARC subfield[% END %]
4
[% IF ( else ) %]Koha to MARC mapping [% tagfield %][% END %]</title>
5
[% IF ( else ) %]Koha to MARC mapping [% tagfield %][% END %]</title>
5
6
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
<script type="text/javascript">
8
//<![CDATA[
9
$(document).ready(function() {
10
    [% IF tablename.default == 'biblio' %]
11
        $("#tablename option:first").attr('selected','selected');
12
    [% END %]
13
    $('#tablename').change(function() {
14
        $('#koha2marc').submit();
15
    });
16
});
17
//]]>
18
</script>
19
</head>
8
</head>
20
9
21
<body id="admin_koha2marclinks" class="admin">
10
<body id="admin_koha2marclinks" class="admin">
Lines 124-127 $(document).ready(function() { Link Here
124
</div>
113
</div>
125
[% END %]
114
[% END %]
126
</div>
115
</div>
116
117
[% MACRO jsinclude BLOCK %]
118
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
119
    <script type="text/javascript">
120
        $(document).ready(function() {
121
            [% IF tablename.default == 'biblio' %]
122
                $("#tablename option:first").attr('selected','selected');
123
            [% END %]
124
            $('#tablename').change(function() {
125
                $('#koha2marc').submit();
126
            });
127
        });
128
    </script>
129
[% END %]
127
[% INCLUDE 'intranet-bottom.inc' %]
130
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt (-1 / +7 lines)
Lines 1-9 Link Here
1
[% SET footerjs = 1 %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo;[% IF ( add_form ) %][% IF ( use_heading_flags_p ) %][% IF ( heading_edit_subfields_p ) %] MARC subfield structure &rsaquo; Edit MARC subfields constraints[% END %][% ELSE %] MARC subfield structure &rsaquo; [% action %][% END %][% END %]
3
<title>Koha &rsaquo; Administration &rsaquo;[% IF ( add_form ) %][% IF ( use_heading_flags_p ) %][% IF ( heading_edit_subfields_p ) %] MARC subfield structure &rsaquo; Edit MARC subfields constraints[% END %][% ELSE %] MARC subfield structure &rsaquo; [% action %][% END %][% END %]
3
[% IF ( delete_confirm ) %] MARC subfield structure &rsaquo; Confirm deletion of subfield [% tagsubfield %][% END %][% IF ( delete_confirmed ) %] MARC subfield structure &rsaquo; Subfield deleted[% END %][% IF ( else ) %]MARC subfield structure[% END %]</title>
4
[% IF ( delete_confirm ) %] MARC subfield structure &rsaquo; Confirm deletion of subfield [% tagsubfield %][% END %][% IF ( delete_confirmed ) %] MARC subfield structure &rsaquo; Subfield deleted[% END %][% IF ( else ) %]MARC subfield structure[% END %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript" src="[% interface %]/[% theme %]/js/marc_subfields_structure.js"></script>
6
</head>
6
</head>
7
7
<body id="admin_marc_subfields_structure" class="admin">
8
<body id="admin_marc_subfields_structure" class="admin">
8
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'prefs-admin-search.inc' %]
10
[% INCLUDE 'prefs-admin-search.inc' %]
Lines 312-315 Link Here
312
    [% INCLUDE 'admin-menu.inc' %]
313
    [% INCLUDE 'admin-menu.inc' %]
313
</div>
314
</div>
314
</div>
315
</div>
316
317
[% MACRO jsinclude BLOCK %]
318
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
319
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/marc_subfields_structure.js"></script>
320
[% END %]
315
[% INCLUDE 'intranet-bottom.inc' %]
321
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-22 / +23 lines)
Lines 1-4 Link Here
1
[% USE AuthorisedValues %]
1
[% USE AuthorisedValues %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Administration &rsaquo;
4
<title>Koha &rsaquo; Administration &rsaquo;
4
[% IF ( add_form ) %]MARC frameworks &rsaquo; [% action %] [% searchfield %][% END %]
5
[% IF ( add_form ) %]MARC frameworks &rsaquo; [% action %] [% searchfield %][% END %]
Lines 7-35 Link Here
7
[% IF ( else ) %]MARC frameworks[% END %]</title>
8
[% IF ( else ) %]MARC frameworks[% END %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
10
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
10
[% INCLUDE 'datatables.inc' %]
11
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.cookie.min.js"></script>
12
13
<script type="text/javascript">
14
//<![CDATA[
15
16
$(document).ready(function() {
17
    $("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
18
        "aoColumnDefs": [
19
            { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
20
        ],
21
        "sPaginationType": "four_button"
22
    }));
23
    $("#select_display").on("change",function(){
24
        var checked = $(this).prop("checked") ? 1: 0;
25
        $.cookie('marctagstructure_selectdisplay', checked);
26
        this.form.submit();
27
    });
28
});
29
30
//]]>
31
</script>
32
</head>
11
</head>
12
33
<body id="admin_marctagstructure" class="admin">
13
<body id="admin_marctagstructure" class="admin">
34
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' %]
35
[% INCLUDE 'prefs-admin-search.inc' %]
15
[% INCLUDE 'prefs-admin-search.inc' %]
Lines 259-262 $(document).ready(function() { Link Here
259
[% INCLUDE 'admin-menu.inc' %]
239
[% INCLUDE 'admin-menu.inc' %]
260
</div>
240
</div>
261
</div>
241
</div>
242
243
[% MACRO jsinclude BLOCK %]
244
    [% INCLUDE 'datatables.inc' %]
245
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu.js"></script>
246
    <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.cookie.min.js"></script>
247
    <script type="text/javascript">
248
        $(document).ready(function() {
249
            $("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, {
250
                "aoColumnDefs": [
251
                    { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
252
                ],
253
                "sPaginationType": "four_button"
254
            }));
255
            $("#select_display").on("change",function(){
256
                var checked = $(this).prop("checked") ? 1: 0;
257
                $.cookie('marctagstructure_selectdisplay', checked);
258
                this.form.submit();
259
            });
260
        });
261
    </script>
262
[% END %]
262
[% INCLUDE 'intranet-bottom.inc' %]
263
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/admin-menu.js (-1 / +12 lines)
Line 0 Link Here
0
- 
1
$(document).ready(function() {
2
    var path = location.pathname.substring(1);
3
    if (path == "cgi-bin/koha/admin/marctagstructure.pl" || path == "cgi-bin/koha/admin/marc_subfields_structure.pl") {
4
        $('#navmenulist a[href$="/cgi-bin/koha/admin/biblio_framework.pl"]').css('font-weight','bold');
5
    } else if (path == "cgi-bin/koha/admin/auth_tag_structure.pl" || path == "cgi-bin/koha/admin/auth_subfields_structure.pl") {
6
        $('#navmenulist a[href$="/cgi-bin/koha/admin/authtypes.pl"]').css('font-weight','bold');
7
    } else if (path == "cgi-bin/koha/admin/oai_set_mappings.pl") {
8
        $('#navmenulist a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').css('font-weight','bold');
9
    } else {
10
        $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
11
    }
12
});

Return to bug 19594