Bug 21091: Move add item template JavaScript to a separate file
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / str / cataloging_additem.inc
1 <script>
2     var searchid = '[% searchid | html %]';
3     var biblionumber = '[% biblionumber | html %]';
4     var frameworkcode = '[% frameworkcode | html %]';
5     var popup = '[% popup | html %]';
6     var opisadd = '[% opisadd | html %]';
7     var LABEL_EDIT_ITEM = _("Edit item");
8     var LABEL_DELETE_ITEM = _("Delete item");
9     var MSG_FORM_NOT_SUBMITTED = _("Form not submitted because of the following problem(s)");
10     var MSG_MANDATORY_FIELDS_EMPTY = _("%s mandatory fields empty (highlighted)");
11     var MSG_ADD_MULTIPLE_ITEMS = _("You are about to add %s items. Continue?");
12     var MSG_ENTER_NUM_ITEMS = _("Please enter a number of items to create.");
13     var MSG_CONFIRM_DELETE_ITEM = _("Are you sure you want to delete this item?");
14     var MSG_CONFIRM_ADD_ITEM = _("Are you sure you want to add a new item? Any changes made on this page will be lost.");
15     var columns_settings = [% ColumnsSettings.GetColumns( 'cataloguing', 'additem', 'itemst', 'json' ) | $raw %];
16 </script>