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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc (+2 lines)
Lines 1-4 Link Here
1
[% INCLUDE 'blocking_errors.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
<!-- acquisitions-toolbar.inc -->
2
<script>
3
<script>
3
    function confirm_deletion() {
4
    function confirm_deletion() {
4
        if (confirm(_("Are you sure you want to delete this vendor?"))) {
5
        if (confirm(_("Are you sure you want to delete this vendor?"))) {
Lines 37-39 Link Here
37
            <div class="btn-group"><a class="btn btn-default" href="/cgi-bin/koha/acqui/supplier.pl?op=enter"><i class="fa fa-plus"></i> New vendor</a></div>
38
            <div class="btn-group"><a class="btn btn-default" href="/cgi-bin/koha/acqui/supplier.pl?op=enter"><i class="fa fa-plus"></i> New vendor</a></div>
38
        [% END %]
39
        [% END %]
39
</div>
40
</div>
41
<!-- / acquisitions-toolbar.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/additem.js.inc (+2 lines)
Lines 1-3 Link Here
1
<!-- additem.js.inc -->
1
<script>
2
<script>
2
    var MSG_ADDITEM_JS_ADDITEM = _("Add item");
3
    var MSG_ADDITEM_JS_ADDITEM = _("Add item");
3
    var MSG_ADDITEM_JS_ADDMULTI = _("Add multiple items");
4
    var MSG_ADDITEM_JS_ADDMULTI = _("Add multiple items");
Lines 12-14 Link Here
12
    var MSG_ADDITEM_JS_IS_DUPLICATE = _("is duplicated");
13
    var MSG_ADDITEM_JS_IS_DUPLICATE = _("is duplicated");
13
    var MSG_ADDITEM_JS_ALREADY_EXISTS_IN_DB = _("already exists in database");
14
    var MSG_ADDITEM_JS_ALREADY_EXISTS_IN_DB = _("already exists in database");
14
</script>
15
</script>
16
<!-- / additem.js.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc (+2 lines)
Lines 1-3 Link Here
1
<!-- authorities_js.inc -->
1
<script>
2
<script>
2
3
3
function mergeAuth(authid, summary) {
4
function mergeAuth(authid, summary) {
Lines 89-91 $(document).ready(function () { Link Here
89
});
90
});
90
91
91
</script>
92
</script>
93
<!-- / authorities_js.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc (+2 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<!-- calendar.inc -->
2
<script>
3
<script>
3
4
4
var debug    = "[% debug | html %]";
5
var debug    = "[% debug | html %]";
Lines 208-210 $("#dateofbirth").datepicker({ Link Here
208
    });
209
    });
209
});
210
});
210
</script>
211
</script>
212
<!-- / calendar.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc (+2 lines)
Lines 1-3 Link Here
1
<!-- catalog-strings.inc -->
1
<script>
2
<script>
2
    /* Strings for translation */
3
    /* Strings for translation */
3
    var MSG_REPLACE_RECORD = _("Please note that this external search could replace the current record.");
4
    var MSG_REPLACE_RECORD = _("Please note that this external search could replace the current record.");
Lines 28-30 Link Here
28
        return strQuery;
29
        return strQuery;
29
    }
30
    }
30
</script>
31
</script>
32
<!-- / catalog-strings.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (+2 lines)
Lines 8-13 Link Here
8
[% Asset.js("lib/keyboard/layouts/all.min.js") | $raw %]
8
[% Asset.js("lib/keyboard/layouts/all.min.js") | $raw %]
9
[% Asset.js("lib/koha/cateditor/marc-mode.js") | $raw %]
9
[% Asset.js("lib/koha/cateditor/marc-mode.js") | $raw %]
10
[% Asset.js("lib/require.js") | $raw %]
10
[% Asset.js("lib/require.js") | $raw %]
11
<!-- cateditor-ui.inc -->
11
<script>
12
<script>
12
[% FOREACH shortcut IN shortcuts -%]
13
[% FOREACH shortcut IN shortcuts -%]
13
    var [% shortcut.shortcut_name | html %] = "[% shortcut.shortcut_keys | html %]";
