From ef8db2fd76339f66246c9571f8763c7f6b290b50 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 6 Aug 2020 18:21:52 +0000 Subject: [PATCH] Bug 25744: replace with in the staff interface This patch set attempts to replace all the tags with and all the tags with in the staff interface. I attempted to get all the templates, includes, and xslt files. To test: 1. Review the changes as best as possible, looking for mistakes. 2. grep for and in the modules, includes, and xslt folders. You should get nothing/ 3. If you grep '<\/i>' you should only see instances of Font Awesome. 4. If you grep '<\/b>' you should only see instances where caret is used. --- .../prog/en/includes/budgets-active-currency.inc | 2 +- .../prog/en/includes/cateditor-ui.inc | 2 +- .../prog/en/includes/checkouts-table.inc | 2 +- .../intranet-tmpl/prog/en/includes/holds_table.inc | 206 ++++++++++----------- .../prog/en/includes/waiting_holds.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 60 +++--- .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 8 +- .../prog/en/modules/acqui/invoice-files.tt | 2 +- .../prog/en/modules/acqui/lateorders.tt | 2 +- .../prog/en/modules/acqui/neworderempty.tt | 4 +- .../prog/en/modules/acqui/orderreceive.tt | 2 +- .../intranet-tmpl/prog/en/modules/acqui/parcel.tt | 8 +- .../intranet-tmpl/prog/en/modules/admin/aqplan.tt | 4 +- .../prog/en/modules/admin/auth_tag_structure.tt | 2 +- .../prog/en/modules/admin/checkmarc.tt | 2 +- .../prog/en/modules/admin/itemtypes.tt | 4 +- .../en/modules/admin/preferences/i18n_l10n.pref | 4 +- .../prog/en/modules/authorities/detail.tt | 2 +- .../modules/authorities/searchresultlist-auth.tt | 2 +- .../intranet-tmpl/prog/en/modules/basket/basket.tt | 2 +- .../prog/en/modules/catalogue/MARCdetail.tt | 4 +- .../prog/en/modules/catalogue/issuehistory.tt | 2 +- .../prog/en/modules/catalogue/labeledMARCdetail.tt | 4 +- .../prog/en/modules/cataloguing/addbooks.tt | 2 +- .../value_builder/unimarc_field_210c.tt | 2 +- .../prog/en/modules/circ/branchoverdues.tt | 2 +- .../prog/en/modules/circ/branchtransfers.tt | 6 +- .../prog/en/modules/circ/circulation.tt | 4 +- .../prog/en/modules/circ/pendingreserves.tt | 4 +- .../prog/en/modules/circ/reserveratios.tt | 6 +- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 4 +- .../prog/en/modules/circ/transferstoreceive.tt | 2 +- .../prog/en/modules/ill/log/status_change.tt | 2 +- .../intranet-tmpl/prog/en/modules/labels/result.tt | 2 +- .../prog/en/modules/members/paycollect.tt | 2 +- .../prog/en/modules/onboarding/onboardingstep1.tt | 2 +- .../prog/en/modules/onboarding/onboardingstep2.tt | 4 +- .../prog/en/modules/onboarding/onboardingstep3.tt | 2 +- .../prog/en/modules/plugins/plugins-upload.tt | 14 +- koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 2 +- .../prog/en/modules/reports/acquisitions_stats.tt | 2 +- .../en/modules/reports/guided_reports_start.tt | 6 +- .../prog/en/modules/reviews/reviewswaiting.tt | 2 +- .../prog/en/modules/serials/checkexpiration.tt | 6 +- .../prog/en/modules/serials/result.tt | 2 +- .../en/modules/serials/routing-preview-slip.tt | 6 +- .../prog/en/modules/suggestion/suggestion.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/export.tt | 6 +- .../prog/en/modules/tools/holidays.tt | 4 +- .../prog/en/modules/tools/import_borrowers.tt | 8 +- .../intranet-tmpl/prog/en/modules/tools/letter.tt | 2 +- .../prog/en/modules/tools/manage-marc-import.tt | 4 +- .../prog/en/modules/tools/picture-upload.tt | 36 ++-- .../prog/en/modules/tools/problem-reports.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/quotes.tt | 2 +- .../prog/en/modules/tools/upload-images.tt | 12 +- 56 files changed, 248 insertions(+), 248 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc index ca14976e14..dfa669022d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc @@ -1,6 +1,6 @@ [% IF ( currency ) %] [% IF ( not hide ) %] -

Currency = [% currency | html %]

+

Currency = [% currency | html %]

