1 <script type="text/javascript">
2 /* Strings for translation */
3 var MSG_REPLACE_RECORD = _("Please note that this external search could replace the current record.");
4 var MSG_DELETE_ALL_ITEMS = _("%s item(s) are attached to this record. You must delete all items before deleting this record.");
5 var CONFIRM_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?");
6 var MSG_USED_IN_ORDERS = _("%s order(s) are using this record. You need order managing permissions to delete this record.");
7 var CONFIRM_IN_DELETED_ORDERS = _("%s deleted order(s) are using this record. Are you sure you want to delete this record?");
8 var MSG_IN_DELTED_ORDERS = _("%s deleted order(s) are using this record. You need order managing permissions to delete this record.");
9 var CONFIRM_DELETION_HOLDS = _("%s holds(s) for this record. Are you sure you want to delete this record?");
10 var CONFIRM_RECORD_DELETION = _("Are you sure you want to delete this record?");
11 var MSG_DELETE_ALL_HOLDS = _("%s hold(s) on this record. You must delete all holds before deleting all items.");
12 var CONFIRM_DELETE_ITEMS = _("Are you sure you want to delete the %s attached items?");
13 var MSG_NO_ITEMS = _("This record has no items.");
15 /* Some required variables from the template */
16 var biblionumber = [% biblionumber %];
17 var count = [% count %];
18 var holdcount = [% holdcount %];
19 var countorders = [% countorders %];
20 var countdeletedorders = [% countdeletedorders %];
22 /* provide Z3950 search points */
23 function GetZ3950Terms(){
24 var strQuery="&frameworkcode=";
25 [% FOREACH z3950_search_param IN z3950_search_params %]
26 strQuery += "&" + "[% z3950_search_param.name |uri %]" + "=" + "[% z3950_search_param.value |uri %]";