14
    var [% shortcut.shortcut_name | html %] = "[% shortcut.shortcut_keys | html %]";
Lines 1165-1167 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
1165
} )();
1166
} )();
1166
1167
1167
</script>
1168
</script>
1169
<!-- / cateditor-ui.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc (-1 / +2 lines)
Lines 69-75 Link Here
69
        <span title="Length of directory elements">4500</span>
69
        <span title="Length of directory elements">4500</span>
70
    </div>
70
    </div>
71
</div>
71
</div>
72
72
<!-- cateditor-widgets-marc21.inc -->
73
<script>
73
<script>
74
74
75
/**
75
/**
Lines 300-302 require( [ 'koha-backend', 'widget', 'text-marc' ], function( KohaBackend, Widge Link Here
300
} );
300
} );
301
301
302
</script>
302
</script>
303
<!-- / cateditor-widgets-marc21.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc (-1 / +2 lines)
Lines 1-5 Link Here
1
[% USE ColumnsSettings %]
1
[% USE ColumnsSettings %]
2
2
<!-- columns_settings.inc -->
3
<script>
3
<script>
4
function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) {
4
function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) {
5
    var counter = 0;
5
    var counter = 0;
Lines 152-154 function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { Link Here
152
}
152
}
153
153
154
</script>
154
</script>
155
<!-- / columns_settings.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/format_price.inc (+2 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<!-- format-price.inc -->
2
<script>
3
<script>
3
    [%# This should use the Format template plugin, but not pushed yet %]
4
    [%# This should use the Format template plugin, but not pushed yet %]
4
    [% IF Koha.Preference("CurrencyFormat") == 'FR' %]
5
    [% IF Koha.Preference("CurrencyFormat") == 'FR' %]
Lines 32-34 Link Here
32
            return value.replace('.', decimal_point).replace(new RegExp(re, 'g'), '$&' + thousands_sep);
33
            return value.replace('.', decimal_point).replace(new RegExp(re, 'g'), '$&' + thousands_sep);
33
    }
34
    }
34
</script>
35
</script>
36
<!-- / format-price.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/greybox.inc (+2 lines)
Lines 1-5 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
<!-- greybox.inc -->
3
<script>
4
<script>
4
    var GB_ROOT_DIR = "[% interface | html %]/lib/greybox/";
5
    var GB_ROOT_DIR = "[% interface | html %]/lib/greybox/";
5
</script>
6
</script>
Lines 7-9 Link Here
7
[% Asset.js("lib/greybox/AJS_fx.js") | $raw %]
8
[% Asset.js("lib/greybox/AJS_fx.js") | $raw %]
8
[% Asset.js("lib/greybox/gb_scripts.js") | $raw %]
9
[% Asset.js("lib/greybox/gb_scripts.js") | $raw %]
9
[% Asset.css("lib/greybox/gb_styles.css") | $raw %]
10
[% Asset.css("lib/greybox/gb_styles.css") | $raw %]
11
<!-- / greybox.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table-strings.inc (+2 lines)
Lines 1-3 Link Here
1
<!-- ill-list-table-strings.inc -->
1
<script>
2
<script>
2
    var ill_borrower_details = _("View borrower details");
3
    var ill_borrower_details = _("View borrower details");
3
    var ill_biblio_details = _("View biblio details");
4
    var ill_biblio_details = _("View biblio details");
Lines 17-19 Link Here
17
        updated: _("Updated on")
18
        updated: _("Updated on")
18
    };
19
    };
19
</script>
20
</script>
21
<!-- / ill-list-table-strings.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc (+2 lines)
Lines 5-10 Link Here
5
        [% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") | $raw %]
5
        [% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") | $raw %]
6
        [% Asset.js("lib/bootstrap/bootstrap.min.js") | $raw %]
6
        [% Asset.js("lib/bootstrap/bootstrap.min.js") | $raw %]
7
        [% Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %]
7
        [% Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %]
8
        <!-- installer-intranet-bottom.inc -->
8
        <script>
9
        <script>
9
            function _(s) { return s } // dummy function for gettext
10
            function _(s) { return s } // dummy function for gettext
10
            [%# Prevent XFS attacks -%]
11
            [%# Prevent XFS attacks -%]
Lines 17-22 Link Here
17
               }
18
               }
18
            });
19
            });
19
        </script>
20
        </script>
21
        <!-- / installer-intranet-bottom.inc -->
20
        [% jsinclude | $raw # Parse the page template's JavaScript block if necessary %]
22
        [% jsinclude | $raw # Parse the page template's JavaScript block if necessary %]
21
    </body>
23
    </body>
22
</html>
24
</html>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-strings.inc (+2 lines)
Lines 1-3 Link Here
1
<!-- installer-strings.inc -->
1
<script>
2
<script>
2
    var MSG_LETTERS_ONLY=(_("Please only enter letters."));
3
    var MSG_LETTERS_ONLY=(_("Please only enter letters."));
3
    var MSG_PASSWORD_MISMATCH=(_("The entered passwords do not match"));
4
    var MSG_PASSWORD_MISMATCH=(_("The entered passwords do not match"));
Lines 5-7 Link Here
5
    var MSG_ONLY_ONE_ENROLLMENTPERIOD=(_("Please only choose one enrollment period."));
6
    var MSG_ONLY_ONE_ENROLLMENTPERIOD=(_("Please only choose one enrollment period."));
6
    var MSG_LETTERS_NUMBERS_ONLY=(_("Please only enter letters or numbers."));
7
    var MSG_LETTERS_NUMBERS_ONLY=(_("Please only enter letters or numbers."));
7
</script>
8
</script>
9
<!-- / installer-strings.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc (+2 lines)
Lines 4-9 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% Asset.js("lib/moment/moment.min.js") | $raw %]
5
[% Asset.js("lib/moment/moment.min.js") | $raw %]
6
[% Asset.js("lib/moment/moment-timezone-with-data-10-year-range.min.js") | $raw %]
6
[% Asset.js("lib/moment/moment-timezone-with-data-10-year-range.min.js") | $raw %]
7
<!-- js-date-format.inc -->
7
<script>
8
<script>
8
    (function() {
9
    (function() {
9
        var def_date_format = '[% Koha.Preference('dateformat') | html %]';
10
        var def_date_format = '[% Koha.Preference('dateformat') | html %]';
Lines 66-68 Link Here
66
67
67
    })();
68
    })();
68
</script>
69
</script>
70
<!-- / js-date-format.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc (+9 lines)
Lines 29-41 Link Here
29
29
30
[% INCLUDE 'validator-strings.inc' %]
30
[% INCLUDE 'validator-strings.inc' %]
31
[% IF ( IntranetUserJS ) %]
31
[% IF ( IntranetUserJS ) %]
32
    <!-- js_includes.inc: IntranetUserJS -->
32
    <script>
33
    <script>
33
    [% IntranetUserJS | $raw %]
34
    [% IntranetUserJS | $raw %]
34
    </script>
35
    </script>
36
    <!-- / js_includes.inc: IntranetUserJS -->
35
[% END %]
37
[% END %]
36
38
39
<!-- js_includes.inc -->
37
[% IF ( virtualshelves || intranetbookbag ) %]
40
[% IF ( virtualshelves || intranetbookbag ) %]
38
    <script>
41
    <script>
42
        // virtualshelves || intranetbookbag
39
        var MSG_BASKET_EMPTY = _("Your cart is currently empty");
43
        var MSG_BASKET_EMPTY = _("Your cart is currently empty");
40
        var MSG_RECORD_IN_BASKET = _("This item is already in your cart");
44
        var MSG_RECORD_IN_BASKET = _("This item is already in your cart");
41
        var MSG_RECORD_ADDED = _("This item has been added to your cart");
45
        var MSG_RECORD_ADDED = _("This item has been added to your cart");
Lines 58-69 Link Here
58
[% IF LocalCoverImages %]
62
[% IF LocalCoverImages %]
59
    [% Asset.js("js/localcovers.js") | $raw %]
63
    [% Asset.js("js/localcovers.js") | $raw %]
60
    <script>
64
    <script>
65
        // LocalCoverImages
61
        var NO_LOCAL_JACKET = _("No cover image available");
66
        var NO_LOCAL_JACKET = _("No cover image available");
62
    </script>
67
    </script>
63
[% END %]
68
[% END %]
64
69
65
[% IF Koha.Preference('AudioAlerts') || AudioAlertsPage %]
70
[% IF Koha.Preference('AudioAlerts') || AudioAlertsPage %]
66
    <script>
71
    <script>
72
        // AudioAlerts
67
        var AUDIO_ALERT_PATH = '[% interface | html %]/[% theme | html %]/sound/';
73
        var AUDIO_ALERT_PATH = '[% interface | html %]/[% theme | html %]/sound/';
68
        var AUDIO_ALERTS = JSON.parse( "[% To.json(AudioAlerts.AudioAlerts) | $raw %]" );
74
        var AUDIO_ALERTS = JSON.parse( "[% To.json(AudioAlerts.AudioAlerts) | $raw %]" );
69
75
Lines 84-89 Link Here
84
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
90
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
85
    [% IF ( PatronAutoComplete ) %]
91
    [% IF ( PatronAutoComplete ) %]
86
        <script>
92
        <script>
93
            // PatronAutoComplete && CAN_user_circulate_circulate_remaining_permissions
87
            $(document).ready(function(){
94
            $(document).ready(function(){
88
                var obj = $( "#findborrower" ).autocomplete({
95
                var obj = $( "#findborrower" ).autocomplete({
89
                    source: "/cgi-bin/koha/circ/ysearch.pl",
96
                    source: "/cgi-bin/koha/circ/ysearch.pl",
Lines 112-117 Link Here
112
[% END %]
119
[% END %]
113
[% IF ( PatronAutoComplete ) %]
120
[% IF ( PatronAutoComplete ) %]
114
    <script>
121
    <script>
122
    // PatronAutoComplete
115
    $(document).ready(function(){
123
    $(document).ready(function(){
116
        var obj = $( "#searchmember" ).autocomplete({
124
        var obj = $( "#searchmember" ).autocomplete({
117
            source: "/cgi-bin/koha/circ/ysearch.pl",
125
            source: "/cgi-bin/koha/circ/ysearch.pl",
Lines 137-139 Link Here
137
    });
145
    });
138
    </script>
146
    </script>
139
[% END %]
147
[% END %]
148
<!-- / js_includes.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/merge-record-strings.inc (+2 lines)
Lines 1-5 Link Here
1
[%# transletable strings for merge-record.js %]
1
[%# transletable strings for merge-record.js %]
2
<!-- merge-record-strings.inc -->
2
<script>
3
<script>
3
    var MSG_MERGEREC_ALREADY_EXISTS = _("The field is non-repeatable and already exists in the destination record. Therefore, you cannot add it.");
4
    var MSG_MERGEREC_ALREADY_EXISTS = _("The field is non-repeatable and already exists in the destination record. Therefore, you cannot add it.");
4
    var MSG_MERGEREC_SUBFIELD_ALREADY_EXISTS = _("The subfield is non-repeatable and already exists in the destination record. Therefore, you cannot add it.");
5
    var MSG_MERGEREC_SUBFIELD_ALREADY_EXISTS = _("The subfield is non-repeatable and already exists in the destination record. Therefore, you cannot add it.");
5
</script>
6
</script>
7
<!-- / merge-record-strings.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/password_check.inc (+2 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% BLOCK add_password_check %]
2
[% BLOCK add_password_check %]
3
<!-- password_check.inc -->
3
<script>
4
<script>
4
    var pwd_title = "";
5
    var pwd_title = "";
5
    var pattern_title = "";
6
    var pattern_title = "";
Lines 22-25 Link Here
22
        return value == $(new_password_node).val();
23
        return value == $(new_password_node).val();
23
    }, _("Please enter the same password as above"));
24
    }, _("Please enter the same password as above"));
24
</script>
25
</script>
26
<!-- / password_check.inc -->
25
[% END %]
27
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc (+2 lines)
Lines 3-8 Link Here
3
[% Asset.js("lib/select2/js/select2.min.js") | $raw %]
3
[% Asset.js("lib/select2/js/select2.min.js") | $raw %]
4
[% Asset.css("lib/select2/css/select2.min.css") | $raw %]
4
[% Asset.css("lib/select2/css/select2.min.css") | $raw %]
5
[% Asset.css("css/select2.css") | $raw %]
5
[% Asset.css("css/select2.css") | $raw %]
6
<!-- select2.inc -->
6
<script>
7
<script>
7
  jQuery.extend($.fn.select2.defaults, {
8
  jQuery.extend($.fn.select2.defaults, {
8
    allowClear: true,
9
    allowClear: true,
Lines 52-54 Link Here
52
    }
53
    }
53
  });
54
  });
54
</script>
55
</script>
56
<!-- / select2.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc (+2 lines)
Lines 1-4 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
<!-- slip-print.inc -->
2
<script>
3
<script>
3
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
4
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
4
    [% Koha.Preference('IntranetSlipPrinterJS') | $raw %]
5
    [% Koha.Preference('IntranetSlipPrinterJS') | $raw %]
Lines 9-11 Link Here
9
    });
10
    });
10
[% END %]
11
[% END %]
11
</script>
12
</script>
13
<!-- / slip-print.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/str/cataloging_additem.inc (+2 lines)
Lines 1-4 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
<!-- str/cataloging_additem.inc -->
2
<script>
3
<script>
3
    var searchid = '[% searchid | html %]';
4
    var searchid = '[% searchid | html %]';
4
    var biblionumber = '[% biblionumber | html %]';
5
    var biblionumber = '[% biblionumber | html %]';
Lines 21-23 Link Here
21
    var MSG_CONFIRM_SAVE = _("Are you sure you want to save?");
22
    var MSG_CONFIRM_SAVE = _("Are you sure you want to save?");
22
    var columns_settings = [% ColumnsSettings.GetColumns( 'cataloguing', 'additem', 'itemst', 'json' ) | $raw %];
23
    var columns_settings = [% ColumnsSettings.GetColumns( 'cataloguing', 'additem', 'itemst', 'json' ) | $raw %];
23
</script>
24
</script>
25
<!-- / str/cataloging_additem.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/str/members-menu.inc (-1 / +2 lines)
Lines 1-7 Link Here
1
[% USE scalar %]
1
[% USE scalar %]
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Categories %]
3
[% USE Categories %]
4
4
<!-- str/members-menu.inc -->
5
<script>
5
<script>
6
    var MSG_CONFIRM_RENEW_PATRON = _("Are you sure you want to renew this patron's registration?");
6
    var MSG_CONFIRM_RENEW_PATRON = _("Are you sure you want to renew this patron's registration?");
7
    var MSG_CONFIRM_UPDATE_CHILD = _("Are you sure you want to update this child to an Adult category? This cannot be undone.");
7
    var MSG_CONFIRM_UPDATE_CHILD = _("Are you sure you want to update this child to an Adult category? This cannot be undone.");
Lines 41-43 Link Here
41
        });
41
        });
42
    [% END %]
42
    [% END %]
43
</script>
43
</script>
44
<!-- / str/members-menu.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/str/tinymce_i18n.inc (-1 / +3 lines)
Lines 1-3 Link Here
1
<!-- str/tinymce_i18n.inc -->
1
<script>
2
<script>
2
    /* tinymce considers 'en' to be the default translation.
3
    /* tinymce considers 'en' to be the default translation.
3
       Translating this file will allow us to load the correct language
4
       Translating this file will allow us to load the correct language
Lines 397-400 Link Here
397
        "{ 0 } words ": _("{ 0 } words "),
398
        "{ 0 } words ": _("{ 0 } words "),
398
        "{0} words": _("{0} words"),
399
        "{0} words": _("{0} words"),
399
    });
400
    });
400
</script>
401
</script>
402
<!-- / str/tinymce_i18n.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc (+2 lines)
Lines 1-3 Link Here
1
<!-- strings.inc -->
1
<script>
2
<script>
2
    var CIRCULATION_RETURNED = _("Checked in");
3
    var CIRCULATION_RETURNED = _("Checked in");
3
    var CIRCULATION_NOT_RETURNED = _("Unable to check in");
4
    var CIRCULATION_NOT_RETURNED = _("Unable to check in");
Lines 57-59 Link Here
57
    var BROWSER_PREVIOUS = _("Previous");
58
    var BROWSER_PREVIOUS = _("Previous");
58
    var BROWSER_NEXT = _("Next");
59
    var BROWSER_NEXT = _("Next");
59
</script>
60
</script>
61
<!-- / strings.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc (+2 lines)
Lines 1-3 Link Here
1
<!-- timepicker.inc -->
1
<script>
2
<script>
2
    /* Localization of the timepicker plugin */
