a5c7c0fe272a6647cfeb3b379c1d55ea49f9efcc
[koha-equinox.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.authorised_value == patron.streettype %]
16             <option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
17           [% ELSE %]
18             <option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</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="[% patron.address | html %]" />
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="[% patron.streetnumber | html %]" />
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="[% patron.address2 | html %]" />
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="[% patron.zipcode | html %]" />
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="[% patron.city | html %]" />
83         [% IF cities.count %]or choose
84         <select id="select_city" name="select_city">
85             <option value="|||"></option>
86             [% FOREACH c IN cities %]
87                 [% IF c.city_name == patron.city && c.city_state == patron.state && c.city_zipcode == patron.zipcode %]
88                 <option value="[% c.city_zipcode | html %]|[% c.city_name | html %]|[% c.city_state | html %]|[% c.city_country | html %]" selected="selected">
89                 [% ELSE %]
90                 <option value="[% c.city_zipcode | html %]|[% c.city_name | html %]|[% c.city_state | html %]|[% c.city_country | html %]">
91                 [% END %]
92                     [% c.city_name | html %] [% c.city_state | html %] [% c.city_zipcode | html %]
93                 </option>
94             [% END %]
95         </select>
96         [% END %]
97       [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
98     </li>
99         [% END %]
100         [% UNLESS nostate %]
101     <li>
102       [% IF ( mandatorystate ) %]
103         <label for="state" class="required">
104       [% ELSE %]
105         <label for="state">
106       [% END %]
107       State: </label>
108       <input type="text" name="state" id="state" size="20" value="[% patron.state | html %]" />
109       [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
110     </li>
111         [% END %]
112         [% UNLESS nocountry %]
113     <li>
114       [% IF ( mandatorycountry ) %]
115         <label for="country" class="required">
116       [% ELSE %]
117         <label for="country">
118       [% END %]
119       Country: </label>
120         <input type="text" name="country" id="country" size="20" value="[% patron.country | html %]" />
121       [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
122     </li>
123         [% END %]
124     </ol>
125 </fieldset>