e666ef9ab5b72ac17e16b236f7752332cdd5125f
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / member-main-address-style-fr.inc
1 <fieldset class="rows" id="memberentry_mainaddress">
2     <legend id="main_address_lgd">Main address</legend><ol>
3 [% UNLESS nostreetnumber %]
4     <li>
5     [% IF ( mandatorystreetnumber ) %]
6         <label for="streetnumber" class="required">
7     [% ELSE %]
8         <label for="streetnumber">
9     [% END %]
10         Street number: </label>
11         <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" />
12     [% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
13     </li>
14 [% END %]
15 [% UNLESS nostreettype %]
16     [% IF roadtypes %]
17         <li>
18         [% IF ( mandatorystreettype ) %]
19             <label for="streettype" class="required">
20         [% ELSE %]
21             <label for="streettype">
22         [% END %]
23         Street type: </label>
24         <select name="streettype">
25            <option value=""></option>
26         [% FOR roadtype IN roadtypes %]
27             [% IF roadtype.authorised_value == 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 ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
35         </li>
36     [% END %]
37 [% END %]
38 [% UNLESS noaddress %]
39     <li>
40     [% IF ( mandatoryaddress ) %]
41         <label for="address" class="required">
42     [% ELSE %]
43         <label for="address">
44     [% END %]
45     Address: </label>
46         <input type="text" id="address" name="address" size="35" value="[% address %]" />
47     [% IF ( mandatoryaddress ) %]<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 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 == city %]
88                 <option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]" selected="selected">
89             [% ELSE %]
90                  <option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]">
91             [% END %]
92                 [% c.city_name %] [% c.city_state %] [% c.city_zipcode %]
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="[% state %]" />
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="[% country %]" />
121     [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
122     </li>
123 [% END %]
124 </ol>
125 </fieldset>