From 85365f61f4dc81ae3fc28d92e6b676fccaffffeb Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Wed, 28 Nov 2012 17:51:03 +0100 Subject: [PATCH 3/3] Bug 8942: Translation process breaks javascript (followup 2) Signed-off-by: Owen Leonard Tested all changes. Functionality is unchanged. Thanks for the taking the extra effort to move alert strings into variables. Signed-off-by: Mason James --- koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc | 7 ++++++- .../intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt | 4 +++- .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 8 +++++--- koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc | 2 ++ koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-privacy.tt | 2 +- 6 files changed, 18 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index 3aa3139..a945bae 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -10,6 +10,11 @@ window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes'); } } + function PopupZ3950Confirmed() { + if (confirm(_("Please note that this Z39.50 search could replace the current record."))){ + PopupZ3950(); + } + } /* provide Z3950 search points */ function GetZ3950Terms(){ @@ -237,7 +242,7 @@ function confirm_items_deletion() { [% IF ( CAN_user_reserveforothers ) %] [% UNLESS ( norequests ) %]
  • Place hold
  • [% END %] [% END %] - [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
  • [% END %] + [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt index 2a9deda..8360534 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -9,6 +9,8 @@