3
    /* Localization of the timepicker plugin */
3
    jQuery(function($){
4
    jQuery(function($){
Lines 20-22 Link Here
20
        $.timepicker.setDefaults($.timepicker.regional['']);
21
        $.timepicker.setDefaults($.timepicker.regional['']);
21
    });
22
    });
22
</script>
23
</script>
24
<!-- / timepicker.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc (+2 lines)
Lines 1-3 Link Here
1
<!-- validator-strings.inc -->
1
<script>
2
<script>
2
    $(document).ready(function(){
3
    $(document).ready(function(){
3
        jQuery.extend(jQuery.validator.messages, {
4
        jQuery.extend(jQuery.validator.messages, {
Lines 20-22 Link Here
20
        });
21
        });
21
    });
22
    });
22
</script>
23
</script>
24
<!-- / validator-strings.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc (-1 / +2 lines)
Lines 3-9 Link Here
3
[% #Enable tinymce for system preferences %]
3
[% #Enable tinymce for system preferences %]
4
[% Asset.js("lib/tiny_mce/tinymce.min.js") | $raw %]
4
[% Asset.js("lib/tiny_mce/tinymce.min.js") | $raw %]
5
[% INCLUDE 'str/tinymce_i18n.inc' %]
5
[% INCLUDE 'str/tinymce_i18n.inc' %]
6
6
<!-- wysiwyg-systempreferences.inc -->
7
<script>
7
<script>
8
    // Save TinyMCE content and trigger an event on the original element
8
    // Save TinyMCE content and trigger an event on the original element
9
    function wysiwyg_change (ed){
9
    function wysiwyg_change (ed){
Lines 32-34 Link Here
32
        }
32
        }
33
    });
33
    });
34
</script>
34
</script>
35
<!-- / wysiwyg-systempreferences.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950_search.inc (-1 / +2 lines)
Lines 1-3 Link Here
1
<!-- z3950_search.inc -->
1
<script>
2
<script>
2
3
3
    var MSG_CHOOSE_Z3950 = _("Please choose at least one external target");
4
    var MSG_CHOOSE_Z3950 = _("Please choose at least one external target");
Lines 24-26 function validate_goto_page(){ Link Here
24
[% END %]
25
[% END %]
25
26
26
</script>
27
</script>
27
- 
28
<!-- / z3950_search.inc -->

Return to bug 25002