View | Details | Raw Unified | Return to bug 17718
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-de.inc (-13 / +33 lines)
Lines 9-15 Link Here
9
                    <label for="B_address">
9
                    <label for="B_address">
10
                [% END %]
10
                [% END %]
11
                Address: </label>
11
                Address: </label>
12
                    <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-alt-address smartform-street[% IF ( noB_streetnumber ) %]-and-number[% END %]"[% END %] />
12
                [% IF Koha.Preference('SmartformEnable') %]
13
                    [% IF ( noB_streetnumber ) %]
14
                        <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" class="smartform-instance-alt-address smartform-street-and-number" />
15
                    [% ELSE %]
16
                        <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" class="smartform-instance-alt-address smartform-street" />
17
                    [% END %]
18
                [% ELSE %]
19
                    <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" />
20
                [% END %]
13
      [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
21
      [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
14
            </li>
22
            </li>
15
        [% END %]
23
        [% END %]
Lines 44-50 Link Here
44
                    <label for="B_streetnumber">
52
                    <label for="B_streetnumber">
45
                [% END %]
53
                [% END %]
46
                Street Number: </label>
54
                Street Number: </label>
47
                    <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% B_streetnumber %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-alt-address smartform-number"[% END %] />
55
                [% IF Koha.Preference('SmartformEnable') %]
56
                    <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% B_streetnumber %]" class="smartform-instance-alt-address smartform-number" />
57
                [% ELSE %]
58
                    <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% B_streetnumber %]" />
59
                [% END %]
