Bug 18762: Remove warnings from xt/author/valid-templates.t
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / member-alt-address-style-de.inc
1         <fieldset class="rows" id="memberentry_address">
2         <legend id="alt_address_lgd">Alternate address</legend><ol>
3         [% UNLESS noB_address %]
4             <li>
5                 [% IF ( mandatoryB_address ) %]
6                     <label for="B_address" class="required">
7                 [% ELSE %]
8                     <label for="B_address">
9                 [% END %]
10                 Address: </label>
11                     <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" />
12       [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
13             </li>
14         [% END %]
15
16         [% IF roadtypes %]
17                 <li>
18             [% IF ( mandatoryB_streettype ) %]
19                 <label for="B_streettype" class="required">
20             [% ELSE %]
21                 <label for="B_streettype">
22         [% END %]
23             Street type: </label>
24             <select name="B_streettype">
25             <option value=""></option>
26             [% FOR roadtype IN roadtypes %]
27                 [% IF roadtype.authorised_value == B_streettype %]
28                     <option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
29                 [% ELSE %]
30                     <option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
31                 [% END %]
32             [% END %]
33             </select>
34             [% IF ( mandatoryB_streettype ) %]<span class="required">Required</span>[% END %]
35             </li>
36         [% END %]
37
38         [% UNLESS noB_streetnumber %]
39             <li>
40                 [% IF ( mandatoryB_streetnumber ) %]
41                     <label for="B_streetnumber" class="required">
42                 [% ELSE %]
43                     <label for="B_streetnumber">
44                 [% END %]
45                 Street Number: </label>
46                     <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% B_streetnumber %]" />
47                 [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
48             </li>
49         [% END %]
50
51         [% UNLESS noB_address2 %]
52             <li>
53                 [% IF ( mandatoryB_address2 ) %]
54                     <label for="B_address2" class="required">
55                 [% ELSE %]
56                     <label for="B_address2">
57                 [% END %]
58                 Address 2: </label>
59                     <input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" />
60       [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
61             </li>
62         [% END %]
63         [% UNLESS noB_zipcode %]
64                         <li>
65                                 [% IF ( mandatoryB_zipcode ) %]
66                                         <label for="B_zipcode" class="required">
67                                 [% ELSE %]
68                                         <label for="B_zipcode">
69                                 [% END %]
70                                 ZIP/Postal code: </label>
71                     <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" />
72           [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
73                         </li>
74         [% END %]
75         [% UNLESS noB_city %]
76             <li>
77                 [% IF ( mandatoryB_city ) %]
78                     <label for="B_city" class="required" >
79                 [% ELSE %]
80                     <label for="B_city">
81                 [% END %]
82                 City: </label>
83                 <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
84       [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
85             </li>
86         [% END %]
87         [% UNLESS noB_state %]
88             <li>
89                 [% IF ( mandatoryB_state ) %]
90                     <label for="B_state" class="required" >
91                 [% ELSE %]
92                     <label for="B_state">
93                 [% END %]
94                 State: </label>
95                 <input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
96       [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
97             </li>
98         [% END %]
99         [% UNLESS noB_country %]
100             <li>
101                 [% IF ( mandatoryB_country ) %]
102                     <label for="B_country" class="required">
103                 [% ELSE %]
104                     <label for="B_country">
105                 [% END %]
106                 Country: </label>
107                     <input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" />
108       [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
109             </li>
110         [% END %]
111         [% UNLESS noB_phone %]
112             <li>
113                 [% IF ( mandatoryB_phone ) %]
114                 <label for="B_phone" class="required">
115                 [% ELSE %]
116                 <label for="B_phone">
117                 [% END %]
118                 Phone: </label>
119                     <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" />
120                 [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
121             </li>
122         [% END %]
123         [% UNLESS noB_email %]
124             <li>
125         [% IF ( mandatoryB_email ) %]
126           <label for="B_email" class="required">
127         [% ELSE %]
128           <label for="B_email">
129         [% END %]
130         Email: </label>
131             <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" />
132         [% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
133         [% END %]
134         [% UNLESS nocontactnote %]
135             <li>
136                 [% IF ( mandatorycontactnote ) %]
137                 <label for="contactnote" class="required">
138                 [% ELSE %]
139                 <label for="contactnote">
140                 [% END %]
141                 Contact note: </label>
142                 <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
143         [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
144             </li>
145         [% END %]
146             </ol>
147         </fieldset>