Bug 15373: Changing Zip to ZIP on OPAC and Intranet
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / member-main-address-style-de.inc
1 <fieldset class="rows" id="memberentry_mainaddress">
2     <legend id="main_address_lgd">Main address</legend><ol>
3 [% UNLESS nostreettype %]
4     [% IF roadtypes %]
5       <li>
6       [% IF ( mandatorystreettype ) %]
7       <label for="streettype" class="required">
8       [% ELSE %]
9       <label for="streettype">
10       [% END %]
11       Street type: </label>
12       <select name="streettype">
13         <option value=""></option>
14         [% FOR roadtype IN roadtypes %]
15           [% IF roadtype.selected %]
16             <option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
17           [% ELSE %]
18             <option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
19           [% END %]
20         [% END %]
21       </select>
22       [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
23       </li>
24     [% END %]
25         [% END %]
26         [% UNLESS noaddress %]
27     <li>
28       [% IF ( mandatoryaddress ) %]
29       <label for="address" class="required">
30       [% ELSE %]
31       <label for="address">
32       [% END %]
33       Address: </label>
34             <input type="text" id="address" name="address" size="35" value="[% address %]" />
35       [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
36     </li>
37         [% END %]
38         [% UNLESS nostreetnumber %]
39     <li>
40       [% IF ( mandatorystreetnumber ) %]
41       <label for="streetnumber" class="required">
42       [% ELSE %]
43       <label for="streetnumber">
44       [% END %]
45       Street number: </label>
46         <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" />
47 [% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
48     </li>
49         [% END %]
50         [% UNLESS noaddress2 %]
51     <li>
52       [% IF ( mandatoryaddress2 ) %]
53       <label for="address2" class="required">
54       [% ELSE %]
55       <label for="address2">
56       [% END %]
57       Address 2: </label>
58             <input type="text" id="address2" name="address2" size="35" value="[% address2 %]" />
59       [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
60     </li>
61         [% END %]
62         [% UNLESS nozipcode %]
63     <li>
64       [% IF ( mandatoryzipcode ) %]
65         <label for="zipcode" class="required">
66       [% ELSE %]
67         <label for="zipcode">
68       [% END %]
69       ZIP/Postal code: </label>
70             <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" />
71           [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
72     </li>
73         [% END %]
74         [% UNLESS nocity %]
75     <li>
76       [% IF ( mandatorycity ) %]
77         <label for="city" class="required">
78       [% ELSE %]
79         <label for="city">
80       [% END %]
81       City: </label>
82         <input type="text" id="city" name="city" size="20" value="[% city %]" />
83         [% IF ( city_cgipopup ) %]or <strong>choose</strong>
84         <select id="select_city" name="select_city">
85         [% FOREACH city_loo IN city_loop %]
86             [% IF ( city_loo.selected ) %]
87             <option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]" selected="selected">
88             [% ELSE %]
89             <option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]">
90             [% END %]
91                 [% city_loo.city_name %] [% city_loo.city_state %] [% city_loo.city_zipcode %]
92             </option>
93         [% END %]
94         </select>
95         [% END %]
96       [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
97     </li>
98         [% END %]
99         [% UNLESS nostate %]
100     <li>
101       [% IF ( mandatorystate ) %]
102         <label for="state" class="required">
103       [% ELSE %]
104         <label for="state">
105       [% END %]
106       State: </label>
107       <input type="text" name="state" id="state" size="20" value="[% state %]" />
108       [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
109     </li>
110         [% END %]
111         [% UNLESS nocountry %]
112     <li>
113       [% IF ( mandatorycountry ) %]
114         <label for="country" class="required">
115       [% ELSE %]
116         <label for="country">
117       [% END %]
118       Country: </label>
119         <input type="text" name="country" id="country" size="20" value="[% country %]" />
120       [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
121     </li>
122         [% END %]
123     </ol>
124 </fieldset>