48
                [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
60
                [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
49
            </li>
61
            </li>
50
        [% END %]
62
        [% END %]
Lines 62-77 Link Here
62
            </li>
74
            </li>
63
        [% END %]
75
        [% END %]
64
        [% UNLESS noB_zipcode %]
76
        [% UNLESS noB_zipcode %]
65
                        <li>
77
            <li>
66
                                [% IF ( mandatoryB_zipcode ) %]
78
                [% IF ( mandatoryB_zipcode ) %]
67
                                        <label for="B_zipcode" class="required">
79
                    <label for="B_zipcode" class="required">
68
                                [% ELSE %]
80
                [% ELSE %]
69
                                        <label for="B_zipcode">
81
                    <label for="B_zipcode">
70
                                [% END %]
82
                [% END %]
71
                                ZIP/Postal code: </label>
83
                ZIP/Postal code: </label>
72
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-alt-address smartform-zip"[% END %] />
84
                [% IF Koha.Preference('SmartformEnable') %]
73
          [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
85
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" class="smartform-instance-alt-address smartform-zip" />
74
                        </li>
86
                [% ELSE %]
87
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" />
88
                [% END %]
89
                [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
90
            </li>
75
        [% END %]
91
        [% END %]
76
        [% UNLESS noB_city %]
92
        [% UNLESS noB_city %]
77
            <li>
93
            <li>
Lines 81-87 Link Here
81
                    <label for="B_city">
97
                    <label for="B_city">
82
                [% END %]
98
                [% END %]
83
                City: </label>
99
                City: </label>
84
                <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-alt-address smartform-city"[% END %] />
100
                [% IF Koha.Preference('SmartformEnable') %]
101
                    <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" class="smartform-instance-alt-address smartform-city" />
102
                [% ELSE %]
103
                    <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
104
                [% END %]
85
      [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
105
      [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
86
            </li>
106
            </li>
87
        [% END %]
107
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-de.inc (-12 / +24 lines)
Lines 33-39 Link Here
33
                <label for="altcontactaddress1">
33
                <label for="altcontactaddress1">
34
                [% END %]
34
                [% END %]
35
                Address:</label>
35
                Address:</label>
36
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-alt-contact smartform-street-and-number"[% END %] />
36
                [% IF Koha.Preference('SmartformEnable') %]
37
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" class="smartform-instance-alt-contact smartform-street-and-number" />
38
                [% ELSE %]
39
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" />
40
                [% END %]
37
                [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
41
                [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
38
            </li>
42
            </li>
39
        [% END %]
43
        [% END %]
Lines 50-65 Link Here
50
            </li>
54
            </li>
51
        [% END %]
55
        [% END %]
52
        [% UNLESS noaltcontactzipcode %]
56
        [% UNLESS noaltcontactzipcode %]
53
                        <li>
57
            <li>
54
                            [% IF ( mandatoryaltcontactzipcode ) %]
58
                [% IF ( mandatoryaltcontactzipcode ) %]
55
                                <label for="altcontactzipcode" class="required">
59
                    <label for="altcontactzipcode" class="required">
56
                                [% ELSE %]
60
                [% ELSE %]
57
                                <label for="altcontactzipcode">
61
                    <label for="altcontactzipcode">
58
                                [% END %]
62
                [% END %]
59
                                ZIP/Postal code:</label>
63
                ZIP/Postal code:</label>
60
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-alt-contact smartform-zip"[% END %] />
64
                [% IF Koha.Preference('SmartformEnable') %]
61
                                [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
65
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" class="smartform-instance-alt-contact smartform-zip" />
62
                        </li>
66
                [% ELSE %]
67
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" />
68
                [% END %]
69
                [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
70
            </li>
63
        [% END %]
71
        [% END %]
64
        [% UNLESS noaltcontactaddress3 %]
72
        [% UNLESS noaltcontactaddress3 %]
65
            <li>
73
            <li>
Lines 69-75 Link Here
69
                <label for="altcontactaddress3">
77
                <label for="altcontactaddress3">
70
                [% END %]
78
                [% END %]
71
                City:</label>
79
                City:</label>
72
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-alt-contact smartform-city"[% END %] />
80
                [% IF Koha.Preference('SmartformEnable') %]
81
                    <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" class="smartform-instance-alt-contact smartform-city" />
82
                [% ELSE %]
83
                    <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
84
                [% END %]
73
                [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
85
                [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
74
            </li>
86
            </li>
75
        [% END %]
87
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-de.inc (-5 / +24 lines)
Lines 32-38 Link Here
32
      <label for="address">
32
      <label for="address">
33
      [% END %]
33
      [% END %]
34
      Address: </label>
34
      Address: </label>
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 Koha.Preference('SmartformEnable') %]
36
        [% IF ( nostreetnumber ) %]
37
            <input type="text" id="address" name="address" size="35" value="[% address %]" class="smartform-instance-main smartform-street-and-number" />
38
        [% ELSE %]
39
            <input type="text" id="address" name="address" size="35" value="[% address %]" class="smartform-instance-main smartform-street" />
40
        [% END %]
41
      [% ELSE %]
42
            <input type="text" id="address" name="address" size="35" value="[% address %]" />
43
      [% END %]
36
      [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
44
      [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
37
    </li>
45
    </li>
38
        [% END %]
46
        [% END %]
Lines 44-50 Link Here
44
      <label for="streetnumber">
52
      <label for="streetnumber">
45
      [% END %]
53
      [% END %]
46
      Street number: </label>
54
      Street number: </label>
47
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-main smartform-number"[% END %] />
55
      [% IF Koha.Preference('SmartformEnable') %]
56
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" class="smartform-instance-main smartform-number" />
57
      [% ELSE %]
58
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" />
59
      [% END %]
48
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
60
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
49
    </li>
61
    </li>
50
        [% END %]
62
        [% END %]
Lines 68-74 Link Here
68
        <label for="zipcode">
80
        <label for="zipcode">
69
      [% END %]
81
      [% END %]
70
      ZIP/Postal code: </label>
82
      ZIP/Postal code: </label>
71
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-main smartform-zip"[% END %] />
83
      [% IF Koha.Preference('SmartformEnable') %]
84
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" class="smartform-instance-main smartform-zip" />
85
      [% ELSE %]
86
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" />
87
      [% END %]
72
          [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
88
          [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
73
    </li>
89
    </li>
74
        [% END %]
90
        [% END %]
Lines 80-86 Link Here
80
        <label for="city">
96
        <label for="city">
81
      [% END %]
97
      [% END %]
82
      City: </label>
98
      City: </label>
83
        <input type="text" id="city" name="city" size="20" value="[% city %]"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-main smartform-city"[% END %] />
99
      [% IF Koha.Preference('SmartformEnable') %]
100
        <input type="text" id="city" name="city" size="20" value="[% city %]" class="smartform-instance-main smartform-city" />
101
      [% ELSE %]
102
        <input type="text" id="city" name="city" size="20" value="[% city %]" />
103
      [% END %]
84
        [% IF cities.count %]or choose
104
        [% IF cities.count %]or choose
85
        <select id="select_city" name="select_city">
105
        <select id="select_city" name="select_city">
86
            <option value="|||"></option>
106
            <option value="|||"></option>
87
- 

Return to bug 17718