[% END %] [% ELSE %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc index cc038b955a..b8afedb50b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -1156,7 +1156,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr var errors = []; $.each( result.errors, function() { - var error = '' + _("Line ") + (this.line + 1) + ': '; + var error = '' + _("Line ") + (this.line + 1) + ': '; switch ( this.error ) { case 'failed': error += _("failed to run"); break; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc index 7b967bec89..1efa03b568 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc @@ -55,7 +55,7 @@ [% IF Koha.Preference('ExportCircHistory') %]
- + - - - [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] - - + + + [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] + + - - - [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] - [% UNLESS hold.found %] - [% SET prev_priority = loop.prev.priority %] - [% SET next_priority = loop.next.priority %] - [% holds.index | html %] + + + - - - Go up - + [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] + [% UNLESS hold.found %] + [% SET prev_priority = loop.prev.priority %] + [% SET next_priority = loop.next.priority %] + [% holds.index | html %] + + + + Go up + - - Go top - + + Go top + - - Go bottom - + + Go bottom + - - Go down - - - [% ELSE %] - + + Go down + + + [% ELSE %] + + [% END %] [% END %] - [% END %] - - [% INCLUDE 'patron-title.inc' patron=hold.patron hide_patron_infos_if_needed=1 %] - + + [% INCLUDE 'patron-title.inc' patron=hold.patron hide_patron_infos_if_needed=1 %] + - [% hold.notes | html | html_line_break %] - - [% IF Koha.Preference('AllowHoldDateInFuture') %] - - [% ELSE %] - [% hold.date | $KohaDates %] - [% END %] - - + [% hold.notes | html | html_line_break %] + + [% IF Koha.Preference('AllowHoldDateInFuture') %] + + [% ELSE %] + [% hold.date | $KohaDates %] + [% END %] + + - - [% IF ( hold.found ) %] - [% IF ( hold.atdestination ) %] - [% IF ( hold.found ) %] - Item waiting at [% hold.wbrname | html %] since [% hold.waiting_date | $KohaDates %] + + [% IF ( hold.found ) %] + [% IF ( hold.atdestination ) %] + [% IF ( hold.found ) %] + Item waiting at [% hold.wbrname | html %] since [% hold.waiting_date | $KohaDates %] [% ELSE %] Waiting to be pulled [% END %] [% ELSE %] - Item being transferred to [% hold.wbrname | html %] + Item being transferred to [% hold.wbrname | html %] [% END %] [% ELSE %] [% IF Koha.Preference('IndependentBranches') && Branches.all().size == 1 %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc index e445ace165..1fff6fc2f0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc @@ -25,7 +25,7 @@ [% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio %] [% UNLESS ( item_level_itypes ) %] - [% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %]  ([% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]) + [% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %]  ([% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]) [% END %] [% END %]
Barcode: [% reserveloo.item.barcode | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 70ed9b183f..04fc2d9147 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -109,9 +109,9 @@ Zebra version: [% zebraVersion | html %] [% IF (errZebraConnection == 10000) %] - Error Zebra server seems not to be available. Is it started? + Error Zebra server seems not to be available. Is it started? [% ELSIF (errZebraConnection) %] - Warning Error message from Zebra: [% ( errZebraConnection ) | html %] + Warning Error message from Zebra: [% ( errZebraConnection ) | html %] [% END %] Date and time: @@ -264,79 +264,79 @@ [% IF (warnPrefBiblioAddsAuthorities) %] - + [% END %] [% IF (warnPrefEasyAnalyticalRecords) %] - + [% END %] [% IF warnPrefAnonymousPatronOPACPrivacy %] - + [% END %] [% IF warnPrefAnonymousPatronAnonSuggestions %] - + [% END %] [% IF warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist %] - + [% END %] [% IF warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist %] - + [% END %] [% IF warnNoActiveCurrency %] - + [% END %] [% IF warnStatisticsFieldsError %] - + [% END %] [% IF AutoSelfCheckPatronDoesNotHaveSelfCheckPerm %] - [% END %] [% IF AutoSelfCheckPatronHasTooManyPerm %] - [% END %] [% IF warnNoTemplateCaching %] - [% END %] [% IF warnILLConfiguration %] [% IF no_ill_backends %] - [% END %] [% IF ill_partner_code_not_defined %] - [%END %] [% IF ill_branch_not_defined %] - [%END %] [% IF ill_partner_code_doesnt_exist %] - [% END %] [% END %] [% IF oauth2_missing_deps %] - [% END %] [% IF bad_yaml_prefs %] - [% END %] [% IF config_bcrypt_settings_no_set %] - [% END %] @@ -349,7 +349,7 @@ [% FOREACH config_entry IN xml_config_warnings %] [% IF config_entry.error == 'zebra_bib_index_mode_is_grs1' %] - + [% ELSIF config_entry.error == 'zebra_auth_index_mode_is_grs1' %] - + [% ELSIF config_entry.error == 'use_zebra_facets_entry_missing' %] - + [% ELSIF config_entry.error == 'log4perl_entry_missing' %] - + [% ELSIF config_entry.error == 'lockdir_entry_missing' %] - + [% ELSIF config_entry.error == 'lockdir_not_writable' %] - + [% ELSIF config_entry.error == 'uploadpath_entry_missing' %] - + [% ELSIF config_entry.error == 'uploadpath_and_opacbaseurl_entry_missing' %] - + [% ELSIF config_entry.error == 'tmp_path_missing' %] - + [% FOREACH unit IN ir_units %] - + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt index ff713b87b3..f28cfd6c17 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt @@ -19,7 +19,7 @@

Files for invoice: [% invoicenumber | html %]

-

Vendor: [% suppliername | html %]

+

Vendor: [% suppliername | html %]


[% IF errors %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index d975162991..2bcb9a47b6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -99,7 +99,7 @@ ([% lateorder.basket.bookseller.id | html %])
Preferences and parameters
Warning System preference 'AutoCreateAuthorities' set, but needs 'BiblioAddsAuthorities' set as well.
Warning System preference 'AutoCreateAuthorities' set, but needs 'BiblioAddsAuthorities' set as well.
Warning System preference 'EasyAnalyticalRecords' set, but UseControlNumber preference is set to 'Use'. Set it to 'Don't use' or else the 'Show analytics' links in the staff client and the OPAC will be broken.
Warning System preference 'EasyAnalyticalRecords' set, but UseControlNumber preference is set to 'Use'. Set it to 'Don't use' or else the 'Show analytics' links in the staff client and the OPAC will be broken.
Warning System preference 'OPACPrivacy' set, but AnonymousPatron preference is set to '0'. Set it to a valid borrower number if you want that this feature works correctly.
Warning System preference 'OPACPrivacy' set, but AnonymousPatron preference is set to '0'. Set it to a valid borrower number if you want that this feature works correctly.
Warning System preference 'AnonSuggestions' set, but AnonymousPatron preference is set to '0'. Set it to a valid borrower number if you want that this feature works correctly.
Warning System preference 'AnonSuggestions' set, but AnonymousPatron preference is set to '0'. Set it to a valid borrower number if you want that this feature works correctly.
Warning Some patrons have requested a privacy on returning item but the AnonymousPatron pref is not set correctly. Set it to a valid borrower number if you want that this feature works correctly.
Warning Some patrons have requested a privacy on returning item but the AnonymousPatron pref is not set correctly. Set it to a valid borrower number if you want that this feature works correctly.
Warning System preference 'AnonSuggestions' set, but AnonymousPatron preference is not set correctly. Set it to a valid borrower number if you want that this feature works correctly.
Warning System preference 'AnonSuggestions' set, but AnonymousPatron preference is not set correctly. Set it to a valid borrower number if you want that this feature works correctly.
Warning No active currency is defined. Please go to Administration > Currencies and exchange rates and mark one currency as active.
Warning No active currency is defined. Please go to Administration > Currencies and exchange rates and mark one currency as active.
Warning System preference 'StatisticsFields' contains field names not belonging to the items database table: [% warnStatisticsFieldsError | html %]
Warning System preference 'StatisticsFields' contains field names not belonging to the items database table: [% warnStatisticsFieldsError | html %]
Warning +
Warning The patron used for the self checkout module at the OPAC does not have the self_check => self_checkout_module permission.
Warning +
Warning The patron used for the self checkout module at the OPAC has too many permissions. They should only have self_check => self_checkout_module.
Warning +
Warning You are missing the <template_cache_dir> entry in your koha-conf.xml file. That will bring a performance boost to enable it.
Warning +
Warning The ILL module is enabled, but there are no backends available.
Warning +
Warning The ILL module is enabled, but no 'partner_code' defined in koha-conf.xml. Falling back to the hardcoded 'ILLLIBS'.
Warning +
Warning The ILL module is enabled, but no 'branch' block is defined in koha-conf.xml. You must define this block before use.
Warning +
Warning The ILL module is enabled, but the configured 'partner_code' ([% ill_partner_code_doesnt_exist | html %]) is not defined on the system.
Warning +
Warning System preference 'RESTOAuth2ClientCredentials' is set, but the required Net::OAuth2::AuthorizationServer dependency is missing. The feature is disabled.
Warning +
Warning Some system preferences have badly formatted YAML content: [% bad_yaml_prefs.join(', ') | html %]
Warning +
Warning System preference 'Pseudonymization' is set, but there is not 'bcrypt_settings' entry defined in the $KOHA_CONF file.
WarningWarning The <zebra_bib_index_mode> entry set to 'grs1', which is no longer supported. Please use DOM instead. To switch follow this page of wiki: Switching to dom indexing @@ -357,7 +357,7 @@
WarningWarning The <zebra_auth_index_mode> entry set to 'grs1', which is no longer supported. Please use DOM instead. To switch follow this page of wiki: Switching to dom indexing @@ -365,42 +365,42 @@
WarningWarning The <use_zebra_facets> entry is missing in your configuration file. Falling back to legacy facet calculation.
WarningWarning You are missing the <log4perl_conf> entry in your koha-conf.xml file. Please add it, pointing to the log4perl.conf file for your Koha instance.
WarningWarning You are missing the <lockdir> entry in your koha-conf.xml file. Please add it, pointing to your Koha instance's lock dir.
WarningWarning The configured <lockdir> entry in your koha-conf.xml file points to a non-writable directory ([% config_entry.lockdir | html %]).
WarningWarning You are missing the <upload_path> entry in your koha-conf.xml file. Please add it, pointing to the configured file upload directory for your Koha instance.
WarningWarning You are missing the <upload_path> entry in your koha-conf.xml file. Please add it, pointing to the configured file upload directory for your Koha instance. Also note that you need to properly set the OPACBaseURL preference for the file upload plugin to work. @@ -408,7 +408,7 @@
WarningWarning You are missing the <tmp_path> entry in your koha-conf.xml file. Please add it, pointing to the configured temporary directory for your Koha instance. The effective temporary directory is '[% config_entry.effective_tmp_dir | html %]'. @@ -424,7 +424,7 @@
Issuing rules
WarningWarning The [% unit.branchcode || 'branchcode=default' | html %], [% unit.categorycode || 'categorycode=default' | html %], [% unit.itemtype || 'itemtype=default' | html %] issuingrule will fallback to 'days' for 'lengthunit' as it is incorrectly defined as [% unit.rule_value | html %]. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index a9359d3541..cab48b538e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -569,16 +569,16 @@ Can't cancel order and delete catalog record
[% END %] [% IF ( books_loo.left_item ) %] - [% books_loo.items | html %] item(s) left
+ [% books_loo.items | html %] item(s) left
[% END %] [% IF ( books_loo.left_biblio ) %] - [% books_loo.biblios | html %] order(s) left
+ [% books_loo.biblios | html %] order(s) left
[% END %] [% IF ( books_loo.left_subscription ) %] - [% books_loo.subscriptions | html %] subscription(s) left
+ [% books_loo.subscriptions | html %] subscription(s) left
[% END %] [% IF ( books_loo.left_holds ) %] - [% books_loo.holds | html %] hold(s) left + [% books_loo.holds | html %] hold(s) left [% END %]
- [% lateorder.biblio.title | html %] + [% lateorder.biblio.title | html %] [% IF ( lateorder.biblio.author ) %]
Author: [% lateorder.biblio.author | html %][% END %] [% IF ( lateorder.biblio.biblioitem.publishercode ) %]
Published by: [% lateorder.biblio.biblioitem.publishercode | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 1aa9241296..955cfc6b17 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -253,7 +253,7 @@ [% IF (AcqCreateItemOrdering) %]
-

Configuration OK, you don't have errors in your MARC parameters table

+

Configuration OK, you don't have errors in your MARC parameters table

[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt index e28d7e17ed..73e2e2747f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt @@ -321,7 +321,7 @@ Item types administration

Enter a summary that will overwrite the default one in search results lists. Example, for a website itemtype :

-

<a href="[856u]">open site</a> will show the link just below the title

+

<a href="[856u]">open site</a> will show the link just below the title

@@ -401,7 +401,7 @@ Item types administration [% itemtype.description | html %] (default)
[% FOR description IN itemtype.translated_descriptions %] [% IF description.translation == itemtype.translated_description %] - [% description.translation | html %] + [% description.translation | html %] [% ELSE %] [% description.translation | html %] ([% description.lang | html %]) [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref index 75e4ba289c..bab794bd57 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref @@ -8,7 +8,7 @@ I18N/L10N: metric: dd/mm/yyyy dmydot: dd.mm.yyyy iso: yyyy-mm-dd - - . Note: Do not change this preference on a production server with overdue items that are accruing fines. Doing so will result in duplicate fines! + - . Note: Do not change this preference on a production server with overdue items that are accruing fines. Doing so will result in duplicate fines! - - Format times in - pref: TimeFormat @@ -16,7 +16,7 @@ I18N/L10N: choices: 24hr: 24 hour format ( e.g. "14:18" ) 12hr: 12 hour format ( e.g. "02:18 PM" ) - - . Note: Do not change this preference on a production server with overdue items that are accruing fines. Doing so will result in duplicate fines! + - . Note: Do not change this preference on a production server with overdue items that are accruing fines. Doing so will result in duplicate fines! - - Use - pref: CalendarFirstDayOfWeek diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt index 618e325105..41ebf5a0c4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt @@ -77,7 +77,7 @@ [% FOREACH subfiel IN innerloo.subfield %]

[% IF ( subfiel.is_url ) %] [% subfiel.marc_value | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt index 21c6e24f05..e16baca296 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt @@ -32,7 +32,7 @@ [% END %]

-

Results [% from | html %] to [% to | html %] of [% total | html %]

+

Results [% from | html %] to [% to | html %] of [% total | html %]

[% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt index d110dcbe52..3b8d56a268 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt @@ -4,7 +4,7 @@ [% BLOCK controls %]

Select all Clear all - | Selected items : + | Selected items : Remove [% IF ( loggedinusername ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt index b0376dacc3..498d4a2138 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -40,7 +40,7 @@

MARC record: [% biblionumber | html %] ( [% bibliotitle | html %] )

[% END %] -

With framework : [% FOREACH framework IN frameworks %] [% IF framework.frameworkcode == frameworkcode %] @@ -49,7 +49,7 @@ [% END %] [% END %] -

+

[% IF ( ocoins ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt index 4cf1161fe8..35e5c0cd17 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt @@ -90,7 +90,7 @@ [% ELSE %]

- [% biblio.title | html %][% IF biblio.author %], by [% biblio.author | html %][% END %] has never been checked out.

+ [% biblio.title | html %][% IF biblio.author %], by [% biblio.author | html %][% END %] has never been checked out.

[% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt index c55028421a..9d16fd72ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt @@ -42,7 +42,7 @@ [% UNLESS ( popup ) %]

Labeled MARC biblio : [% biblionumber | html %] ( [% bibliotitle | html %] )

[% END %] -

With framework: +

With framework: -

+

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index 18a22be998..ed525c7d8f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -148,7 +148,7 @@ [% ELSE # IF total %] [% IF ( query ) %] - [% IF ( error ) %]
[% END %]No results found + [% IF ( error ) %]
[% END %]No results found [% IF ( error ) %] Error: [% error | html %]
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt index 0ce0861bad..c7d95184bb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt @@ -48,7 +48,7 @@
[% END %]

[% IF ( total ) %] -  Results [% from | html %] to [% to | html %] of [% total | html %]

+  Results [% from | html %] to [% to | html %] of [% total | html %]

[% ELSE %]   No results found
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt index 2fe5e873a2..65173bbace 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt @@ -85,7 +85,7 @@

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt index 5eb69ed385..c47563be3a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -124,11 +124,11 @@
  • Transfer is not allowed for:
      [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %] -
    1. Item type: [% ItemTypes.GetDescription( errmsgloo.code ) | html %]
    2. +
    3. Item type: [% ItemTypes.GetDescription( errmsgloo.code ) | html %]
    4. [% ELSE %] -
    5. Collection: [% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) | html %]
    6. +
    7. Collection: [% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) | html %]
    8. [% END %] -
    9. Destination library: [% Branches.GetName( errmsgloo.tbr ) | html %]
    10. +
    11. Destination library: [% Branches.GetName( errmsgloo.tbr ) | html %]
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 8ad231bfdc..69314746b6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -69,7 +69,7 @@ [% END %] [% IF alert.HIGHHOLDS %] -
    High demand item. Loan period was not shortened due to override. Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration | html %] days).
    +
    High demand item. Loan period was not shortened due to override. Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration | html %] days).
    [% END %] [% IF alert.RETURNED_FROM_ANOTHER %] @@ -185,7 +185,7 @@ [% END %] [% IF PREVISSUE %] -
  • Patron has previously checked out this title: [% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]. Check out anyway?
  • +
  • Patron has previously checked out this title: [% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]. Check out anyway?
  • [% END %] [% IF BIBLIO_ALREADY_ISSUED %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index a7cd0c21e2..6328194357 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -70,7 +70,7 @@ [% FOREACH reserveloo IN reserveloop %] [% IF ( reserveloo.borrowernumber ) %] - + @@ -197,7 +197,7 @@

    [% todayoverduesloo.title | html %] -   ([% todayoverduesloo.description | html %]) +   ([% todayoverduesloo.description | html %])
    Barcode : [% todayoverduesloo.barcode | html %]

    [% reserveloo.pullcount | html %]

    [% reserveloo.pullcount | html %]

    [% reserveloo.count | html %] [% reserveloo.rcount | html %] [% reserveloo.firstname | html %] [% reserveloo.surname | html %]
    [% ELSE %] - No items found. + No items found. [% END %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt index 74b4b360c3..9567fc3af9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt @@ -100,9 +100,9 @@ [% IF ( CAN_user_acquisition && basketno && booksellerid ) %] [% reserveloo.ratiocalc | html %] to order [% ELSE %] - [% reserveloo.ratiocalc | html %] to order + [% reserveloo.ratiocalc | html %] to order [% END %] - [% IF ( reserveloo.pendingorders ) %]
    [% reserveloo.pendingorders | html %] pending[% END %] + [% IF ( reserveloo.pendingorders ) %]
    [% reserveloo.pendingorders | html %] pending[% END %] [% ELSE %] 0 to order [% END %] @@ -113,7 +113,7 @@ [% ELSE %] - No items found. + No items found. [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 1293dafe17..973cf61370 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -276,10 +276,10 @@

    [% errmsgloo.debarname | html %]([% errmsgloo.debarcardnumber | html %]) is now debarred until [% errmsgloo.debarred | $KohaDates %].

    [% END %] [% IF ( errmsgloo.prevdebarred ) %] -

    Reminder: Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].

    +

    Reminder: Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].

    [% END %] [% IF ( errmsgloo.foreverdebarred ) %] -

    Reminder: Patron has an indefinite restriction.

    +

    Reminder: Patron has an indefinite restriction.

    [% END %] [% IF errmsgloo.data_corrupted %]

    The item has not been checked in due to a configuration issue in your system. You must ask an administrator to take a look at the about page and search for the "data problems" section

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt index f0c3d4ffdf..bebcd88be1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt @@ -53,7 +53,7 @@

    [% reser.datetransfer | $KohaDates %]

    [% IF ( reser.messcompa ) %]Transfer is [% reser.diff | html %] days late[% END %] [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=reser %] [% IF ( reser.author ) %]by [% reser.author | html %][% END %] - [% IF ( reser.itemtype ) %] ([% reser.itemtype | html %])[% END %] + [% IF ( reser.itemtype ) %] ([% reser.itemtype | html %])[% END %]
    Barcode: [% reser.barcode | html %] [% IF ( reser.patron ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/log/status_change.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/log/status_change.tt index bde7367a0b..5c18443165 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/log/status_change.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/log/status_change.tt @@ -1,6 +1,6 @@ [% USE KohaDates %]

    -[% log.timestamp | $KohaDates with_hours => 1 %] : Status changed +[% log.timestamp | $KohaDates with_hours => 1 %] : Status changed [% IF log.info.status_before %] [% before = log.info.status_before %] [% display_before = log.aliases.$before ? log.aliases.$before.lib : request.capabilities.$before.name %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt index 642a933de4..8e5657a219 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt @@ -51,7 +51,7 @@

    [% result_se.title | html %]

    [% IF ( result_se.author ) %]by [% result_se.author | html %][% END %] - [[% result_se.itemtype | html %]], [% IF ( result_se.publishercode ) %][% result_se.publishercode | html %] [% END %][% IF ( result_se.place ) %][% result_se.place | html %] [% END %][% IF ( result_se.copyrightdate ) %][% result_se.copyrightdate | html %], [% END %][% IF ( result_se.pages ) %][% result_se.pages | html %][% END %][% IF ( result_se.isbn ) %], ISBN: [% result_se.isbn | html %][% END %][% IF ( result_se.notes ) %],
    [% result_se.notes | html %][% END %]

    + [[% result_se.itemtype | html %]], [% IF ( result_se.publishercode ) %][% result_se.publishercode | html %] [% END %][% IF ( result_se.place ) %][% result_se.place | html %] [% END %][% IF ( result_se.copyrightdate ) %][% result_se.copyrightdate | html %], [% END %][% IF ( result_se.pages ) %][% result_se.pages | html %][% END %][% IF ( result_se.isbn ) %], ISBN: [% result_se.isbn | html %][% END %][% IF ( result_se.notes ) %],
    [% result_se.notes | html %][% END %]

    [% FOREACH item_tabl IN result_se.item_table %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt index 7eee67249b..1119388c83 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -326,7 +326,7 @@
    [% pagination_bar | $raw %]
    [% ELSE %] -[% IF ( status ) %]

    No comments have been approved.

    [% ELSE %]

    No comments to moderate.

    [% END %] +[% IF ( status ) %]

    No comments have been approved.

    [% ELSE %]

    No comments to moderate.

    [% END %] [% END %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt index 091451c2a7..c71a3ea278 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt @@ -50,15 +50,15 @@ [% IF ( subscriptions_loop ) %]

    - [% numsubscription | html %] subscription(s) + [% numsubscription | html %] subscription(s) [% IF ( title ) %] with title matching [% title | html %] [% IF ( issn ) %]and [% END %] [% END %] [% IF ( issn ) %] - with ISSN matching [% issn | html %] + with ISSN matching [% issn | html %] [% END %] - will expire before [% date | $KohaDates %] + will expire before [% date | $KohaDates %]

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt index 064f09b3d4..2ead597be2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt @@ -43,7 +43,7 @@ [% ELSE %]
    -

    No results found for [% query | html %]

    +

    No results found for [% query | html %]

    [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt index 9caefcca57..a740c5d69f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt @@ -17,11 +17,11 @@

    [% libraryname | html %]

    - Title: [% title | html %]
    [% issue | html %] + Title: [% title | html %]
    [% issue | html %] - Name - Date due + Name + Date due [% FOREACH memberloo IN memberloop %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 16a37871e4..bbce3c8775 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -740,7 +740,7 @@
    [% ELSE %] - No results. + No results. [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt index bfd7809a6d..4e9a992c04 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt @@ -45,7 +45,7 @@

    - Note : The items are exported by this tool unless specified. + Note : The items are exported by this tool unless specified.

    @@ -230,7 +230,7 @@ [% IF ( allow_db_export ) %]
    -

    Note : This export file will be very large, and is generated nightly.

    +

    Note : This export file will be very large, and is generated nightly.

    Choose a file [% IF ( dbfiles && (dbfiles.size > 0) ) %] @@ -256,7 +256,7 @@ [% IF ( allow_conf_export ) %]
    -

    Note : This export file will be very large, and is generated nightly.

    +

    Note : This export file will be very large, and is generated nightly.

    Choose a file [% IF ( conffiles && (conffiles.size > 0) ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt index 7900be3f35..62142d8dd6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt @@ -74,7 +74,7 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl
  • - To Date : + To Date :
  • @@ -150,7 +150,7 @@ td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl
  • - To date: + To date:
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt index 5ee2fadf72..9f69f69e3c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt @@ -285,7 +285,7 @@
    • The first line in the file must be a header row defining which columns you are supplying in the import file.
    • -
    • Download a starter CSV file with all the columns here. Values are comma-separated.
    • +
    • Download a starter CSV file with all the columns here. Values are comma-separated.
    • OR choose which fields you want to supply from the following list: @@ -298,12 +298,12 @@ [% IF ( Koha.Preference('ExtendedPatronAttributes') ) %]
    • - If loading patron attributes, the 'patron_attributes' field should contain a comma-separated list of attribute types and values. The attribute type code and a colon should precede each value. For example: INSTID:12345,LANG:fr or STARTDATE:January 1 2010,TRACK:Day. If an input record has more than one attribute, the fields should either be entered as an unquoted string (previous examples), or with each field wrapped in separate double quotes and delimited by a comma: "STARTDATE:January 1, 2010","TRACK:Day". The second syntax would be required if the data might have a comma in it, like a date string. + If loading patron attributes, the 'patron_attributes' field should contain a comma-separated list of attribute types and values. The attribute type code and a colon should precede each value. For example: INSTID:12345,LANG:fr or STARTDATE:January 1 2010,TRACK:Day. If an input record has more than one attribute, the fields should either be entered as an unquoted string (previous examples), or with each field wrapped in separate double quotes and delimited by a comma: "STARTDATE:January 1, 2010","TRACK:Day". The second syntax would be required if the data might have a comma in it, like a date string.
    • [% END %]
    • - Required fields: The fields 'surname', 'branchcode', and 'categorycode' are required and 'branchcode' and 'categorycode' must match valid entries in your database. + Required fields: The fields 'surname', 'branchcode', and 'categorycode' are required and 'branchcode' and 'categorycode' must match valid entries in your database.
    • @@ -311,7 +311,7 @@
    • - Date formats should match your system preference, and must be zero-padded, e.g. '01/02/2008'. Alternatively, + Date formats should match your system preference, and must be zero-padded, e.g. '01/02/2008'. Alternatively, you can supply dates in ISO format (e.g., '2010-10-28').
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index 4bfed8b44c..29e89152cc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -121,7 +121,7 @@
    [% IF ( search ) %] -

    You searched for [% searchfield | html %]

    +

    You searched for [% searchfield | html %]

    [% END %] [% IF ( letter && !independant_branch) %] 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 a3edfdf904..7880ed9e2e 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 @@ -45,13 +45,13 @@ [% ELSE %]
    [% END %] -

    +

    [% IF ( label_batch_msg == "error" ) %] Error attempting to create label batch. Please ask your system administrator to check the log for more details. [% ELSE %] Label batch #[% label_batch_msg | html %] created. [% END %] -

    +

    [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt index 38ea53f6df..29fd108ad3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt @@ -57,15 +57,15 @@ [% IF ( filename.filerrors ) %] [% FOREACH filerror IN filename.filerrors %] - [% IF ( filerror.DBERR ) %]ERROR: Image not imported because the database returned an error. Please refer to the error log for more details. - [% ELSIF ( filerror.IMGEXISTS ) %]ERROR: Image not imported because this patron does not exist in the database. - [% ELSIF ( filerror.MIMERR ) %]ERROR: Image not imported because the image format is unrecognized. - [% ELSIF ( filerror.CORERR ) %]ERROR: Image not imported because the image file is corrupted. - [% ELSIF ( filerror.OPNERR ) %]ERROR: Image not imported because Koha was unable to open the image for reading. - [% ELSIF ( filerror.OVRSIZ ) %]ERROR: Image not imported because the image file is too big (see online help for maximum size). - [% ELSIF ( filerror.CRDFIL ) %]ERROR: Image not imported ([% filerror.CRDFIL | html %] missing). - [% ELSIF ( filerror.CARDNUMBER_DOES_NOT_EXIST ) %]ERROR: Image not imported because this patron does not exist in the database. - [% ELSE %]ERROR: Image not imported because of an unknown error. Please refer to the error log for more details. + [% IF ( filerror.DBERR ) %]ERROR: Image not imported because the database returned an error. Please refer to the error log for more details. + [% ELSIF ( filerror.IMGEXISTS ) %]ERROR: Image not imported because this patron does not exist in the database. + [% ELSIF ( filerror.MIMERR ) %]ERROR: Image not imported because the image format is unrecognized. + [% ELSIF ( filerror.CORERR ) %]ERROR: Image not imported because the image file is corrupted. + [% ELSIF ( filerror.OPNERR ) %]ERROR: Image not imported because Koha was unable to open the image for reading. + [% ELSIF ( filerror.OVRSIZ ) %]ERROR: Image not imported because the image file is too big (see online help for maximum size). + [% ELSIF ( filerror.CRDFIL ) %]ERROR: Image not imported ([% filerror.CRDFIL | html %] missing). + [% ELSIF ( filerror.CARDNUMBER_DOES_NOT_EXIST ) %]ERROR: Image not imported because this patron does not exist in the database. + [% ELSE %]ERROR: Image not imported because of an unknown error. Please refer to the error log for more details. [% END %] [% END %] [% ELSE %] imported successfully. @@ -88,20 +88,20 @@ [% IF ( ERRORS ) %]
    [% FOREACH ERROR IN ERRORS %] - [% IF ( ERROR.NOTZIP ) %]
  • The upload file does not appear to be a zip file. The extension is not '.zip'.
  • - [% ELSIF ( ERROR.NOWRITETEMP ) %]
  • This script is not able to create/write to the necessary temporary directory.
  • - [% ELSIF ( ERROR.EMPTYUPLOAD ) %]
  • The upload file appears to be empty.
  • - [% ELSIF ( ERROR.OPNLINK ) %]
  • Cannot open [% ERROR.OPNLINK | html %] to read.
    Please verify that it exists.
  • - [% ELSIF ( ERROR.OPNIMG ) %]
  • Cannot open [% ERROR.OPNIMG | html %] to read.
    Please verify that it exists.
  • - [% ELSIF ( ERROR.DELERR ) %]
  • Unrecognized or missing field delimiter.
    Please verify that you are using either a single quote or a tab.
  • - [% ELSIF ( ERROR.UZIPFAIL ) %]
  • [% ERROR.UZIPFAIL | html %] failed to unpack.
    Please verify the integrity of the ZIP file and retry.
  • - [% ELSE %]
  • [% ERROR.CORERR | html %] An unknown error has occurred.
    Please review the error log for more details.
  • [% END %] + [% IF ( ERROR.NOTZIP ) %]
  • The upload file does not appear to be a zip file. The extension is not '.zip'.
  • + [% ELSIF ( ERROR.NOWRITETEMP ) %]
  • This script is not able to create/write to the necessary temporary directory.
  • + [% ELSIF ( ERROR.EMPTYUPLOAD ) %]
  • The upload file appears to be empty.
  • + [% ELSIF ( ERROR.OPNLINK ) %]
  • Cannot open [% ERROR.OPNLINK | html %] to read.
    Please verify that it exists.
  • + [% ELSIF ( ERROR.OPNIMG ) %]
  • Cannot open [% ERROR.OPNIMG | html %] to read.
    Please verify that it exists.
  • + [% ELSIF ( ERROR.DELERR ) %]
  • Unrecognized or missing field delimiter.
    Please verify that you are using either a single quote or a tab.
  • + [% ELSIF ( ERROR.UZIPFAIL ) %]
  • [% ERROR.UZIPFAIL | html %] failed to unpack.
    Please verify the integrity of the ZIP file and retry.
  • + [% ELSE %]
  • [% ERROR.CORERR | html %] An unknown error has occurred.
    Please review the error log for more details.
  • [% END %] [% END %]
    [% END %]
    -

    NOTE: Only PNG, GIF, JPEG, XPM formats are supported.

    +

    NOTE: Only PNG, GIF, JPEG, XPM formats are supported.

    1. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt index 5beeebe111..afaea0615d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt @@ -76,7 +76,7 @@ - [% report.title | html %]
      + [% report.title | html %]
      [% report.content | html %] [% OPACBaseURL | url %][% report.problempage | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt index bf910d229c..e3acc497dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt @@ -26,7 +26,7 @@
      • Click on the 'Add quote' button to add a single quote; Press the <Enter> key to save the quote.
        - Note: Both the 'source' and 'text' fields must have content in order for the quote to be saved.
      • + Note: Both the 'source' and 'text' fields must have content in order for the quote to be saved.
      • Click on any field to edit the contents; Press the <Enter> key to save edit.
      • Click on one or more quote numbers to select entire quotes for deletion; Click the 'Delete quote(s)' button to delete selected quotes.
      • Click the 'Import quotes' button in the toolbar to import a CSV file of quotes.
      • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt index ac771fd61e..ee8296b7d4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt @@ -27,12 +27,12 @@
      • [% total | html %] images found
      • [% IF ( error ) %]
        - [% IF ( error == 'UZIPFAIL' ) %]

        Failed to unzip archive.
        Please ensure you are uploading a valid zip file and try again.

        - [% ELSIF ( error == 'OPNLINK' ) %]

        Cannot open folder index (idlink.txt or datalink.txt) to read.
        Please verify that it exists.

        - [% ELSIF ( error == 'OPNIMG' ) %]

        Cannot process file as an image.
        Please ensure you only upload GIF, JPEG, PNG, or XPM images.

        - [% ELSIF ( error == 'DELERR' ) %]

        Unrecognized or missing field delimiter.
        Please verify that you are using either a single quote or a tab.

        - [% ELSIF ( error == 'DBERR' ) %]

        Unable to save image to database.

        - [% ELSE %]

        An unknown error has occurred.
        Please review the error log for more details.

        [% END %] + [% IF ( error == 'UZIPFAIL' ) %]

        Failed to unzip archive.
        Please ensure you are uploading a valid zip file and try again.

        + [% ELSIF ( error == 'OPNLINK' ) %]

        Cannot open folder index (idlink.txt or datalink.txt) to read.
        Please verify that it exists.

        + [% ELSIF ( error == 'OPNIMG' ) %]

        Cannot process file as an image.
        Please ensure you only upload GIF, JPEG, PNG, or XPM images.

        + [% ELSIF ( error == 'DELERR' ) %]

        Unrecognized or missing field delimiter.
        Please verify that you are using either a single quote or a tab.

        + [% ELSIF ( error == 'DBERR' ) %]

        Unable to save image to database.

        + [% ELSE %]

        An unknown error has occurred.
        Please review the error log for more details.

        [% END %]
        [% END %] -- 2.11.0