2 <!-- catalog-strings.inc -->
4 /* Strings for translation */
5 var MSG_REPLACE_RECORD = _("Please note that this external search could replace the current record.");
6 var MSG_DELETE_ALL_ITEMS = _("%s item(s) are attached to this record. You must delete all items before deleting this record.");
7 var CONFIRM_RECORD_USED_IN_ORDERS = _("Warning: This record is used in %s order(s). Deleting it could cause serious issues on acquisition module. Are you sure you want to delete this record?");
8 var MSG_RECORD_USED_IN_ORDERS = _("%s order(s) are using this record. You need order managing permissions to delete this record.");
9 var CONFIRM_IN_DELETED_ORDERS = _("%s deleted order(s) are using this record. Are you sure you want to delete this record?");
10 var MSG_IN_DELETED_ORDERS = _("%s deleted order(s) are using this record. You need order managing permissions to delete this record.");
11 var CONFIRM_DELETION_HOLDS = _("%s holds(s) for this record. Are you sure you want to delete this record?");
12 var CONFIRM_RECORD_DELETION = _("Are you sure you want to delete this record?");
13 var MSG_DELETE_ALL_HOLDS = _("%s hold(s) on this record. You must delete all holds before deleting all items.");
14 var CONFIRM_DELETE_ITEMS = _("Are you sure you want to delete the %s attached items?");
15 var MSG_NO_ITEMS = _("This record has no items.");
17 /* Some required variables from the template */
18 var biblionumber = [% biblionumber | html %];
19 var count = [% count | html %];
20 var holdcount = [% holdcount | html %];
21 [% SET orders = biblio.orders %]
22 [% SET current = Context.Scalar(orders, "filter_by_current") %]
23 [% SET cancelled = Context.Scalar(orders, "filter_by_cancelled") %]
24 var countorders = [% current.count || 0 | html %];
25 var countdeletedorders = [% cancelled.count || 0 | html %];
26 var searchid = '[% searchid | html %]';
28 /* provide Z3950 search points */
29 function GetZ3950Terms(){
30 var strQuery="&frameworkcode=";
31 [% FOREACH z3950_search_param IN z3950_search_params %]
32 strQuery += "&" + "[% z3950_search_param.name |uri %]" + "=" + "[% z3950_search_param.value |uri %]";
37 <!-- / catalog-strings.inc -->