Lines 1-3
Link Here
|
|
|
1 |
[% USE Koha %] |
1 |
<fieldset class="rows" id="memberentry_mainaddress"> |
2 |
<fieldset class="rows" id="memberentry_mainaddress"> |
2 |
<legend id="main_address_lgd">Main address</legend><ol> |
3 |
<legend id="main_address_lgd">Main address</legend><ol> |
3 |
[% UNLESS nostreettype %] |
4 |
[% UNLESS nostreettype %] |
Lines 31-37
Link Here
|
31 |
<label for="address"> |
32 |
<label for="address"> |
32 |
[% END %] |
33 |
[% END %] |
33 |
Address: </label> |
34 |
Address: </label> |
34 |
<input type="text" id="address" name="address" size="35" value="[% address %]"[% IF SmartformEnable %] class="smartform-instance-main smartform-street"[% END %] /> |
35 |
<input type="text" id="address" name="address" size="35" value="[% address %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-main smartform-street[% IF ( nostreetnumber ) %]-and-number[% END %]"[% END %] /> |
35 |
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %] |
36 |
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %] |
36 |
</li> |
37 |
</li> |
37 |
[% END %] |
38 |
[% END %] |
Lines 43-49
Link Here
|
43 |
<label for="streetnumber"> |
44 |
<label for="streetnumber"> |
44 |
[% END %] |
45 |
[% END %] |
45 |
Street number: </label> |
46 |
Street number: </label> |
46 |
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]"[% IF SmartformEnable %] class="smartform-instance-main smartform-number"[% END %] /> |
47 |
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-main smartform-number"[% END %] /> |
47 |
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %] |
48 |
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %] |
48 |
</li> |
49 |
</li> |
49 |
[% END %] |
50 |
[% END %] |
Lines 67-73
Link Here
|
67 |
<label for="zipcode"> |
68 |
<label for="zipcode"> |
68 |
[% END %] |
69 |
[% END %] |
69 |
ZIP/Postal code: </label> |
70 |
ZIP/Postal code: </label> |
70 |
<input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]"[% IF SmartformEnable %] class="smartform-instance-main smartform-zip"[% END %] /> |
71 |
<input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-main smartform-zip"[% END %] /> |
71 |
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %] |
72 |
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %] |
72 |
</li> |
73 |
</li> |
73 |
[% END %] |
74 |
[% END %] |
Lines 79-85
Link Here
|
79 |
<label for="city"> |
80 |
<label for="city"> |
80 |
[% END %] |
81 |
[% END %] |
81 |
City: </label> |
82 |
City: </label> |
82 |
<input type="text" id="city" name="city" size="20" value="[% city %]"[% IF SmartformEnable %] class="smartform-instance-main smartform-city"[% END %] /> |
83 |
<input type="text" id="city" name="city" size="20" value="[% city %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-main smartform-city"[% END %] /> |
83 |
[% IF cities.count %]or choose |
84 |
[% IF cities.count %]or choose |
84 |
<select id="select_city" name="select_city"> |
85 |
<select id="select_city" name="select_city"> |
85 |
<option value="|||"></option> |
86 |
<option value="|||"></option> |
Lines 122-128
Link Here
|
122 |
</li> |
123 |
</li> |
123 |
[% END %] |
124 |
[% END %] |
124 |
</ol> |
125 |
</ol> |
125 |
[% IF SmartformEnable %] |
126 |
[% IF Koha.Preference('SmartformEnable') %] |
126 |
<div id="smartform-result-main" style="margin-left: 110px; margin-top:6px;" class="invisible" ></div> |
127 |
<div id="smartform-result-main" style="margin-left: 110px; margin-top:6px;" class="invisible" ></div> |
127 |
[% END %] |
128 |
[% END %] |
128 |
</fieldset> |
129 |
</fieldset> |