From 1c9ef0f9aeb35d42068db99615db677974c95d16 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 8 Apr 2011 07:08:54 +1200 Subject: [PATCH] Bug 5917 : Tracking template changes --- .../prog/en/includes/background-job.inc | 2 +- .../prog/en/includes/circ-menu.inc | 2 +- .../en/includes/labels-batches-toolbar.inc | 10 +-- .../includes/patroncards-batches-toolbar.inc | 10 +-- .../prog/en/modules/acqui/basket.tt | 9 ++- .../prog/en/modules/acqui/basketgroup.tt | 3 + .../prog/en/modules/acqui/neworderempty.tt | 6 +- .../prog/en/modules/acqui/orderreceive.tt | 16 ++-- .../prog/en/modules/admin/aqbudgets.tt | 4 +- .../prog/en/modules/admin/aqplan.tt | 2 +- .../prog/en/modules/admin/biblio_framework.tt | 6 +- .../prog/en/modules/admin/cities.tt | 2 +- .../prog/en/modules/admin/stopwords.tt | 2 +- .../modules/authorities/searchresultlist.tt | 7 +- .../prog/en/modules/cataloguing/additem.tt | 2 +- .../cataloguing/value_builder/macles.tt | 2 +- .../en/modules/labels/label-edit-batch.tt | 2 +- .../prog/en/modules/labels/label-manage.tt | 8 +- .../en/modules/members/moremember-print.tt | 4 +- .../prog/en/modules/members/moremember.tt | 2 + .../en/modules/offline_circ/process_koc.tt | 6 +- .../en/modules/patroncards/image-manage.tt | 2 +- .../prog/en/modules/patroncards/manage.tt | 8 +- .../en/modules/serials/checkexpiration.tt | 2 +- .../en/modules/serials/serials-recieve.tt | 2 +- .../prog/en/modules/tools/cleanborrowers.tt | 4 +- .../en/modules/tools/stage-marc-import.tt | 2 +- .../prog/en/modules/tools/viewlog.tt | 73 +++++++++++++++++++ .../prog/en/modules/virtualshelves/shelves.tt | 2 +- .../en/xslt/MARC21slim2intranetDetail.xsl | 6 +- .../prog/en/modules/opac-results-grouped.tt | 4 +- .../opac-tmpl/prog/en/modules/opac-results.tt | 4 +- .../opac-tmpl/prog/en/modules/opac-review.tt | 4 +- .../opac-tmpl/prog/en/modules/opac-shelves.tt | 2 +- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 6 +- 35 files changed, 157 insertions(+), 71 deletions(-) diff --git a/koha-tt/intranet-tmpl/prog/en/includes/background-job.inc b/koha-tt/intranet-tmpl/prog/en/includes/background-job.inc index 7d65d4d538..b18d5ce39a 100644 --- a/koha-tt/intranet-tmpl/prog/en/includes/background-job.inc +++ b/koha-tt/intranet-tmpl/prog/en/includes/background-job.inc @@ -73,7 +73,7 @@ backgroundJobProgressTimer = setInterval("updateJobProgress()", 500); }, error: function(xml, textStatus) { - alert('Failed to submit form: ' + textStatus); + alert(_('Failed to submit form: ') + textStatus); } }); diff --git a/koha-tt/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tt/intranet-tmpl/prog/en/includes/circ-menu.inc index 16dc106516..a5e07bba3f 100644 --- a/koha-tt/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tt/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -62,7 +62,7 @@ [% IF ( finesview ) %]
  • [% ELSE %]
  • [% END %]Fines
  • [% END %] [% IF ( intranetreadinghistory ) %][% IF ( readingrecordview ) %]
  • [% ELSE %]
  • [% END %]Circulation History
  • [% END %] - [% IF ( CAN_user_parameters ) %][% IF ( logview ) %]
  • [% ELSE %]
  • [% END %]Modification Log
  • [% END %] + [% IF ( CAN_user_parameters ) %][% IF ( logview ) %]
  • [% ELSE %]
  • [% END %]Modification Log
  • [% END %] [% IF ( EnhancedMessagingPreferences ) %] [% IF ( messagingview ) %]
  • [% ELSE %]
  • [% END %]Messaging
  • [% END %] diff --git a/koha-tt/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc b/koha-tt/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc index a129de0875..1ef23ed76b 100644 --- a/koha-tt/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc +++ b/koha-tt/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc @@ -22,7 +22,7 @@ } } if (items.length < 1) { - alert("Please select at least one item to delete."); + alert(_("Please select at least one item to delete.")); return; // no item selected } getstr = items.join("&"); @@ -34,7 +34,7 @@ // var msg = "Are you sure you want to remove selected item from this batch?" // } else { - alert("Please select at least label to delete."); + alert(_("Please select at least label to delete.")); return; // no item selected } var answer = confirm(msg); @@ -67,7 +67,7 @@ } } if (labels.length < 1) { - alert("Please select at least one label to export."); + alert(_("Please select at least one label to export.")); return; // no batch selected } getstr = labels.join("&"); @@ -76,7 +76,7 @@ getstr = document.items.action.value; } else { - alert("Please select at least one label to export."); + alert(_("Please select at least one label to export.")); return; // no batch selected } return GB_showCenter('Export Labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800); @@ -101,7 +101,7 @@ return(document.items.action.value); } }; - alert("Please select at least one item."); + alert(_("Please select at least one item.")); return (-1); }; diff --git a/koha-tt/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc b/koha-tt/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc index deff7fb20d..db49c6ca2a 100644 --- a/koha-tt/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc +++ b/koha-tt/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc @@ -22,7 +22,7 @@ } } if (items.length < 1) { - alert("Please select at least one item to delete."); + alert(_("Please select at least one item to delete.")); return; // no item selected } getstr = items.join("&"); @@ -34,7 +34,7 @@ // var msg = "Are you sure you want to remove selected item from this batch?" // } else { - alert("Please select at least label to delete."); + alert(_("Please select at least label to delete.")); return; // no item selected } var answer = confirm(msg); @@ -61,7 +61,7 @@ } } if (patroncards.length < 1) { - alert("Please select at least one card to export."); + alert(_("Please select at least one card to export.")); return; // no batch selected } getstr = patroncards.join("&"); @@ -70,7 +70,7 @@ getstr = document.items.action.value; } else { - alert("Please select at least one card to export."); + alert(_("Please select at least one card to export.")); return; // no batch selected } return GB_showCenter('Export Labels', "/cgi-bin/koha/patroncards/print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800); @@ -95,7 +95,7 @@ return(document.items.action.value); } }; - alert("Please select at least one item."); + alert(_("Please select at least one item.")); return (-1); }; diff --git a/koha-tt/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tt/intranet-tmpl/prog/en/modules/acqui/basket.tt index 7c35fca68f..8651a12158 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -33,6 +33,13 @@ window.location = "[% script_name %]?op=delete_confirm&basketno=[% basketno %]&booksellerid=[% booksellerid %]"; } } + function confirm_delete_item(ordernumber, biblionumber) { + var is_confirmed = confirm(_('Are you sure you want to delete this order ?')); + if (is_confirmed) { + window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno=[% basketno %]&quantity=0&biblionumber="+biblionumber; + } + } + //]]> [% ELSE %] @@ -270,7 +277,7 @@ Modify - Delete + Delete [% END %] [% END %] diff --git a/koha-tt/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt b/koha-tt/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt index 85bffa6ad3..ba12d7b890 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt @@ -232,6 +232,9 @@ function submitForm(form) { [% END %] +

    or

    +

    +

    diff --git a/koha-tt/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tt/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 376b6cf5f2..05082dbb50 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -78,13 +78,13 @@ $(document).ready(function() // if user decreases the quantity if($(this).val() < [% quantityrec %]) { - alert("You have deleted item(s) in the order, don't forget to delete it(them) in the catalog"); + alert(_("You have deleted item(s) in the order, don't forget to delete it(them) in the catalog")); return true; } else { // if user increases the quantity - alert("You can't add a new item, please create a new order line"); + alert(_("You can't add a new item, please create a new order line")); // and we replace the original value $(this).val([% quantityrec %]) return false; @@ -405,7 +405,7 @@ $(document).ready(function()
  • - +
  • The 2 following fields are available for your own usage. They can be useful for statistical purposes
    diff --git a/koha-tt/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tt/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index e954a5410b..746155f1ed 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -90,35 +90,35 @@ Accounting details
    1. [% datereceived %]
    2. -
    3. +
    4. [% IF ( edit ) %] [% ELSE %] [% END %]
    5. -
    6. +
    7. [% IF ( quantityreceived ) %] [% IF ( edit ) %] - + [% ELSE %] [% IF ( items ) %] - + [% ELSE %] - + [% END %] [% END %] [% ELSE %] [% IF ( items ) %] - + [% ELSE %] - + [% END %] [% END %] -
    8. +
    9. diff --git a/koha-tt/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tt/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index 25d84e59a1..1b3ad2e8da 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -328,7 +328,7 @@
    10. - +
    11. - + [% IF ( budget_lines ) %] diff --git a/koha-tt/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt b/koha-tt/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt index 6d1de22c7e..cfe657a097 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt @@ -73,7 +73,7 @@ $(document).ready(function() { var matches = new RegExp("\\?error_import_export=(.+)$").exec(window.location.search); if (matches && matches.length > 1) { - alert("Error importing the framework " + decodeURIComponent(matches[1])); + alert(_("Error importing the framework ") + decodeURIComponent(matches[1])); } }); @@ -82,7 +82,7 @@ $(document).ready(function() { var filename = $(this).val(); if ( ! /(?:\.csv|\.sql|\.ods|\.xml)$/.test(filename)) { $(this).css("background-color","yellow"); - alert('Please select an ods or xml file'); + alert(_('Please select an ods or xml file')); $(this).val(""); $(this).css("background-color","white"); } @@ -110,7 +110,7 @@ $(document).ready(function() { return false; } obj.css("background-color","yellow"); - alert('Please select an spreadsheet (csv, ods, xml) or sql file'); + alert(_('Please select an spreadsheet (csv, ods, xml) or sql file')); obj.val(""); obj.css("background-color","white"); return false; diff --git a/koha-tt/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tt/intranet-tmpl/prog/en/modules/admin/cities.tt index c2ca978be9..dd254202ab 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/admin/cities.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/admin/cities.tt @@ -13,7 +13,7 @@ // - + [% UNLESS ( isEDITORS ) %] [% END %] @@ -63,10 +63,11 @@ function searchauthority() { [% ELSE %] [% END %] - + + [% UNLESS ( resul.isEDITORS ) %] [% END %] - + @@ -37,7 +37,7 @@ - + diff --git a/koha-tt/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tt/intranet-tmpl/prog/en/modules/members/moremember.tt index f99b7bbf92..abcd73a55e 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -564,6 +564,7 @@ function validate1(date) {
      SummarySummaryUsed in
      [% resul.summary %][% resul.summary %]Details - [% resul.used %] biblio(s) + [% resul.used %] biblio(s) diff --git a/koha-tt/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tt/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index 0e3f4d529e..89957fb96f 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -160,7 +160,7 @@ $(document).ready(function() { }); function set_to_today(id, force) { - if (! id) { alert("Bad id " + id + " sent to set_to_today()"); return 0; } + if (! id) { alert(_("Bad id ") + id + _(" sent to set_to_today()")); return 0; } if ($("#" + id).val() == '' || $("#" + id).val() == '0000-00-00' || force) { $("#" + id).val("[% today_iso %]"); } diff --git a/koha-tt/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt b/koha-tt/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt index b851cce1b0..9a3fe810dd 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt @@ -157,7 +157,7 @@ function add_macles(myvalue) //for (i=0;i< (mycountMACLESgen - mycountMACLESinit);i++){ // PluginAddField(myvalue); //} - alert("veuillez d'abord creer le nombre de champs necessaires "); + alert(_("veuillez d'abord creer le nombre de champs necessaires ")); } else { // Pour chaque valeur cochee, ajouter la valeur dans un noeud MACLES. for (i=0;i diff --git a/koha-tt/intranet-tmpl/prog/en/modules/members/moremember-print.tt b/koha-tt/intranet-tmpl/prog/en/modules/members/moremember-print.tt index a25931875b..0452614ecd 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/members/moremember-print.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/members/moremember-print.tt @@ -22,7 +22,7 @@
      Title AuthorFormatItem Type Date Due Charge Price [% issueloo.author %][% issueloo.itemtype %][% issueloo.itemtype_description %] [% issueloo.date_due %] [% issueloo.charge %] [% issueloo.replacementprice %]
  • [% END %] +
    [% IF ( reservloop ) %] @@ -617,6 +618,7 @@ function validate1(date) { [% ELSE %]

    Patron has nothing checked out.

    [% END %] +
    diff --git a/koha-tt/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt b/koha-tt/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt index 19ed8e11bd..6a66b6a375 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt @@ -10,7 +10,7 @@ $(document).ready(function(){ }); function CheckUpload(f){ if(f.fileToUpload.value == ""){ - alert("Please choose a file to upload"); + alert(_("Please choose a file to upload")); } else { return ajaxFileUpload() } @@ -18,7 +18,7 @@ function CheckUpload(f){ } function CheckForm(f) { if (f.uploadedfileid.value == '') { - alert('Please upload a file first.'); + alert(_('Please upload a file first.')); } else { $("#fileuploadstatus").hide(); $("#fileuploadform").slideUp(); @@ -84,4 +84,4 @@ function CheckForm(f) { -[% INCLUDE 'intranet-bottom.inc' %] \ No newline at end of file +[% INCLUDE 'intranet-bottom.inc' %] diff --git a/koha-tt/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt b/koha-tt/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt index 0e7a8d8657..642de1db52 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt @@ -32,7 +32,7 @@ else if (document.delete_images.action.checked){ return {images:"batch_id="+document.delete_images.action.value, image_ids:document.delete_images.action.value}; }; - alert("Please select image(s) to " + op + "."); + alert(_("Please select image(s) to ") + op + "."); return (-1); }; function showHideLayers(element, time, action) { diff --git a/koha-tt/intranet-tmpl/prog/en/modules/patroncards/manage.tt b/koha-tt/intranet-tmpl/prog/en/modules/patroncards/manage.tt index 57ea86db3d..adf966ef54 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/patroncards/manage.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/patroncards/manage.tt @@ -38,7 +38,7 @@ } } if (batches.length < 1) { - alert("Please select at least one batch to export."); + alert(_('Please select at least one batch to export.')); return; // no batch selected } getstr = batches.join("&"); @@ -47,7 +47,7 @@ getstr = "batch_id="+document.layouts.action.value; } else { - alert("Please select at least one batch to export."); + alert(_('Please select at least one batch to export.')); return; // no batch selected } return GB_showCenter('Export Patron Cards', "/cgi-bin/koha/patroncards/print.pl?" + getstr, 700, 800); @@ -64,7 +64,7 @@ return(document.layouts.action[selected[0]].value); } else { - alert("Please select only one [% card_element %] to " + op + "."); + alert(_('Please select only one ')+'[% card_element %]'+_(' to ') + op + '.'); return (-1); } } @@ -73,7 +73,7 @@ return(document.layouts.action.value); } }; - alert("Please select a [% card_element %]."); + alert(_('Please select a ')+'[% card_element %].'); return (-1); }; //]]> diff --git a/koha-tt/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt b/koha-tt/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt index 8baf1ab697..246eb4937a 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt @@ -13,7 +13,7 @@ return true; } else { - alert("You must enter a date !"); + alert(_("You must enter a date !")); document.f.date.focus(); return false; } diff --git a/koha-tt/intranet-tmpl/prog/en/modules/serials/serials-recieve.tt b/koha-tt/intranet-tmpl/prog/en/modules/serials/serials-recieve.tt index 7a877ebd29..33f267ab36 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/serials/serials-recieve.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/serials/serials-recieve.tt @@ -306,7 +306,7 @@ function barcode_check(){

    Note: Subscription is about to expire next issue.

    [% END %] diff --git a/koha-tt/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt b/koha-tt/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt index fc4f553c55..3d0fd2a4a4 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt @@ -11,14 +11,14 @@ function checkForm(form) { if((form.checkbox[0].checked)){ if(!(form.date1.value)){ - alert("please enter a date !"); + alert(_("please enter a date !")); document.form.date1.focus(); return false; } } if((form.checkbox[1].checked)){ if(!(form.date2.value)){ - alert("please enter a date !"); + alert(_("please enter a date !")); document.form.date2.focus(); return false; } diff --git a/koha-tt/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt b/koha-tt/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt index 648ce10731..a0d9cb4f8e 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt @@ -17,7 +17,7 @@ $(document).ready(function(){ }); function CheckForm(f) { if ($("#fileToUpload").value == '') { - alert('Please upload a file first.'); + alert(_('Please upload a file first.')); } else { return submitBackgroundJob(f); } diff --git a/koha-tt/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tt/intranet-tmpl/prog/en/modules/tools/viewlog.tt index 5995c04fa1..c109744b9a 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -27,6 +27,7 @@
    + [% IF ( CAN_user_reports ) %]

    Browse system logs

    [% IF ( do_it ) %] @@ -206,7 +207,79 @@
    [% END %] [% END %] + + [% END %] + [% IF ( do_it ) %] + [% IF ( total ) %] +

    [% total %] lines found.

    + + + + + + + + + + [% FOREACH loopro IN looprow %] + + + + + + + + + [% END %] +
    DateLibrarianModuleActionObjectInfo
    [% loopro.timestamp %] + [% IF ( module == 'CIRCULATION' ) %] + [% loopro.user %] + [% ELSE %] + [% loopro.user %] + [% END %] + [% loopro.module %][% loopro.action %] + [% IF ( module == 'MEMBERS' ) %] + member [% loopro.object %] + [% ELSE %] + [% IF ( module == 'CIRCULATION' ) %] + member [% loopro.object %] + [% ELSE %] + [% IF ( module == 'CATALOGUING' ) %] + [% IF ( info == 'item' ) %] + Item [% loopro.object %] + [% ELSE %] + biblio [% loopro.object %] + [% END %] + [% ELSE %] + [% IF ( module == 'SERIAL' ) %] + [% loopro.object %] + [% ELSE %] + [% loopro.object %] + [% END %] + [% END %] + [% END %] + [% END %] + + [% IF ( loopro.CIRCULATION ) %] + Item [% loopro.info |html %] + [% ELSE %] + [% loopro.info |html %] + [% END %] +
    + [% ELSE %] +
    + No log found + [% IF ( CATALOGUING ) %] + for Bibliographic Record [% object %] + [% END %] + [% IF ( MEMBERS ) %] + for [% firstname %] [% surname %] ([% cardnumber %]) + [% END %] + . +
    + [% END %] + [% END %]
    diff --git a/koha-tt/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tt/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index bcf94b8f6e..b5b96be28b 100644 --- a/koha-tt/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tt/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -100,7 +100,7 @@ function placeHold () { } if (_alertString.length==0) { - document.f.submit(); + f.submit(); } else { alertString2 = _("Form not submitted because of the following problem(s)"); alertString2 += "\n------------------------------------------------------------------------------------\n\n"; diff --git a/koha-tt/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tt/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 09b0735ca8..2f313aaff3 100644 --- a/koha-tt/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tt/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -444,13 +444,13 @@ /cgi-bin/koha/catalogue/search.pl?q= abcdfgklmnopqrstvxyz and - (su:" - ") + (su:{ + }) - /cgi-bin/koha/catalogue/search.pl?q=su:"" + /cgi-bin/koha/catalogue/search.pl?q=su:{} diff --git a/koha-tt/opac-tmpl/prog/en/modules/opac-results-grouped.tt b/koha-tt/opac-tmpl/prog/en/modules/opac-results-grouped.tt index e3621d9e3e..baf7676e8c 100644 --- a/koha-tt/opac-tmpl/prog/en/modules/opac-results-grouped.tt +++ b/koha-tt/opac-tmpl/prog/en/modules/opac-results-grouped.tt @@ -34,12 +34,12 @@ $(document).ready(function(){ var shelfnumber = $("#addto").find("option:selected").attr("id").replace("s",""); [% IF ( loggedinusername ) %]if (vShelfAdd()) { Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?selectedshelf='+shelfnumber+'&' + vShelfAdd()); - }[% ELSE %] alert('You must be logged in to create or add to Lists'); [% END %] + }[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %] return false; } else if($("#addto").find("option:selected").attr("value") == "newlist"){ [% IF ( loggedinusername ) %]if (vShelfAdd()) { Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?newshelf=1&' + vShelfAdd()); - }[% ELSE %] alert('You must be logged in to create or add to Lists'); [% END %] + }[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %] return false; } if($("#addto").find("option:selected").attr("value") == "addtocart"){ diff --git a/koha-tt/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tt/opac-tmpl/prog/en/modules/opac-results.tt index 733a21d897..a20b978763 100644 --- a/koha-tt/opac-tmpl/prog/en/modules/opac-results.tt +++ b/koha-tt/opac-tmpl/prog/en/modules/opac-results.tt @@ -164,12 +164,12 @@ $(document).ready(function(){ } else if($("#addto").find("option:selected").attr("value") == "newlist"){ [% IF ( loggedinusername ) %]if (vShelfAdd()) { Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?newshelf=1&' + vShelfAdd()); - }[% ELSE %] alert('You must be logged in to create or add to Lists'); [% END %] + }[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %] return false; } else if($("#addto").find("option:selected").attr("value") == "morelists"){ [% IF ( loggedinusername ) %]if (vShelfAdd()) { Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?' + vShelfAdd()); - }[% ELSE %] alert('You must be logged in to create or add to Lists'); [% END %] + }[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %] return false; } if($("#addto").find("option:selected").attr("value") == "addtocart" || $("#addto").attr("class") == "addtocart"){ diff --git a/koha-tt/opac-tmpl/prog/en/modules/opac-review.tt b/koha-tt/opac-tmpl/prog/en/modules/opac-review.tt index 6b5a4e03f2..338f174441 100644 --- a/koha-tt/opac-tmpl/prog/en/modules/opac-review.tt +++ b/koha-tt/opac-tmpl/prog/en/modules/opac-review.tt @@ -8,7 +8,7 @@ $(document).ready(function() { var inject_old = function(comment) { [% IF ( reviewid ) %] - [% IF ( cgi_debug ) %]alert("injecting OLD comment: " +comment);[% END %] + [% IF ( cgi_debug ) %]alert(_('injecting OLD comment: ')+comment);[% END %] parent.opener.$('#c[% reviewid %] p').prev("small").prev("h5").html("Your Edited Comment (preview, pending approval)"); parent.opener.$('#c[% reviewid %] p').html(comment); parent.opener.$('#c[% reviewid %] p').append(" Edit<\/a>"); @@ -16,7 +16,7 @@ return 1; }; var inject_new = function(comment) { - [% IF ( cgi_debug ) %]alert("injecting NEW comment: " +comment);[% END %] + [% IF ( cgi_debug ) %]alert(_("injecting NEW comment: ") +comment);[% END %] parent.opener.$('#newcomment').attr("class","yours"); parent.opener.$('#newcomment').html( "
    Your Comment (preview, pending approval)<\/h5>" + diff --git a/koha-tt/opac-tmpl/prog/en/modules/opac-shelves.tt b/koha-tt/opac-tmpl/prog/en/modules/opac-shelves.tt index 7c6bae29b6..0968b092f6 100644 --- a/koha-tt/opac-tmpl/prog/en/modules/opac-shelves.tt +++ b/koha-tt/opac-tmpl/prog/en/modules/opac-shelves.tt @@ -125,7 +125,7 @@ $(function() { } if (_alertString.length==0) { - document.f.submit(); + f.submit(); } else { alertString2 = _("Form not submitted because of the following problem(s)"); alertString2 += "\n------------------------------------------------------------------------------------\n\n"; diff --git a/koha-tt/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tt/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index c0a56c39de..8277872d88 100644 --- a/koha-tt/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tt/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -501,13 +501,13 @@ /cgi-bin/koha/opac-search.pl?q= abcdfgklmnopqrstvxyz and - (su:" - ") + (su:{ + }) - /cgi-bin/koha/opac-search.pl?q=su:"" + /cgi-bin/koha/opac-search.pl?q=su:{} -- 2.39.5