Bug 13618: Add html filters to all the variables
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / member-alt-address-style-us.inc
index a4d77c3..6afd3e1 100644 (file)
@@ -8,7 +8,7 @@
                     <label for="B_streetnumber">
                 [% END %]
                 Street Number: </label>
-                <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
+                <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber | html %]" />
                [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
             </li>
         [% END %]
@@ -25,9 +25,9 @@
         <option value=""></option>
         [% FOR roadtype IN roadtypes %]
             [% IF roadtype.authorised_value == patron.B_streettype %]
-                <option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
+                <option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
             [% ELSE %]
-                <option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
+                <option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
             [% END %]
         [% END %]
         </select>
@@ -43,7 +43,7 @@
                     <label for="B_address">
                 [% END %]
                 Address: </label>
-                    <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
+                    <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address | html %]" />
       [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
             </li>
         [% END %]
@@ -55,7 +55,7 @@
                     <label for="B_address2">
                 [% END %]
                 Address 2: </label>
-                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
+                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 | html %]" />
       [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
             </li>
         [% END %]
@@ -67,7 +67,7 @@
                     <label for="B_city">
                 [% END %]
                 City: </label>
-                <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
+                <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city | html %]" />
       [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
             </li>
         [% END %]
@@ -79,7 +79,7 @@
                     <label for="B_state">
                 [% END %]
                 State: </label>
-                <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
+                <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state | html %]" />
       [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
             </li>
         [% END %]
@@ -91,7 +91,7 @@
                     <label for="B_zipcode">
                 [% END %]
                 ZIP/Postal code: </label>
-                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
+                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode | html %]" />
       [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
             </li>
         [% END %]
                     <label for="B_country">
                 [% END %]
                 Country: </label>
-                    <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
+                    <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country | html %]" />
       [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
             </li>
         [% END %]
                 <label for="B_phone">
                 [% END %]
                 Phone: </label>
-                    <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
+                    <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone | html %]" />
                 [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
             </li>
         [% END %]
           <label for="B_email">
         [% END %]
         Email: </label>
-            <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
+            <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email | html %]" />
         [% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
         [% END %]
         [% UNLESS nocontactnote %]
                 <label for="contactnote">
                 [% END %]
                 Contact note: </label>
-                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
+                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote | html %]</textarea>
         [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
             </li>
         [% END %]