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 (-5 / +6 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
        <fieldset class="rows" id="memberentry_address">
2
        <fieldset class="rows" id="memberentry_address">
2
        <legend id="alt_address_lgd">Alternate address</legend><ol>
3
        <legend id="alt_address_lgd">Alternate address</legend><ol>
3
        [% UNLESS noB_address %]
4
        [% UNLESS noB_address %]
Lines 8-14 Link Here
8
                    <label for="B_address">
9
                    <label for="B_address">
9
                [% END %]
10
                [% END %]
10
                Address: </label>
11
                Address: </label>
11
                    <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]"[% IF SmartformEnable %] class="smartform-instance-alt-address smartform-street"[% END %] />
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 ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
13
      [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
13
            </li>
14
            </li>
14
        [% END %]
15
        [% END %]
Lines 43-49 Link Here
43
                    <label for="B_streetnumber">
44
                    <label for="B_streetnumber">
44
                [% END %]
45
                [% END %]
45
                Street Number: </label>
46
                Street Number: </label>
46
                    <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% B_streetnumber %]"[% IF SmartformEnable %] class="smartform-instance-alt-address smartform-number"[% END %] />
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 %] />
47
                [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
48
                [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
48
            </li>
49
            </li>
49
        [% END %]
50
        [% END %]
Lines 68-74 Link Here
68
                                        <label for="B_zipcode">
69
                                        <label for="B_zipcode">
69
                                [% END %]
70
                                [% END %]
70
                                ZIP/Postal code: </label>
71
                                ZIP/Postal code: </label>
71
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]"[% IF SmartformEnable %] class="smartform-instance-alt-address smartform-zip"[% END %] />
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 %] />
72
          [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
73
          [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
73
                        </li>
74
                        </li>
74
        [% END %]
75
        [% END %]
Lines 80-86 Link Here
80
                    <label for="B_city">
81
                    <label for="B_city">
81
                [% END %]
82
                [% END %]
82
                City: </label>
83
                City: </label>
83
                <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]"[% IF SmartformEnable %] class="smartform-instance-alt-address smartform-city"[% END %] />
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 %] />
84
      [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
85
      [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
85
            </li>
86
            </li>
86
        [% END %]
87
        [% END %]
Lines 144-150 Link Here
144
            </li>
145
            </li>
145
        [% END %]
146
        [% END %]
146
            </ol>
147
            </ol>
147
        [% IF SmartformEnable %]
148
        [% IF Koha.Preference('SmartformEnable') %]
148
            <div id="smartform-result-alt-address" style="margin-left: 110px; margin-top:6px;" class="invisible" ></div>
149
            <div id="smartform-result-alt-address" style="margin-left: 110px; margin-top:6px;" class="invisible" ></div>
149
        [% END %]
150
        [% END %]
150
        </fieldset>
151
        </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-de.inc (-4 / +5 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
        <fieldset class="rows" id="memberentry_altaddress">
2
        <fieldset class="rows" id="memberentry_altaddress">
2
            <legend id="alt_contact_lgd">Alternate contact</legend><ol>
3
            <legend id="alt_contact_lgd">Alternate contact</legend><ol>
3
        [% UNLESS noaltcontactsurname %]
4
        [% UNLESS noaltcontactsurname %]
Lines 32-38 Link Here
32
                <label for="altcontactaddress1">
33
                <label for="altcontactaddress1">
33
                [% END %]
34
                [% END %]
34
                Address:</label>
35
                Address:</label>
35
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40"[% IF SmartformEnable %] class="smartform-instance-alt-contact smartform-street-and-number"[% END %] />
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 ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
37
                [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
37
            </li>
38
            </li>
38
        [% END %]
39
        [% END %]
Lines 56-62 Link Here
56
                                <label for="altcontactzipcode">
57
                                <label for="altcontactzipcode">
57
                                [% END %]
58
                                [% END %]
58
                                ZIP/Postal code:</label>
59
                                ZIP/Postal code:</label>
59
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5"[% IF SmartformEnable %] class="smartform-instance-alt-contact smartform-zip"[% END %] />
60
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-alt-contact smartform-zip"[% END %] />
60
                                [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
61
                                [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
61
                        </li>
62
                        </li>
62
        [% END %]
63
        [% END %]
Lines 68-74 Link Here
68
                <label for="altcontactaddress3">
69
                <label for="altcontactaddress3">
69
                [% END %]
70
                [% END %]
70
                City:</label>
71
                City:</label>
71
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20"[% IF SmartformEnable %] class="smartform-instance-alt-contact smartform-city"[% END %] />
72
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20"[% IF Koha.Preference('SmartformEnable') %] class="smartform-instance-alt-contact smartform-city"[% END %] />
72
                [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
73
                [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
73
            </li>
74
            </li>
74
        [% END %]
75
        [% END %]
Lines 109-115 Link Here
109
            </li>
110
            </li>
110
        [% END %]
111
        [% END %]
111
            </ol>
112
            </ol>
112
        [% IF SmartformEnable %]
113
        [% IF Koha.Preference('SmartformEnable') %]
113
            <div id="smartform-result-alt-contact" style="margin-left: 110px; margin-top:6px;" class="invisible" ></div>
114
            <div id="smartform-result-alt-contact" style="margin-left: 110px; margin-top:6px;" class="invisible" ></div>
114
        [% END %]
115
        [% END %]
115
        </fieldset>
116
        </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-de.inc (-5 / +6 lines)
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>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +1 lines)
Lines 5-11 Link Here
5
<title>Koha &rsaquo; Patrons &rsaquo; [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</title>
5
<title>Koha &rsaquo; Patrons &rsaquo; [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
7
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
8
[% IF SmartformEnable %]
8
[% IF Koha.Preference('SmartformEnable') %]
9
<script type="text/javascript" src="http://smartform.cz/api/v1/smartform.js"></script>
9
<script type="text/javascript" src="http://smartform.cz/api/v1/smartform.js"></script>
10
<script type="text/javascript">
10
<script type="text/javascript">
11
//<![CDATA[
11
//<![CDATA[
(-)a/members/memberentry.pl (-4 lines)
Lines 720-728 if (C4::Context->preference('EnhancedMessagingPreferences')) { Link Here
720
    $template->param(TalkingTechItivaPhone => C4::Context->preference("TalkingTechItivaPhoneNotification"));
720
    $template->param(TalkingTechItivaPhone => C4::Context->preference("TalkingTechItivaPhoneNotification"));
721
}
721
}
722
722
723
# Smartform service
724
$template->param( "SmartformEnable" => C4::Context->preference('SmartformEnable') );
725
726
$template->param( "showguarantor"  => ($category_type=~/A|I|S|X/) ? 0 : 1); # associate with step to know where you are
723
$template->param( "showguarantor"  => ($category_type=~/A|I|S|X/) ? 0 : 1); # associate with step to know where you are
727
$debug and warn "memberentry step: $step";
724
$debug and warn "memberentry step: $step";
728
$template->param(%data);
725
$template->param(%data);
729
- 

Return to bug 17718