[% END %]
[% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc
index dbcab25ef1..caf45d6a15 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc
@@ -1,27 +1,27 @@
[%- IF ( borrower.borrowernumber ) %]
[%- IF borrower.category_type == 'I' %]
- [%- borrower.surname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %]
+ [%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
[%- ELSE %]
[%- IF invert_name %]
- [%- borrower.surname %], [% borrower.firstname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %]
+ [%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
[%- ELSE %]
- [%- borrower.firstname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %] [% borrower.surname %]
+ [%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %]
[%- END -%]
[%- END -%]
[%- IF ( borrower.cardnumber ) -%]
- ([% borrower.cardnumber %])
+ ([% borrower.cardnumber | html %])
[%- END %]
[%- ELSIF ( borrowernumber ) %]
[%- IF category_type == 'I' %]
- [%- surname %] [% IF othernames %] ([% othernames %]) [% END %]
+ [%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
[%- ELSE %]
[%- IF invert_name %]
- [%- surname %], [% firstname %] [% IF othernames %] ([% othernames %]) [% END %]
+ [%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
[%- ELSE %]
- [%- firstname %] [% IF othernames %] ([% othernames %]) [% END %] [% surname %]
+ [%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %]
[%- END %]
[%- END -%]
[%- IF ( cardnumber ) -%]
- ([% cardnumber %])
+ ([% cardnumber | html %])
[%- END %]
[%- END -%]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
index 16317ccdbe..4156edd908 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
@@ -190,8 +190,8 @@
[% IF ( no_categories ) %]
There are no patron categories defined. [% IF ( CAN_user_parameters ) %]Please add a patron category.[% ELSE %]An administrator must define at least one patron category.
[% END %][% END %][% END %]
[% UNLESS ( no_add ) %]
-
[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])
-
+
[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])
+
[% IF ( check_member ) %]
Duplicate patron record?
@@ -330,7 +330,7 @@
-
+
[% IF ( mandatoryfirstname ) %]Required[% END %]
[% END %]
@@ -362,7 +362,7 @@
-
+
[% IF ( mandatoryinitials ) %]Required[% END %]
[% END %]
@@ -375,7 +375,7 @@
-
+
[% IF ( mandatoryothernames ) %]Required[% END %]
[% IF ( I ) %][% END %]
@@ -433,9 +433,9 @@
[% IF ( guarantorid ) %]
[% contactname %]
-
+
[% ELSE %]
-
+
[% END %]
[% ELSE %]
@@ -452,9 +452,9 @@
[% IF ( guarantorid ) %]
[% contactname %]
-
+
[% ELSE %]
-
+
[% END %]
[% END %]
@@ -463,9 +463,9 @@
[% IF ( guarantorid ) %]
[% contactfirstname %]
-
+
[% ELSE %]
-
+
[% END %]
[% END %]
@@ -517,7 +517,7 @@
-
+
[% IF ( mandatoryphone ) %]Required[% END %]
Shows on transit slips
@@ -530,7 +530,7 @@
-
+
[% IF ( mandatoryphonepro ) %]Required[% END %]
[% END %]
@@ -542,7 +542,7 @@
-
+
[% IF ( mandatorymobile ) %]Required[% END %]
[% END %]
@@ -554,7 +554,7 @@
-
+
[% IF ( mandatoryemail ) %]Required[% END %]
Shows on transit slips
@@ -567,7 +567,7 @@
-
+
[% IF ( mandatoryemailpro ) %]Required[% END %]
[% END %]
@@ -579,7 +579,7 @@
-
+
[% IF ( mandatoryfax ) %]Required[% END %]
[% END %]
@@ -622,19 +622,19 @@
[% END %]
Card number:
[% IF minlength_cardnumber == maxlength_cardnumber %]
-
+
[% IF ( mandatorycardnumber ) %]Required[% END %]
Card number must be exactly [% minlength_cardnumber %] characters.
[% ELSIF minlength_cardnumber && maxlength_cardnumber %]
-
+
[% IF ( mandatorycardnumber ) %]Required[% END %]
Card number must be between [% minlength_cardnumber %] and [% maxlength_cardnumber %] characters.
[% ELSIF maxlength_cardnumber %]
-
+
[% IF ( mandatorycardnumber ) %]Required[% END %]
Card number can be up to [% maxlength_cardnumber %] characters.
[% ELSE %]
-
+
[% IF ( mandatorycardnumber ) %]Required[% END %]
There is no minimum or maximum character length.
[% END %]
@@ -776,7 +776,7 @@
-
+
This message appears on this patron's user page in the OPAC
[% IF ( mandatoryopacnote ) %]Required[% END %]
@@ -789,7 +789,7 @@
-
+
This message displays when checking out to this patron
[% IF ( mandatoryborrowernotes ) %]Required[% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
index 7a5d0978e4..2a67c71877 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
@@ -201,11 +201,11 @@ function validate1(date) {
[% END %]
[% UNLESS ( I ) %]
- [% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])
+ [% title | html %] [% firstname | html %] [% END %] [% surname | html %] ([% cardnumber | html %])
- [% UNLESS ( I ) %][% IF ( othernames ) %]“[% othernames %]”[% END %]
+ [% UNLESS ( I ) %][% IF ( othernames ) %]“[% othernames | html %]”[% END %]
[% IF Koha.Preference( 'AddressFormat' ) %]
@@ -218,22 +218,22 @@ function validate1(date) {
[% IF ( I ) %]
- [% IF ( phonepro ) %]
Organization phone: [% phonepro %]
[% END %]
- [% IF ( emailpro ) %]
Organization email: [% emailpro %]
[% END %]
+ [% IF ( phonepro ) %]
Organization phone: [% phonepro | html %]
[% END %]
+ [% IF ( emailpro ) %]
Organization email: [% emailpro | html %]
[% END %]
[% ELSE %]
- [% IF ( phone ) %]
Primary phone: [% phone %]
[% END %]
- [% IF ( phonepro ) %]
Secondary phone: [% phonepro %]
[% END %]
- [% IF ( mobile ) %]
Other phone: [% mobile %]
[% END %]
+ [% IF ( phone ) %]
Primary phone: [% phone | html %]
[% END %]
+ [% IF ( phonepro ) %]
Secondary phone: [% phonepro | html %]
[% END %]
+ [% IF ( mobile ) %]
Other phone: [% mobile | html %]
[% END %]
[% END %]
[% IF ( P ) %]
- [% IF ( phone ) %]