Lines 1-10
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% USE Asset %] |
2 |
[% USE Asset %] |
2 |
[% USE Koha %] |
3 |
[% USE Koha %] |
3 |
[% USE KohaDates %] |
4 |
[% USE KohaDates %] |
4 |
[% USE Branches %] |
5 |
[% USE Branches %] |
5 |
[% SET footerjs = 1 %] |
6 |
[% SET footerjs = 1 %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
<title>Koha › Patrons › [% 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> |
8 |
<title>[% t('Koha › Patrons ›') %] [% IF ( opadd ) %][% t('Add') %][% ELSIF ( opduplicate ) %][% t('Duplicate') %][% ELSE %] [% t('Modify') %][% END %] [% t('patron') %] [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF categoryname %][% categoryname %][% ELSE %][% IF ( I ) %][% t('Organization') %][% END %][% IF ( A ) %][% t('Adult') %][% END %][% IF ( C ) %][% t('Child') %][% END %][% IF ( P ) %][% t('Professional') %][% END %][% IF ( S ) %][% t('Staff') %][% END %][% END %])</title> |
8 |
[% INCLUDE 'doc-head-close.inc' %] |
9 |
[% INCLUDE 'doc-head-close.inc' %] |
9 |
</head> |
10 |
</head> |
10 |
|
11 |
|
Lines 12-20
Link Here
|
12 |
[% INCLUDE 'header.inc' %] |
13 |
[% INCLUDE 'header.inc' %] |
13 |
[% INCLUDE 'patron-search.inc' %] |
14 |
[% INCLUDE 'patron-search.inc' %] |
14 |
|
15 |
|
15 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › |
16 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/members/members-home.pl">[% t('Patrons') %]</a> › |
16 |
[% IF (firstname || surname ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]</a> ›[% END %] |
17 |
[% IF (firstname || surname ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]</a> ›[% END %] |
17 |
<strong>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron ([%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 %])</strong> |
18 |
<strong>[% IF ( opadd ) %][% t('Add') %][% ELSIF ( opduplicate ) %][% t('Duplicate') %][% ELSE %] [% t('Modify') %][% END %] [% t('patron (') %][%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %][% t('Organization') %][% END %][% IF ( A ) %][% t('Adult') %][% END %][% IF ( C ) %][% t('Child') %][% END %][% IF ( P ) %][% t('Professional') %][% END %][% IF ( S ) %][% t('Staff') %][% END %][% END %])</strong> |
18 |
</div> |
19 |
</div> |
19 |
[% IF ( opadd ) %]<div id="doc" class="yui-t7">[% ELSE %]<div id="doc3" class="yui-t2">[% END %] |
20 |
[% IF ( opadd ) %]<div id="doc" class="yui-t7">[% ELSE %]<div id="doc3" class="yui-t2">[% END %] |
20 |
|
21 |
|
Lines 23-111
Link Here
|
23 |
<div class="yui-b"> |
24 |
<div class="yui-b"> |
24 |
[% IF error_alert %] |
25 |
[% IF error_alert %] |
25 |
[% IF ( error_alert == "no_email" ) %] |
26 |
[% IF ( error_alert == "no_email" ) %] |
26 |
<div class="error">This member has no email</div> |
27 |
<div class="error">[% t('This member has no email') %]</div> |
27 |
[% ELSE %] |
28 |
[% ELSE %] |
28 |
<div class="error">[% error_alert %]</div> |
29 |
<div class="error">[% error_alert %]</div> |
29 |
[% END %] |
30 |
[% END %] |
30 |
[% END %] |
31 |
[% END %] |
31 |
[% IF info_alert %] |
32 |
[% IF info_alert %] |
32 |
<div class="dialog message">Email has been sent.</div> |
33 |
<div class="dialog message">[% t('Email has been sent.') %]</div> |
33 |
[% END %] |
34 |
[% END %] |
34 |
|
35 |
|
35 |
[% INCLUDE 'noadd-warnings.inc' %] |
36 |
[% INCLUDE 'noadd-warnings.inc' %] |
36 |
|
37 |
|
37 |
[% UNLESS ( no_add ) %] |
38 |
[% UNLESS ( no_add ) %] |
38 |
<h1>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% 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 %])</h1> |
39 |
<h1>[% IF ( opadd ) %][% t('Add') %][% ELSIF ( opduplicate ) %][% t('Duplicate') %][% ELSE %] [% t('Modify') %][% END %] [% t('patron') %] [% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %][% t('Organization') %][% END %][% IF ( A ) %][% t('Adult') %][% END %][% IF ( C ) %][% t('Child') %][% END %][% IF ( P ) %][% t('Professional') %][% END %][% IF ( S ) %][% t('Staff') %][% END %][% END %])</h1> |
39 |
|
40 |
|
40 |
[% IF quickadd && opadd && !check_member %] |
41 |
[% IF quickadd && opadd && !check_member %] |
41 |
<a href="#" class="toggle_quick_add"><i class="fa fa-plus-square"></i> Show full form</a> |
42 |
<a href="#" class="toggle_quick_add"><i class="fa fa-plus-square"></i> [% t('Show full form') %]</a> |
42 |
<a href="#" class="toggle_quick_add" style="display:none"><i class="fa fa-minus-square"></i> Show brief form</a> |
43 |
<a href="#" class="toggle_quick_add" style="display:none"><i class="fa fa-minus-square"></i> [% t('Show brief form') %]</a> |
43 |
[% END %] |
44 |
[% END %] |
44 |
|
45 |
|
45 |
[% IF ( check_member ) %] |
46 |
[% IF ( check_member ) %] |
46 |
<div class="dialog alert"> |
47 |
<div class="dialog alert"> |
47 |
<h3>Duplicate patron record?</h3> |
48 |
<h3>[% t('Duplicate patron record?') %]</h3> |
48 |
<p><a class="popup" href="#" onclick="Dopop('moremember.pl?print=brief&borrowernumber=[% check_member %]');return false;" >View existing record</a></p> |
49 |
<p><a class="popup" href="#" onclick="Dopop('moremember.pl?print=brief&borrowernumber=[% check_member %]');return false;">[% t('View existing record') %]</a></p> |
49 |
<button id="duplicate" type="submit" class="new"><i class="fa fa-pencil"></i> It is a duplicate. |
50 |
<button id="duplicate" type="submit" class="new"><i class="fa fa-pencil"></i> [% t('It is a duplicate.') %] |
50 |
Edit existing record</button> |
51 |
[% t('Edit existing record') %]</button> |
51 |
|
52 |
|
52 |
<button type="submit" id="not-duplicate" class="new"><i class="fa fa-plus"></i> Not a duplicate. |
53 |
<button type="submit" id="not-duplicate" class="new"><i class="fa fa-plus"></i> [% t('Not a duplicate.') %] |
53 |
Save as new record</button> |
54 |
[% t('Save as new record') %]</button> |
54 |
</div> |
55 |
</div> |
55 |
[% END %] |
56 |
[% END %] |
56 |
|
57 |
|
57 |
[% IF ( nok ) %] |
58 |
[% IF ( nok ) %] |
58 |
<div class="dialog alert"> |
59 |
<div class="dialog alert"> |
59 |
<p>The following fields are wrong. Please fix them.</p> |
60 |
<p>[% t('The following fields are wrong. Please fix them.') %]</p> |
60 |
<ul> |
61 |
<ul> |
61 |
[% IF ( ERROR_login_exist ) %] |
62 |
[% IF ( ERROR_login_exist ) %] |
62 |
<li id="ERROR_login_exist">Username/password already exists.</li> |
63 |
<li id="ERROR_login_exist">[% t('Username/password already exists.') %]</li> |
63 |
[% END %] |
64 |
[% END %] |
64 |
[% IF ERROR_cardnumber_already_exists %] |
65 |
[% IF ERROR_cardnumber_already_exists %] |
65 |
<li id="ERROR_cardnumber">Cardnumber already in use.</li> |
66 |
<li id="ERROR_cardnumber">[% t('Cardnumber already in use.') %]</li> |
66 |
[% END %] |
67 |
[% END %] |
67 |
[% IF ERROR_cardnumber_length %] |
68 |
[% IF ERROR_cardnumber_length %] |
68 |
<li id="ERROR_cardnumber">Cardnumber length is incorrect.</li> |
69 |
<li id="ERROR_cardnumber">[% t('Cardnumber length is incorrect.') %]</li> |
69 |
[% END %] |
70 |
[% END %] |
70 |
[% IF ( ERROR_age_limitations ) %] |
71 |
[% IF ( ERROR_age_limitations ) %] |
71 |
<li id="ERROR_age_limitations">Patron's age is incorrect for their category. |
72 |
<li id="ERROR_age_limitations">[% t('Patron\'s age is incorrect for their category.') %] |
72 |
Ages allowed are [% age_low %]-[% age_high %].</li> |
73 |
[% t('Ages allowed are') %] [% age_low %]-[% age_high %].</li> |
73 |
[% END %] |
74 |
[% END %] |
74 |
[% IF ( ERROR_branch ) %] |
75 |
[% IF ( ERROR_branch ) %] |
75 |
<li id="ERROR_branch">Library is invalid.</li> |
76 |
<li id="ERROR_branch">[% t('Library is invalid.') %]</li> |
76 |
[% END %] |
77 |
[% END %] |
77 |
[% IF ( ERROR_dateofbirth ) %] |
78 |
[% IF ( ERROR_dateofbirth ) %] |
78 |
<li id="ERROR_dateofbirth">Date of birth is invalid.</li> |
79 |
<li id="ERROR_dateofbirth">[% t('Date of birth is invalid.') %]</li> |
79 |
[% END %] |
80 |
[% END %] |
80 |
[% IF ( ERROR_dateenrolled ) %] |
81 |
[% IF ( ERROR_dateenrolled ) %] |
81 |
<li id="ERROR_dateenrolled">Date of enrollment is invalid.</li> |
82 |
<li id="ERROR_dateenrolled">[% t('Date of enrollment is invalid.') %]</li> |
82 |
[% END %] |
83 |
[% END %] |
83 |
[% IF ( ERROR_dateexpiry ) %] |
84 |
[% IF ( ERROR_dateexpiry ) %] |
84 |
<li id="ERROR_dateexpiry">Date of expiration is invalid.</li> |
85 |
<li id="ERROR_dateexpiry">[% t('Date of expiration is invalid.') %]</li> |
85 |
[% END %] |
86 |
[% END %] |
86 |
[% IF ( ERROR_password_too_short ) %] |
87 |
[% IF ( ERROR_password_too_short ) %] |
87 |
<li id="ERROR_short_password">Password must be at least [% minPasswordLength %] characters long.</li> |
88 |
<li id="ERROR_short_password">[% t('Password must be at least') %] [% minPasswordLength %] [% t('characters long.') %]</li> |
88 |
[% END %] |
89 |
[% END %] |
89 |
[% IF ( ERROR_password_too_weak ) %] |
90 |
[% IF ( ERROR_password_too_weak ) %] |
90 |
<li id="ERROR_weak_password">Password must contain at least one digit, one lowercase and one uppercase.</li> |
91 |
<li id="ERROR_weak_password">[% t('Password must contain at least one digit, one lowercase and one uppercase.') %]</li> |
91 |
[% END %] |
92 |
[% END %] |
92 |
[% IF ( ERROR_password_has_whitespaces ) %] |
93 |
[% IF ( ERROR_password_has_whitespaces ) %] |
93 |
<li id="ERROR_weak_password">Password must not contain leading or trailing whitespaces.</li> |
94 |
<li id="ERROR_weak_password">[% t('Password must not contain leading or trailing whitespaces.') %]</li> |
94 |
[% END %] |
95 |
[% END %] |
95 |
[% IF ( ERROR_password_mismatch ) %] |
96 |
[% IF ( ERROR_password_mismatch ) %] |
96 |
<li id="ERROR_password_mismatch">Passwords do not match.</li> |
97 |
<li id="ERROR_password_mismatch">[% t('Passwords do not match.') %]</li> |
97 |
[% END %] |
98 |
[% END %] |
98 |
[% IF ( ERROR_extended_unique_id_failed ) %] |
99 |
[% IF ( ERROR_extended_unique_id_failed ) %] |
99 |
<li id="ERROR_extended_unique_id_failed"><strong>[% ERROR_extended_unique_id_failed_description %]:</strong> Attribute value "[% ERROR_extended_unique_id_failed_value %]" is already in use by another patron record.</li> |
100 |
<li id="ERROR_extended_unique_id_failed"><strong>[% ERROR_extended_unique_id_failed_description %]:</strong> [% t('Attribute value "') %][% ERROR_extended_unique_id_failed_value %][% t('" is already in use by another patron record.') %]</li> |
100 |
[% END %] |
101 |
[% END %] |
101 |
[% IF ERROR_bad_email %] |
102 |
[% IF ERROR_bad_email %] |
102 |
<li id="ERROR_bad_email">The primary email is invalid.</li> |
103 |
<li id="ERROR_bad_email">[% t('The primary email is invalid.') %]</li> |
103 |
[% END %] |
104 |
[% END %] |
104 |
[% IF ERROR_bad_email_secondary %] |
105 |
[% IF ERROR_bad_email_secondary %] |
105 |
<li id="ERROR_bad_email_secondary">The secondary email is invalid.</li> |
106 |
<li id="ERROR_bad_email_secondary">[% t('The secondary email is invalid.') %]</li> |
106 |
[% END %] |
107 |
[% END %] |
107 |
[% IF ERROR_bad_email_alternative %] |
108 |
[% IF ERROR_bad_email_alternative %] |
108 |
<li id="ERROR_bad_email_alternative">The alternative email is invalid.</li> |
109 |
<li id="ERROR_bad_email_alternative">[% t('The alternative email is invalid.') %]</li> |
109 |
[% END %] |
110 |
[% END %] |
110 |
</ul> |
111 |
</ul> |
111 |
</div> |
112 |
</div> |
Lines 115-136
Link Here
|
115 |
<div id="toolbar" class="btn-toolbar"> |
116 |
<div id="toolbar" class="btn-toolbar"> |
116 |
[% UNLESS ( check_member ) %] |
117 |
[% UNLESS ( check_member ) %] |
117 |
[% IF quickadd && opadd %] |
118 |
[% IF quickadd && opadd %] |
118 |
<button class="btn btn-default btn-sm toggler" id="save_quick_add" name="save"><i class="fa fa-save"></i> Save</button> |
119 |
<button class="btn btn-default btn-sm toggler" id="save_quick_add" name="save"><i class="fa fa-save"></i> [% t('Save') %]</button> |
119 |
[% END %] |
120 |
[% END %] |
120 |
<button class="btn btn-default btn-sm toggler" id="saverecord" name="save" ><i class="fa fa-save"></i> Save</button> |
121 |
<button class="btn btn-default btn-sm toggler" id="saverecord" name="save"><i class="fa fa-save"></i> [% t('Save') %]</button> |
121 |
[% IF opadd %] |
122 |
[% IF opadd %] |
122 |
<a class="btn btn-default btn-sm" href="/cgi-bin/koha/members/member.pl" class="toggler save_entryform"> |
123 |
<a class="btn btn-default btn-sm" href="/cgi-bin/koha/members/member.pl" class="toggler save_entryform"> |
123 |
[% ELSE %] |
124 |
[% ELSE %] |
124 |
<a class="btn btn-default btn-sm" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]"> |
125 |
<a class="btn btn-default btn-sm" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]"> |
125 |
[% END %] |
126 |
[% END %] |
126 |
<i class="fa fa-times"></i> Cancel |
127 |
<i class="fa fa-times"></i> [% t('Cancel') %] |
127 |
</a> |
128 |
</a> |
128 |
[% END %] |
129 |
[% END %] |
129 |
</div> |
130 |
</div> |
130 |
|
131 |
|
131 |
<form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off" class="toggler" > |
132 |
<form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off" class="toggler"> |
132 |
[% UNLESS ( check_member ) %] |
133 |
[% UNLESS ( check_member ) %] |
133 |
<input type="hidden" name="nodouble" value="[% nodouble %]" /> |
134 |
<input type="hidden" name="nodouble" value="[% nodouble %]" /> |
134 |
[% END %] |
135 |
[% END %] |
135 |
<!-- field always hidden in different form (1,2,3) --> |
136 |
<!-- field always hidden in different form (1,2,3) --> |
136 |
<input type="hidden" name="BorrowerMandatoryField" value="[% BorrowerMandatoryField %]" /> |
137 |
<input type="hidden" name="BorrowerMandatoryField" value="[% BorrowerMandatoryField %]" /> |
Lines 139-147
Link Here
|
139 |
<input type="hidden" name="destination" value="[% destination %]" /> |
140 |
<input type="hidden" name="destination" value="[% destination %]" /> |
140 |
<input type="hidden" name="check_member" value="[% check_member %]" /> |
141 |
<input type="hidden" name="check_member" value="[% check_member %]" /> |
141 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber UNLESS opduplicate %]" /> |
142 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber UNLESS opduplicate %]" /> |
142 |
<input type="hidden" name="nodouble" value="[% nodouble UNLESS opduplicate %]" /> |
143 |
<input type="hidden" name="nodouble" value="[% nodouble UNLESS opduplicate %]" /> |
143 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
144 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
144 |
[% IF ( step ) %]<input type="hidden" name="step" value="[% step %]" />[% END %] |
145 |
[% IF ( step ) %]<input type="hidden" name="step" value="[% step %]" />[% END %] |
145 |
[% IF ( opadd ) %]<input type="hidden" name="op" value="insert" /> |
146 |
[% IF ( opadd ) %]<input type="hidden" name="op" value="insert" /> |
146 |
[% ELSIF ( opduplicate ) %] |
147 |
[% ELSIF ( opduplicate ) %] |
147 |
<input type="hidden" name="op" value="insert" /> |
148 |
<input type="hidden" name="op" value="insert" /> |
Lines 158-164
Link Here
|
158 |
[% IF ( step_1 ) %] |
159 |
[% IF ( step_1 ) %] |
159 |
[%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %] |
160 |
[%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %] |
160 |
<fieldset class="rows" id="memberentry_identity"> |
161 |
<fieldset class="rows" id="memberentry_identity"> |
161 |
<legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend> |
162 |
<legend id="identity_lgd">[% IF ( I ) %][% t('Organization') %] [% ELSE %][% t('Patron') %] [% END %][% t('identity') %]</legend> |
162 |
<ol> |
163 |
<ol> |
163 |
[% UNLESS ( I ) %] |
164 |
[% UNLESS ( I ) %] |
164 |
[% UNLESS notitle %] |
165 |
[% UNLESS notitle %] |
Lines 169-175
Link Here
|
169 |
[% ELSE %] |
170 |
[% ELSE %] |
170 |
<label for="btitle"> |
171 |
<label for="btitle"> |
171 |
[% END %] |
172 |
[% END %] |
172 |
Salutation: </label> |
173 |
[% t('Salutation:') %] </label> |
173 |
<select id="btitle" name="title"> |
174 |
<select id="btitle" name="title"> |
174 |
<option value=""></option> |
175 |
<option value=""></option> |
175 |
[% FOREACH t IN Koha.Preference('BorrowersTitles').split('\|') %] |
176 |
[% FOREACH t IN Koha.Preference('BorrowersTitles').split('\|') %] |
Lines 180-186
Link Here
|
180 |
[% END %] |
181 |
[% END %] |
181 |
[% END %] |
182 |
[% END %] |
182 |
</select> |
183 |
</select> |
183 |
[% IF ( mandatorytitle ) %]<span class="required">Required</span>[% END %] |
184 |
[% IF ( mandatorytitle ) %]<span class="required">[% t('Required') %]</span>[% END %] |
184 |
</li> |
185 |
</li> |
185 |
[% END %] |
186 |
[% END %] |
186 |
[% END %] |
187 |
[% END %] |
Lines 192-204
Link Here
|
192 |
[% ELSE %] |
193 |
[% ELSE %] |
193 |
<label for="surname"> |
194 |
<label for="surname"> |
194 |
[% END %] |
195 |
[% END %] |
195 |
Surname: </label> |
196 |
[% t('Surname:') %] </label> |
196 |
[% IF ( uppercasesurnames ) %] |
197 |
[% IF ( uppercasesurnames ) %] |
197 |
<input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="[% surname %]" /> |
198 |
<input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="[% surname %]" /> |
198 |
[% ELSE %] |
199 |
[% ELSE %] |
199 |
<input type="text" id="surname" name="surname" size="20" value="[% surname %]" /> |
200 |
<input type="text" id="surname" name="surname" size="20" value="[% surname %]" /> |
200 |
[% END %] |
201 |
[% END %] |
201 |
[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %] |
202 |
[% IF ( mandatorysurname ) %]<span class="required">[% t('Required') %]</span>[% END %] |
202 |
</li> |
203 |
</li> |
203 |
[% END %] |
204 |
[% END %] |
204 |
[% UNLESS ( I ) %] |
205 |
[% UNLESS ( I ) %] |
Lines 209-217
Link Here
|
209 |
[% ELSE %] |
210 |
[% ELSE %] |
210 |
<label for="firstname"> |
211 |
<label for="firstname"> |
211 |
[% END %] |
212 |
[% END %] |
212 |
First name: </label> |
213 |
[% t('First name:') %] </label> |
213 |
<input type="text" id="firstname" name="firstname" size="20" value="[% firstname | html UNLESS opduplicate %]" /> |
214 |
<input type="text" id="firstname" name="firstname" size="20" value="[% firstname | html UNLESS opduplicate %]" /> |
214 |
[% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %] |
215 |
[% IF ( mandatoryfirstname ) %]<span class="required">[% t('Required') %]</span>[% END %] |
215 |
</li> |
216 |
</li> |
216 |
[% END %] |
217 |
[% END %] |
217 |
[% UNLESS nodateofbirth %] |
218 |
[% UNLESS nodateofbirth %] |
Lines 221-232
Link Here
|
221 |
[% ELSE %] |
222 |
[% ELSE %] |
222 |
<label for="dateofbirth"> |
223 |
<label for="dateofbirth"> |
223 |
[% END %] |
224 |
[% END %] |
224 |
Date of birth: </label> |
225 |
[% t('Date of birth:') %] </label> |
225 |
|
226 |
|
226 |
<input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="write_age();" value="[% dateofbirth UNLESS opduplicate %]" class="datepicker" /> |
227 |
<input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="write_age();" value="[% dateofbirth UNLESS opduplicate %]" class="datepicker" /> |
227 |
|
228 |
|
228 |
[% IF ( mandatorydateofbirth ) %]<span class="required">Required</span>[% END %] |
229 |
[% IF ( mandatorydateofbirth ) %]<span class="required">[% t('Required') %]</span>[% END %] |
229 |
[% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %] |
230 |
[% IF ( ERROR_dateofbirth ) %]<span class="required">[% t('(Error)') %]</span>[% END %] |
230 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
231 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
231 |
</li> |
232 |
</li> |
232 |
[% END %] |
233 |
[% END %] |
Lines 237-245
Link Here
|
237 |
[% ELSE %] |
238 |
[% ELSE %] |
238 |
<label for="initials"> |
239 |
<label for="initials"> |
239 |
[% END %] |
240 |
[% END %] |
240 |
Initials: </label> |
241 |
[% t('Initials:') %] </label> |
241 |
<input type="text" id="initials" name="initials" size="20" value="[% initials | html UNLESS opduplicate %]" /> |
242 |
<input type="text" id="initials" name="initials" size="20" value="[% initials | html UNLESS opduplicate %]" /> |
242 |
[% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %] |
243 |
[% IF ( mandatoryinitials ) %]<span class="required">[% t('Required') %]</span>[% END %] |
243 |
</li> |
244 |
</li> |
244 |
[% END %] |
245 |
[% END %] |
245 |
[% END %] |
246 |
[% END %] |
Lines 250-258
Link Here
|
250 |
[% ELSE %] |
251 |
[% ELSE %] |
251 |
<label for="othernames"> |
252 |
<label for="othernames"> |
252 |
[% END %] |
253 |
[% END %] |
253 |
Other name: </label> |
254 |
[% t('Other name:') %] </label> |
254 |
<input type="text" id="othernames" name="othernames" size="20" value="[% othernames | html UNLESS opduplicate %]" /> |
255 |
<input type="text" id="othernames" name="othernames" size="20" value="[% othernames | html UNLESS opduplicate %]" /> |
255 |
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %] |
256 |
[% IF ( mandatoryothernames ) %]<span class="required">[% t('Required') %]</span>[% END %] |
256 |
[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %] |
257 |
[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %] |
257 |
</li> |
258 |
</li> |
258 |
[% END %] |
259 |
[% END %] |
Lines 262-285
Link Here
|
262 |
|
263 |
|
263 |
[% UNLESS ( opduplicate ) %] |
264 |
[% UNLESS ( opduplicate ) %] |
264 |
[% IF ( female ) %] |
265 |
[% IF ( female ) %] |
265 |
<label for="sex-female"><input type="radio" name="sex" id="sex-female" value="F" checked="checked" /> Female</label> |
266 |
<label for="sex-female"><input type="radio" name="sex" id="sex-female" value="F" checked="checked" /> [% t('Female') %]</label> |
266 |
[% ELSE %] |
267 |
[% ELSE %] |
267 |
<label for="sex-female"><input type="radio" name="sex" id="sex-female" value="F" /> Female</label> |
268 |
<label for="sex-female"><input type="radio" name="sex" id="sex-female" value="F" /> [% t('Female') %]</label> |
268 |
[% END %] |
269 |
[% END %] |
269 |
[% IF ( male ) %] |
270 |
[% IF ( male ) %] |
270 |
<label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" checked="checked" /> Male</label> |
271 |
<label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" checked="checked" /> [% t('Male') %]</label> |
271 |
[% ELSE %] |
272 |
[% ELSE %] |
272 |
<label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" /> Male</label> |
273 |
<label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" /> [% t('Male') %]</label> |
273 |
[% END %] |
274 |
[% END %] |
274 |
[% IF ( none ) %] |
275 |
[% IF ( none ) %] |
275 |
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> None specified</label> |
276 |
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> [% t('None specified') %]</label> |
276 |
[% ELSE %] |
277 |
[% ELSE %] |
277 |
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" /> None specified</label> |
278 |
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" /> [% t('None specified') %]</label> |
278 |
[% END %] |
279 |
[% END %] |
279 |
[% ELSE %] |
280 |
[% ELSE %] |
280 |
<label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" /> |
281 |
<label for="sex-female">[% t('Female') %] </label><input type="radio" name="sex" id="sex-female" value="F" /> |
281 |
<label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" /> |
282 |
<label for="sex-male">[% t('Male') %] </label><input type="radio" name="sex" id="sex-male" value="M" /> |
282 |
<label for="sex-none">None specified </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> |
283 |
<label for="sex-none">[% t('None specified') %] </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> |
283 |
[% END %] |
284 |
[% END %] |
284 |
|
285 |
|
285 |
</li> |
286 |
</li> |
Lines 290-301
Link Here
|
290 |
[% END # hide fieldset %] |
291 |
[% END # hide fieldset %] |
291 |
|
292 |
|
292 |
[% IF ( showguarantor ) %] |
293 |
[% IF ( showguarantor ) %] |
293 |
<input type="hidden" id="guarantorid" name="guarantorid" value="[% guarantorid %]" /> |
294 |
<input type="hidden" id="guarantorid" name="guarantorid" value="[% guarantorid %]" /> |
294 |
[% UNLESS step_6 %] |
295 |
[% UNLESS step_6 %] |
295 |
<input type="hidden" name="branchcode" value="[% branchcode %]" /> |
296 |
<input type="hidden" name="branchcode" value="[% branchcode %]" /> |
296 |
[% END %] |
297 |
[% END %] |
297 |
<fieldset id="memberentry_guarantor" class="rows"> |
298 |
<fieldset id="memberentry_guarantor" class="rows"> |
298 |
<legend id="guarantor_lgd">Guarantor information</legend> |
299 |
<legend id="guarantor_lgd">[% t('Guarantor information') %]</legend> |
299 |
<ol> |
300 |
<ol> |
300 |
[% IF ( P ) %] |
301 |
[% IF ( P ) %] |
301 |
[% IF ( guarantorid ) %] |
302 |
[% IF ( guarantorid ) %] |
Lines 303-312
Link Here
|
303 |
[% ELSE %] |
304 |
[% ELSE %] |
304 |
<li id="contact-details" style="display: none"> |
305 |
<li id="contact-details" style="display: none"> |
305 |
[% END %] |
306 |
[% END %] |
306 |
<span class="label">Organization #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %] |
307 |
<span class="label">[% t('Organization #:') %]</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %] |
307 |
</li> |
308 |
</li> |
308 |
<li> |
309 |
<li> |
309 |
<label for="contactname">Organization name: </label> |
310 |
<label for="contactname">[% t('Organization name:') %] </label> |
310 |
[% IF ( guarantorid ) %] |
311 |
[% IF ( guarantorid ) %] |
311 |
<span>[% contactname %]</span> |
312 |
<span>[% contactname %]</span> |
312 |
<input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" /> |
313 |
<input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" /> |
Lines 321-327
Link Here
|
321 |
[% ELSE %] |
322 |
[% ELSE %] |
322 |
<li id="contact-details" style="display: none"> |
323 |
<li id="contact-details" style="display: none"> |
323 |
[% END %] |
324 |
[% END %] |
324 |
<span class="label">Patron #:</span> |
325 |
<span class="label">[% t('Patron #:') %]</span> |
325 |
[% IF guarantorid %] |
326 |
[% IF guarantorid %] |
326 |
[% IF logged_in_user.can_see_patron_infos( guarantor ) %] |
327 |
[% IF logged_in_user.can_see_patron_infos( guarantor ) %] |
327 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid | html %]</a> |
328 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid | html %]</a> |
Lines 332-338
Link Here
|
332 |
</li> |
333 |
</li> |
333 |
[% UNLESS nocontactname %] |
334 |
[% UNLESS nocontactname %] |
334 |
<li> |
335 |
<li> |
335 |
<label for="contactname">Surname: </label> |
336 |
<label for="contactname">[% t('Surname:') %] </label> |
336 |
[% IF ( guarantorid ) %] |
337 |
[% IF ( guarantorid ) %] |
337 |
<span>[% contactname %]</span> |
338 |
<span>[% contactname %]</span> |
338 |
<input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" /> |
339 |
<input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" /> |
Lines 343-349
Link Here
|
343 |
[% END %] |
344 |
[% END %] |
344 |
[% UNLESS nocontactfirstname %] |
345 |
[% UNLESS nocontactfirstname %] |
345 |
<li> |
346 |
<li> |
346 |
<label for="contactfirstname">First name: </label> |
347 |
<label for="contactfirstname">[% t('First name:') %] </label> |
347 |
[% IF ( guarantorid ) %] |
348 |
[% IF ( guarantorid ) %] |
348 |
<span>[% contactfirstname %]</span> |
349 |
<span>[% contactfirstname %]</span> |
349 |
<input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname | html %]" /> |
350 |
<input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname | html %]" /> |
Lines 354-364
Link Here
|
354 |
[% END %] |
355 |
[% END %] |
355 |
[% IF ( relshiploop ) %] |
356 |
[% IF ( relshiploop ) %] |
356 |
<li> |
357 |
<li> |
357 |
<label for="relationship">Relationship: </label> |
358 |
<label for="relationship">[% t('Relationship:') %] </label> |
358 |
<select name="relationship" id="relationship" > |
359 |
<select name="relationship" id="relationship"> |
359 |
[% FOREACH relshiploo IN relshiploop %] |
360 |
[% FOREACH relshiploo IN relshiploop %] |
360 |
[% IF ( relshiploo.selected ) %] |
361 |
[% IF ( relshiploo.selected ) %] |
361 |
<option value="[% relshiploo.relationship %]" selected="selected" >[% relshiploo.relationship %]</option> |
362 |
<option value="[% relshiploo.relationship %]" selected="selected">[% relshiploo.relationship %]</option> |
362 |
[% ELSE %] |
363 |
[% ELSE %] |
363 |
<option value="[% relshiploo.relationship %]">[% relshiploo.relationship %]</option> |
364 |
<option value="[% relshiploo.relationship %]">[% relshiploo.relationship %]</option> |
364 |
[% END %] |
365 |
[% END %] |
Lines 369-375
Link Here
|
369 |
[% END %] |
370 |
[% END %] |
370 |
[% END %] |
371 |
[% END %] |
371 |
<li> |
372 |
<li> |
372 |
<span class="label"> </span> |
373 |
<span class="label"> </span> |
373 |
[% IF ( guarantorid ) %] |
374 |
[% IF ( guarantorid ) %] |
374 |
<input id="guarantorsearch" type="button" value="Change" onclick="Dopopguarantor('guarantor_search.pl');" /> |
375 |
<input id="guarantorsearch" type="button" value="Change" onclick="Dopopguarantor('guarantor_search.pl');" /> |
375 |
[% ELSE %] |
376 |
[% ELSE %] |
Lines 379-395
Link Here
|
379 |
</li> |
380 |
</li> |
380 |
[% IF guarantorid && Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %] |
381 |
[% IF guarantorid && Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %] |
381 |
<li> |
382 |
<li> |
382 |
<label for="privacy_guarantor_checkouts">Show checkouts to guarantor</label> |
383 |
<label for="privacy_guarantor_checkouts">[% t('Show checkouts to guarantor') %]</label> |
383 |
<select name="privacy_guarantor_checkouts" id="privacy_guarantor_checkouts"> |
384 |
<select name="privacy_guarantor_checkouts" id="privacy_guarantor_checkouts"> |
384 |
[% IF privacy_guarantor_checkouts %] |
385 |
[% IF privacy_guarantor_checkouts %] |
385 |
<option value="0">No</option> |
386 |
<option value="0">[% t('No') %]</option> |
386 |
<option value="1" selected>Yes</option> |
387 |
<option value="1" selected="">[% t('Yes') %]</option> |
387 |
[% ELSE %] |
388 |
[% ELSE %] |
388 |
<option value="0" selected>No</option> |
389 |
<option value="0" selected="">[% t('No') %]</option> |
389 |
<option value="1">Yes</option> |
390 |
<option value="1">[% t('Yes') %]</option> |
390 |
[% END %] |
391 |
[% END %] |
391 |
</select> |
392 |
</select> |
392 |
<div class="hint">Allow guarantor of this patron to view this patron's checkouts from the OPAC</div> |
393 |
<div class="hint">[% t('Allow guarantor of this patron to view this patron\'s checkouts from the OPAC') %]</div> |
393 |
</li> |
394 |
</li> |
394 |
[% END %] |
395 |
[% END %] |
395 |
</ol> |
396 |
</ol> |
Lines 406-412
Link Here
|
406 |
|
407 |
|
407 |
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] |
408 |
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] |
408 |
<fieldset class="rows" id="memberentry_contact"> |
409 |
<fieldset class="rows" id="memberentry_contact"> |
409 |
<legend id="contact_lgd">Contact</legend><ol> |
410 |
<legend id="contact_lgd">[% t('Contact') %]</legend><ol> |
410 |
[% UNLESS nophone %] |
411 |
[% UNLESS nophone %] |
411 |
<li> |
412 |
<li> |
412 |
[% IF ( mandatoryphone ) %] |
413 |
[% IF ( mandatoryphone ) %] |
Lines 414-422
Link Here
|
414 |
[% ELSE %] |
415 |
[% ELSE %] |
415 |
<label for="phone"> |
416 |
<label for="phone"> |
416 |
[% END %] |
417 |
[% END %] |
417 |
Primary phone: </label> |
418 |
[% t('Primary phone:') %] </label> |
418 |
<input type="text" id="phone" name="phone" value="[% phone | html %]" /> |
419 |
<input type="text" id="phone" name="phone" value="[% phone | html %]" /> |
419 |
[% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div> |
420 |
[% IF ( mandatoryphone ) %]<span class="required">[% t('Required') %]</span>[% END %]<div class="hint">[% t('Shows on transit slips') %]</div> |
420 |
|
421 |
|
421 |
</li> |
422 |
</li> |
422 |
[% END %] |
423 |
[% END %] |
Lines 427-435
Link Here
|
427 |
[% ELSE %] |
428 |
[% ELSE %] |
428 |
<label for="phonepro"> |
429 |
<label for="phonepro"> |
429 |
[% END %] |
430 |
[% END %] |
430 |
Secondary phone: </label> |
431 |
[% t('Secondary phone:') %] </label> |
431 |
<input type="text" id="phonepro" name="phonepro" value="[% phonepro | html %]" /> |
432 |
<input type="text" id="phonepro" name="phonepro" value="[% phonepro | html %]" /> |
432 |
[% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %] |
433 |
[% IF ( mandatoryphonepro ) %]<span class="required">[% t('Required') %]</span>[% END %] |
433 |
</li> |
434 |
</li> |
434 |
[% END %] |
435 |
[% END %] |
435 |
[% UNLESS nomobile %] |
436 |
[% UNLESS nomobile %] |
Lines 439-447
Link Here
|
439 |
[% ELSE %] |
440 |
[% ELSE %] |
440 |
<label for="mobile"> |
441 |
<label for="mobile"> |
441 |
[% END %] |
442 |
[% END %] |
442 |
Other phone: </label> |
443 |
[% t('Other phone:') %] </label> |
443 |
<input type="text" id="mobile" name="mobile" value="[% mobile | html %]" /> |
444 |
<input type="text" id="mobile" name="mobile" value="[% mobile | html %]" /> |
444 |
[% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %] |
445 |
[% IF ( mandatorymobile ) %]<span class="required">[% t('Required') %]</span>[% END %] |
445 |
</li> |
446 |
</li> |
446 |
[% END %] |
447 |
[% END %] |
447 |
[% UNLESS noemail %] |
448 |
[% UNLESS noemail %] |
Lines 451-459
Link Here
|
451 |
[% ELSE %] |
452 |
[% ELSE %] |
452 |
<label for="email"> |
453 |
<label for="email"> |
453 |
[% END %] |
454 |
[% END %] |
454 |
Primary email: </label> |
455 |
[% t('Primary email:') %] </label> |
455 |
<input type="text" id="email" name="email" size="45" value="[% email | html %]" /> |
456 |
<input type="text" id="email" name="email" size="45" value="[% email | html %]" /> |
456 |
[% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div> |
457 |
[% IF ( mandatoryemail ) %]<span class="required">[% t('Required') %]</span>[% END %]<div class="hint">[% t('Shows on transit slips') %]</div> |
457 |
|
458 |
|
458 |
</li> |
459 |
</li> |
459 |
[% END %] |
460 |
[% END %] |
Lines 464-472
Link Here
|
464 |
[% ELSE %] |
465 |
[% ELSE %] |
465 |
<label for="emailpro"> |
466 |
<label for="emailpro"> |
466 |
[% END %] |
467 |
[% END %] |
467 |
Secondary email: </label> |
468 |
[% t('Secondary email:') %] </label> |
468 |
<input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro | html %]" /> |
469 |
<input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro | html %]" /> |
469 |
[% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %] |
470 |
[% IF ( mandatoryemailpro ) %]<span class="required">[% t('Required') %]</span>[% END %] |
470 |
</li> |
471 |
</li> |
471 |
[% END %] |
472 |
[% END %] |
472 |
[% UNLESS nofax %] |
473 |
[% UNLESS nofax %] |
Lines 476-484
Link Here
|
476 |
[% ELSE %] |
477 |
[% ELSE %] |
477 |
<label for="fax"> |
478 |
<label for="fax"> |
478 |
[% END %] |
479 |
[% END %] |
479 |
Fax: </label> |
480 |
[% t('Fax:') %] </label> |
480 |
<input type="text" id="fax" name="fax" value="[% fax | html %]" /> |
481 |
<input type="text" id="fax" name="fax" value="[% fax | html %]" /> |
481 |
[% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %] |
482 |
[% IF ( mandatoryfax ) %]<span class="required">[% t('Required') %]</span>[% END %] |
482 |
</li> |
483 |
</li> |
483 |
[% END %] |
484 |
[% END %] |
484 |
</ol> |
485 |
</ol> |
Lines 511-517
Link Here
|
511 |
|
512 |
|
512 |
[% SET autoMemberNum = Koha.Preference('autoMemberNum') %] |
513 |
[% SET autoMemberNum = Koha.Preference('autoMemberNum') %] |
513 |
<fieldset class="rows" id="memberentry_library_management"> |
514 |
<fieldset class="rows" id="memberentry_library_management"> |
514 |
<legend id="library_management_lgd">Library management</legend><ol> |
515 |
<legend id="library_management_lgd">[% t('Library management') %]</legend><ol> |
515 |
[% UNLESS nocardnumber %] |
516 |
[% UNLESS nocardnumber %] |
516 |
<li> |
517 |
<li> |
517 |
[% IF mandatorycardnumber %] |
518 |
[% IF mandatorycardnumber %] |
Lines 519-549
Link Here
|
519 |
[% ELSE %] |
520 |
[% ELSE %] |
520 |
<label for="cardnumber" class="validated"> |
521 |
<label for="cardnumber" class="validated"> |
521 |
[% END %] |
522 |
[% END %] |
522 |
Card number: </label> |
523 |
[% t('Card number:') %] </label> |
523 |
|
524 |
|
524 |
<!-- NOTE: div.hint closing tag isn't on the same line --> |
525 |
<!-- NOTE: div.hint closing tag isn't on the same line --> |
525 |
[% IF minlength_cardnumber == maxlength_cardnumber %] |
526 |
[% IF minlength_cardnumber == maxlength_cardnumber %] |
526 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" /> |
527 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" /> |
527 |
[% IF mandatorycardnumber %]<span class="required">Required</span>[% END %]<span id="cn_max" class="required">Card number must not be more than [% maxlength_cardnumber %] characters.</span> |
528 |
[% IF mandatorycardnumber %]<span class="required">[% t('Required') %]</span>[% END %]<span id="cn_max" class="required">[% t('Card number must not be more than') %] [% maxlength_cardnumber %] [% t('characters.') %]</span> |
528 |
<div class="hint">Card number must be exactly [% minlength_cardnumber %] characters. |
529 |
<div class="hint">[% t('Card number must be exactly') %] [% minlength_cardnumber %] [% t('characters.') %] |
529 |
[% ELSIF minlength_cardnumber && maxlength_cardnumber %] |
530 |
[% ELSIF minlength_cardnumber && maxlength_cardnumber %] |
530 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" /> |
531 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" /> |
531 |
[% IF mandatorycardnumber %]<span class="required">Required</span>[% END %]<span id="cn_max" class="required">Card number must not be more than [% maxlength_cardnumber %] characters.</span> |
532 |
[% IF mandatorycardnumber %]<span class="required">[% t('Required') %]</span>[% END %]<span id="cn_max" class="required">[% t('Card number must not be more than') %] [% maxlength_cardnumber %] [% t('characters.') %]</span> |
532 |
<div class="hint">Card number must be between [% minlength_cardnumber %] and [% maxlength_cardnumber %] characters. |
533 |
<div class="hint">[% t('Card number must be between') %] [% minlength_cardnumber %] [% t('and') %] [% maxlength_cardnumber %] [% t('characters.') %] |
533 |
[% ELSIF maxlength_cardnumber %] |
534 |
[% ELSIF maxlength_cardnumber %] |
534 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" maxlength="[% maxlength_cardnumber %]" /> |
535 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" maxlength="[% maxlength_cardnumber %]" /> |
535 |
[% IF mandatorycardnumber %]<span class="required">Required</span>[% END %]<span id="cn_max" class="required">Card number must not be more than [% maxlength_cardnumber %] characters.</span> |
536 |
[% IF mandatorycardnumber %]<span class="required">[% t('Required') %]</span>[% END %]<span id="cn_max" class="required">[% t('Card number must not be more than') %] [% maxlength_cardnumber %] [% t('characters.') %]</span> |
536 |
<div class="hint">Card number can be up to [% maxlength_cardnumber %] characters. |
537 |
<div class="hint">[% t('Card number can be up to') %] [% maxlength_cardnumber %] [% t('characters.') %] |
537 |
[% ELSE %] |
538 |
[% ELSE %] |
538 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" /> |
539 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" /> |
539 |
[% IF mandatorycardnumber %]<span class="required">Required</span>[% END %] |
540 |
[% IF mandatorycardnumber %]<span class="required">[% t('Required') %]</span>[% END %] |
540 |
<div class="hint">There is no minimum or maximum character length. |
541 |
<div class="hint">[% t('There is no minimum or maximum character length.') %] |
541 |
[% END %] |
542 |
[% END %] |
542 |
[% IF autoMemberNum %] |
543 |
[% IF autoMemberNum %] |
543 |
[% IF mandatorycardnumber %] |
544 |
[% IF mandatorycardnumber %] |
544 |
<br/><span class="error">AutoMemberNum is set to enabled, but cardnumber is marked as mandatory in BorrowerMandatoryField: auto calc has been disabled.</span> |
545 |
<br /><span class="error">[% t('AutoMemberNum is set to enabled, but cardnumber is marked as mandatory in BorrowerMandatoryField: auto calc has been disabled.') %]</span> |
545 |
[% ELSE %] |
546 |
[% ELSE %] |
546 |
<br/>Leave blank for auto calc during registration |
547 |
<br />[% t('Leave blank for auto calc during registration') %] |
547 |
[% END %] |
548 |
[% END %] |
548 |
[% END %] |
549 |
[% END %] |
549 |
</div><!--/hint div --> |
550 |
</div><!--/hint div --> |
Lines 551-575
Link Here
|
551 |
[% END %] |
552 |
[% END %] |
552 |
[% UNLESS nobranchcode %] |
553 |
[% UNLESS nobranchcode %] |
553 |
<li> |
554 |
<li> |
554 |
<label for="libraries" class="required">Library:</label> |
555 |
<label for="libraries" class="required">[% t('Library:') %]</label> |
555 |
<select name="branchcode" size="1" id="libraries"> |
556 |
<select name="branchcode" size="1" id="libraries"> |
556 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => userbranch, only_from_group => 1 ) %] |
557 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => userbranch, only_from_group => 1 ) %] |
557 |
</select> |
558 |
</select> |
558 |
<span class="required">Required</span> |
559 |
<span class="required">[% t('Required') %]</span> |
559 |
</li> |
560 |
</li> |
560 |
[% END %] |
561 |
[% END %] |
561 |
<li> |
562 |
<li> |
562 |
<label for="categorycode_entry" class="required">Category: </label> |
563 |
<label for="categorycode_entry" class="required">[% t('Category:') %] </label> |
563 |
<select id="categorycode_entry" name="categorycode" onchange="update_category_code(this);"> |
564 |
<select id="categorycode_entry" name="categorycode" onchange="update_category_code(this);"> |
564 |
[% FOREACH typeloo IN typeloop %] |
565 |
[% FOREACH typeloo IN typeloop %] |
565 |
[% FOREACH categoryloo IN typeloo.categoryloop %] |
566 |
[% FOREACH categoryloo IN typeloo.categoryloop %] |
566 |
[% IF ( loop.first ) %] |
567 |
[% IF ( loop.first ) %] |
567 |
[% IF ( typeloo.typename_C ) %]<optgroup label="Child">[% END %] |
568 |
[% IF ( typeloo.typename_C ) %]<optgroup label="[% t('Child') %]">[% END %] |
568 |
[% IF ( typeloo.typename_A ) %]<optgroup label="Adult">[% END %] |
569 |
[% IF ( typeloo.typename_A ) %]<optgroup label="[% t('Adult') %]">[% END %] |
569 |
[% IF ( typeloo.typename_S ) %]<optgroup label="Staff">[% END %] |
570 |
[% IF ( typeloo.typename_S ) %]<optgroup label="[% t('Staff') %]">[% END %] |
570 |
[% IF ( typeloo.typename_I ) %]<optgroup label="Organization">[% END %] |
571 |
[% IF ( typeloo.typename_I ) %]<optgroup label="[% t('Organization') %]">[% END %] |
571 |
[% IF ( typeloo.typename_P ) %]<optgroup label="Professional">[% END %] |
572 |
[% IF ( typeloo.typename_P ) %]<optgroup label="[% t('Professional') %]">[% END %] |
572 |
[% IF ( typeloo.typename_X ) %]<optgroup label="Statistical">[% END %] |
573 |
[% IF ( typeloo.typename_X ) %]<optgroup label="[% t('Statistical') %]">[% END %] |
573 |
[% END %] |
574 |
[% END %] |
574 |
[% IF ( categoryloo.categorycodeselected ) %] |
575 |
[% IF ( categoryloo.categorycodeselected ) %] |
575 |
<option value="[% categoryloo.categorycode %]" selected="selected" data-typename="[% typeloo.typename %]">[% categoryloo.categoryname %]</option> |
576 |
<option value="[% categoryloo.categorycode %]" selected="selected" data-typename="[% typeloo.typename %]">[% categoryloo.categoryname %]</option> |
Lines 582-588
Link Here
|
582 |
[% END %] |
583 |
[% END %] |
583 |
[% END %] |
584 |
[% END %] |
584 |
</select> |
585 |
</select> |
585 |
<span class="required">Required</span> |
586 |
<span class="required">[% t('Required') %]</span> |
586 |
</li> |
587 |
</li> |
587 |
[% UNLESS nosort1 %] |
588 |
[% UNLESS nosort1 %] |
588 |
<li> |
589 |
<li> |
Lines 591-599
Link Here
|
591 |
[% ELSE %] |
592 |
[% ELSE %] |
592 |
<label for="sort1"> |
593 |
<label for="sort1"> |
593 |
[% END %] |
594 |
[% END %] |
594 |
Sort 1: </label> |
595 |
[% t('Sort 1:') %] </label> |
595 |
[% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, size = 20 %] |
596 |
[% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, size = 20 %] |
596 |
[% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %] |
597 |
[% IF ( mandatorysort1 ) %]<span class="required">[% t('Required') %]</span>[% END %] |
597 |
</li> |
598 |
</li> |
598 |
[% END %] |
599 |
[% END %] |
599 |
[% UNLESS nosort2 %] |
600 |
[% UNLESS nosort2 %] |
Lines 603-649
Link Here
|
603 |
[% ELSE %] |
604 |
[% ELSE %] |
604 |
<label for="sort2"> |
605 |
<label for="sort2"> |
605 |
[% END %] |
606 |
[% END %] |
606 |
Sort 2: </label> |
607 |
[% t('Sort 2:') %] </label> |
607 |
[% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, size = 20 %] |
608 |
[% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, size = 20 %] |
608 |
[% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %] |
609 |
[% IF ( mandatorysort2 ) %]<span class="required">[% t('Required') %]</span>[% END %] |
609 |
</li> |
610 |
</li> |
610 |
[% END %] |
611 |
[% END %] |
611 |
[% IF ( Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 ) %] |
612 |
[% IF ( Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 ) %] |
612 |
<li> |
613 |
<li> |
613 |
<label for="sort2">Sync with the Norwegian national patron database:</label> |
614 |
<label for="sort2">[% t('Sync with the Norwegian national patron database:') %]</label> |
614 |
[% IF ( sync == 0 ) %] |
615 |
[% IF ( sync == 0 ) %] |
615 |
<input type="radio" id="sync" name="sync" value="1"> Yes |
616 |
<input type="radio" id="sync" name="sync" value="1"> [% t('Yes') %] |
616 |
<input type="radio" id="sync" name="sync" value="0" checked> No |
617 |
<input type="radio" id="sync" name="sync" value="0" checked=""> [% t('No') %] |
617 |
[% ELSE %] |
618 |
[% ELSE %] |
618 |
<input type="radio" id="sync" name="sync" value="1" checked> Yes |
619 |
<input type="radio" id="sync" name="sync" value="1" checked=""> [% t('Yes') %] |
619 |
<input type="radio" id="sync" name="sync" value="0"> No |
620 |
<input type="radio" id="sync" name="sync" value="0"> [% t('No') %] |
620 |
[% END %] |
621 |
[% END %] |
621 |
</li> |
622 |
</li> |
622 |
[% END %] |
623 |
[% END %] |
623 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
624 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
624 |
<li><label for="checkprevcheckout">Check for previous checkouts: </label> |
625 |
<li><label for="checkprevcheckout">[% t('Check for previous checkouts:') %] </label> |
625 |
<select name="checkprevcheckout" id="checkprevcheckout"> |
626 |
<select name="checkprevcheckout" id="checkprevcheckout"> |
626 |
[% IF ( checkprevcheckout == 'yes' ) %] |
627 |
[% IF ( checkprevcheckout == 'yes' ) %] |
627 |
<option value="yes" selected="selected">Yes if settings allow it</option> |
628 |
<option value="yes" selected="selected">[% t('Yes if settings allow it') %]</option> |
628 |
<option value="no">No if settings allow it</option> |
629 |
<option value="no">[% t('No if settings allow it') %]</option> |
629 |
<option value="inherit">Inherit from settings</option> |
630 |
<option value="inherit">[% t('Inherit from settings') %]</option> |
630 |
[% ELSIF ( checkprevcheckout == 'no' ) %] |
631 |
[% ELSIF ( checkprevcheckout == 'no' ) %] |
631 |
<option value="yes">Yes if settings allow it</option> |
632 |
<option value="yes">[% t('Yes if settings allow it') %]</option> |
632 |
<option value="no" selected="selected">No if settings allow it</option> |
633 |
<option value="no" selected="selected">[% t('No if settings allow it') %]</option> |
633 |
<option value="inherit">Inherit from settings</option> |
634 |
<option value="inherit">[% t('Inherit from settings') %]</option> |
634 |
[% ELSE %] |
635 |
[% ELSE %] |
635 |
<option value="yes">Yes if settings allow it</option> |
636 |
<option value="yes">[% t('Yes if settings allow it') %]</option> |
636 |
<option value="no">No if settings allow it</option> |
637 |
<option value="no">[% t('No if settings allow it') %]</option> |
637 |
<option value="inherit" selected="selected">Inherit from settings</option> |
638 |
<option value="inherit" selected="selected">[% t('Inherit from settings') %]</option> |
638 |
[% END %] |
639 |
[% END %] |
639 |
</select> |
640 |
</select> |
640 |
</li> |
641 |
</li> |
641 |
[% END %] |
642 |
[% END %] |
642 |
[% IF Koha.Preference('TranslateNotices') %] |
643 |
[% IF Koha.Preference('TranslateNotices') %] |
643 |
<li> |
644 |
<li> |
644 |
<label for="lang">Preferred language for notices: </label> |
645 |
<label for="lang">[% t('Preferred language for notices:') %] </label> |
645 |
<select id="lang" name="lang"> |
646 |
<select id="lang" name="lang"> |
646 |
<option value="default">Default</option> |
647 |
<option value="default">[% t('Default') %]</option> |
647 |
[% FOR language IN languages %] |
648 |
[% FOR language IN languages %] |
648 |
[% FOR sublanguage IN language.sublanguages_loop %] |
649 |
[% FOR sublanguage IN language.sublanguages_loop %] |
649 |
[% IF language.plural %] |
650 |
[% IF language.plural %] |
Lines 668-674
Link Here
|
668 |
</fieldset> |
669 |
</fieldset> |
669 |
[% UNLESS nodateenrolled && noopacnote && noborrowernotes %] |
670 |
[% UNLESS nodateenrolled && noopacnote && noborrowernotes %] |
670 |
<fieldset class="rows" id="memberentry_subscription"> |
671 |
<fieldset class="rows" id="memberentry_subscription"> |
671 |
<legend id="library_setup_lgd">Library set-up</legend><ol> |
672 |
<legend id="library_setup_lgd">[% t('Library set-up') %]</legend><ol> |
672 |
[% UNLESS nodateenrolled %] |
673 |
[% UNLESS nodateenrolled %] |
673 |
<li> |
674 |
<li> |
674 |
[% IF ( mandatorydateenrolled ) %] |
675 |
[% IF ( mandatorydateenrolled ) %] |
Lines 676-689
Link Here
|
676 |
[% ELSE %] |
677 |
[% ELSE %] |
677 |
<label for="from"> |
678 |
<label for="from"> |
678 |
[% END %] |
679 |
[% END %] |
679 |
Registration date: </label> |
680 |
[% t('Registration date:') %] </label> |
680 |
[% IF ( dateformat == "metric" ) %] |
681 |
[% IF ( dateformat == "metric" ) %] |
681 |
<input type="text" id="from" name="dateenrolled" maxlength="10" size="10" onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');" value="[% dateenrolled %]" class="datepickerfrom" /> |
682 |
<input type="text" id="from" name="dateenrolled" maxlength="10" size="10" onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');" value="[% dateenrolled %]" class="datepickerfrom" /> |
682 |
[% ELSE %] |
683 |
[% ELSE %] |
683 |
<input type="text" id="from" name="dateenrolled" maxlength="10" size="10" value="[% dateenrolled %]" class="datepickerfrom" /> |
684 |
<input type="text" id="from" name="dateenrolled" maxlength="10" size="10" value="[% dateenrolled %]" class="datepickerfrom" /> |
684 |
[% END %] |
685 |
[% END %] |
685 |
[% IF ( mandatorydateenrolled ) %]<span class="required">Required</span>[% END %] |
686 |
[% IF ( mandatorydateenrolled ) %]<span class="required">[% t('Required') %]</span>[% END %] |
686 |
[% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %] |
687 |
[% IF ( ERROR_dateenrolled ) %]<span class="required">[% t('(Error)') %]</span>[% END %] |
687 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
688 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
688 |
</li> |
689 |
</li> |
689 |
[% END %] |
690 |
[% END %] |
Lines 697-718
Link Here
|
697 |
[% ELSE %] |
698 |
[% ELSE %] |
698 |
<label for="to"> |
699 |
<label for="to"> |
699 |
[% END %] |
700 |
[% END %] |
700 |
Expiry date (leave blank for auto calc): </label> |
701 |
[% t('Expiry date (leave blank for auto calc):') %] </label> |
701 |
[% IF ( dateformat == "metric" ) %] |
702 |
[% IF ( dateformat == "metric" ) %] |
702 |
[% UNLESS ( opadd ) %] |
703 |
[% UNLESS ( opadd ) %] |
703 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="[% dateexpiry UNLESS opduplicate %]" class="datepickerto" /> |
704 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="[% dateexpiry UNLESS opduplicate %]" class="datepickerto" /> |
704 |
[% ELSE %] |
705 |
[% ELSE %] |
705 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" /> |
706 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" /> |
706 |
[% END %] |
707 |
[% END %] |
707 |
[% ELSE %] |
708 |
[% ELSE %] |
708 |
[% UNLESS ( opadd ) %] |
709 |
[% UNLESS ( opadd ) %] |
709 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry UNLESS opduplicate %]" class="datepickerto" /> |
710 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry UNLESS opduplicate %]" class="datepickerto" /> |
710 |
[% ELSE %] |
711 |
[% ELSE %] |
711 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry %]" class="datepickerto" /> |
712 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry %]" class="datepickerto" /> |
712 |
[% END %] |
713 |
[% END %] |
713 |
[% END %] |
714 |
[% END %] |
714 |
[% IF ( mandatorydateexpiry ) %]<span class="required">Required</span>[% END %] |
715 |
[% IF ( mandatorydateexpiry ) %]<span class="required">[% t('Required') %]</span>[% END %] |
715 |
[% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %] |
716 |
[% IF ( ERROR_dateexpiry ) %]<span class="required">[% t('(Error)') %]</span>[% END %] |
716 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
717 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
717 |
</li> |
718 |
</li> |
718 |
[% UNLESS noopacnote %] |
719 |
[% UNLESS noopacnote %] |
Lines 722-731
Link Here
|
722 |
[% ELSE %] |
723 |
[% ELSE %] |
723 |
<label for="opacnote"> |
724 |
<label for="opacnote"> |
724 |
[% END %] |
725 |
[% END %] |
725 |
OPAC note: </label> |
726 |
[% t('OPAC note:') %] </label> |
726 |
<textarea id="opacnote" name="opacnote" cols="55" rows="5">[% opacnote | html UNLESS opduplicate %]</textarea> |
727 |
<textarea id="opacnote" name="opacnote" cols="55" rows="5">[% opacnote | html UNLESS opduplicate %]</textarea> |
727 |
<div class="hint">This message appears on this patron's user page in the OPAC</div> |
728 |
<div class="hint">[% t('This message appears on this patron\'s user page in the OPAC') %]</div> |
728 |
[% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %] |
729 |
[% IF ( mandatoryopacnote ) %]<span class="required">[% t('Required') %]</span>[% END %] |
729 |
</li> |
730 |
</li> |
730 |
[% END %] |
731 |
[% END %] |
731 |
[% UNLESS noborrowernotes %] |
732 |
[% UNLESS noborrowernotes %] |
Lines 735-744
Link Here
|
735 |
[% ELSE %] |
736 |
[% ELSE %] |
736 |
<label for="borrowernotes"> |
737 |
<label for="borrowernotes"> |
737 |
[% END %] |
738 |
[% END %] |
738 |
Circulation note: </label> |
739 |
[% t('Circulation note:') %] </label> |
739 |
<textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% borrowernotes | html UNLESS opduplicate %]</textarea> |
740 |
<textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% borrowernotes | html UNLESS opduplicate %]</textarea> |
740 |
<div class="hint">This message displays when checking out to this patron</div> |
741 |
<div class="hint">[% t('This message displays when checking out to this patron') %]</div> |
741 |
[% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %] |
742 |
[% IF ( mandatoryborrowernotes ) %]<span class="required">[% t('Required') %]</span>[% END %] |
742 |
</li> |
743 |
</li> |
743 |
[% END %] |
744 |
[% END %] |
744 |
</ol> |
745 |
</ol> |
Lines 747-753
Link Here
|
747 |
|
748 |
|
748 |
[% UNLESS nouserid && nopassword %] |
749 |
[% UNLESS nouserid && nopassword %] |
749 |
<fieldset class="rows" id="memberentry_userid"> |
750 |
<fieldset class="rows" id="memberentry_userid"> |
750 |
<legend id="opac_staff_login_lgd">OPAC/Staff login</legend><ol> |
751 |
<legend id="opac_staff_login_lgd">[% t('OPAC/Staff login') %]</legend><ol> |
751 |
[% UNLESS nouserid %] |
752 |
[% UNLESS nouserid %] |
752 |
<li> |
753 |
<li> |
753 |
[% IF ( mandatoryuserid ) %] |
754 |
[% IF ( mandatoryuserid ) %] |
Lines 755-761
Link Here
|
755 |
[% ELSE %] |
756 |
[% ELSE %] |
756 |
<label for="userid"> |
757 |
<label for="userid"> |
757 |
[% END %] |
758 |
[% END %] |
758 |
Username: </label> |
759 |
[% t('Username:') %] </label> |
759 |
|
760 |
|
760 |
[% IF ( NoUpdateLogin ) %] |
761 |
[% IF ( NoUpdateLogin ) %] |
761 |
[% IF ( opduplicate ) %] |
762 |
[% IF ( opduplicate ) %] |
Lines 774-780
Link Here
|
774 |
[%# Dummy input to avoid Firefox from using userid/password saved for authentication %] |
775 |
[%# Dummy input to avoid Firefox from using userid/password saved for authentication %] |
775 |
<input type="text" disabled="disabled" style="display:none" /> |
776 |
<input type="text" disabled="disabled" style="display:none" /> |
776 |
|
777 |
|
777 |
[% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %] |
778 |
[% IF ( mandatoryuserid ) %]<span class="required">[% t('Required') %]</span>[% END %] |
778 |
</li> |
779 |
</li> |
779 |
[%END %] |
780 |
[%END %] |
780 |
[% UNLESS nopassword %] |
781 |
[% UNLESS nopassword %] |
Lines 784-796
Link Here
|
784 |
[% ELSE %] |
785 |
[% ELSE %] |
785 |
<label for="password"> |
786 |
<label for="password"> |
786 |
[% END %] |
787 |
[% END %] |
787 |
Password: </label> |
788 |
[% t('Password:') %] </label> |
788 |
[% IF ( opadd ) %] |
789 |
[% IF ( opadd ) %] |
789 |
[% IF ( NoUpdateLogin ) %] |
790 |
[% IF ( NoUpdateLogin ) %] |
790 |
[% IF ( opduplicate ) %] |
791 |
[% IF ( opduplicate ) %] |
791 |
<input type="password" id="password" name="password" size="20" disabled="disabled" /> |
792 |
<input type="password" id="password" name="password" size="20" disabled="disabled" /> |
792 |
[% ELSE %] |
793 |
[% ELSE %] |
793 |
<input type="password" id="password" name="password" size="20" disabled="disabled" value="[% password %]" /> |
794 |
<input type="password" id="password" name="password" size="20" disabled="disabled" value="[% password %]" /> |
794 |
[% END %] |
795 |
[% END %] |
795 |
[% ELSE %] |
796 |
[% ELSE %] |
796 |
[% IF ( opduplicate ) %] |
797 |
[% IF ( opduplicate ) %] |
Lines 802-808
Link Here
|
802 |
[% ELSE %] |
803 |
[% ELSE %] |
803 |
[% IF ( password ) %] |
804 |
[% IF ( password ) %] |
804 |
[% IF ( NoUpdateLogin ) %] |
805 |
[% IF ( NoUpdateLogin ) %] |
805 |
<input type="password" id="password" name="password" size="20" disabled="disabled" value="****" /> |
806 |
<input type="password" id="password" name="password" size="20" disabled="disabled" value="****" /> |
806 |
[% ELSE %] |
807 |
[% ELSE %] |
807 |
[% IF ( opduplicate ) %] |
808 |
[% IF ( opduplicate ) %] |
808 |
<input type="password" id="password" name="password" size="20" /> |
809 |
<input type="password" id="password" name="password" size="20" /> |
Lines 812-828
Link Here
|
812 |
[% END %] |
813 |
[% END %] |
813 |
[% ELSE %] |
814 |
[% ELSE %] |
814 |
[% IF ( NoUpdateLogin ) %] |
815 |
[% IF ( NoUpdateLogin ) %] |
815 |
<input type="password" id="password" name="password" size="20" disabled="disabled" value="" /> |
816 |
<input type="password" id="password" name="password" size="20" disabled="disabled" value="" /> |
816 |
[% ELSE %] |
817 |
[% ELSE %] |
817 |
<input type="password" id="password" name="password" size="20" value="" /> |
818 |
<input type="password" id="password" name="password" size="20" value="" /> |
818 |
[% END %] |
819 |
[% END %] |
819 |
[% END %] |
820 |
[% END %] |
820 |
[% END %] |
821 |
[% END %] |
821 |
[% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %] |
822 |
[% IF ( mandatorypassword ) %]<span class="required">[% t('Required') %]</span>[% END %] |
822 |
[% IF ( ERROR_password_too_short ) %]<span class="required">Password is too short</span>[% END %] |
823 |
[% IF ( ERROR_password_too_short ) %]<span class="required">[% t('Password is too short') %]</span>[% END %] |
823 |
[% IF ( ERROR_password_too_weak ) %]<span class="required">Password is too weak</span>[% END %] |
824 |
[% IF ( ERROR_password_too_weak ) %]<span class="required">[% t('Password is too weak') %]</span>[% END %] |
824 |
[% IF ( ERROR_password_has_whitespaces ) %]<span class="required">Password has leading or trailing whitespaces</span>[% END %] |
825 |
[% IF ( ERROR_password_has_whitespaces ) %]<span class="required">[% t('Password has leading or trailing whitespaces') %]</span>[% END %] |
825 |
<div class="hint">Minimum password length: [% minPasswordLength %]</div> |
826 |
<div class="hint">[% t('Minimum password length:') %] [% minPasswordLength %]</div> |
826 |
</li> |
827 |
</li> |
827 |
<li> |
828 |
<li> |
828 |
[% IF ( mandatorypassword ) %] |
829 |
[% IF ( mandatorypassword ) %] |
Lines 830-842
Link Here
|
830 |
[% ELSE %] |
831 |
[% ELSE %] |
831 |
<label for="password2"> |
832 |
<label for="password2"> |
832 |
[% END %] |
833 |
[% END %] |
833 |
Confirm password: </label> |
834 |
[% t('Confirm password:') %] </label> |
834 |
[% IF ( opadd ) %] |
835 |
[% IF ( opadd ) %] |
835 |
[% IF ( NoUpdateLogin ) %] |
836 |
[% IF ( NoUpdateLogin ) %] |
836 |
[% IF ( opduplicate ) %] |
837 |
[% IF ( opduplicate ) %] |
837 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" /> |
838 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" /> |
838 |
[% ELSE %] |
839 |
[% ELSE %] |
839 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" value="[% password %]" /> |
840 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" value="[% password %]" /> |
840 |
[% END %] |
841 |
[% END %] |
841 |
[% ELSE %] |
842 |
[% ELSE %] |
842 |
[% IF ( opduplicate ) %] |
843 |
[% IF ( opduplicate ) %] |
Lines 848-854
Link Here
|
848 |
[% ELSE %] |
849 |
[% ELSE %] |
849 |
[% IF ( password ) %] |
850 |
[% IF ( password ) %] |
850 |
[% IF ( NoUpdateLogin ) %] |
851 |
[% IF ( NoUpdateLogin ) %] |
851 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" value="****" /> |
852 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" value="****" /> |
852 |
[% ELSE %] |
853 |
[% ELSE %] |
853 |
[% IF ( opduplicate ) %] |
854 |
[% IF ( opduplicate ) %] |
854 |
<input type="password" id="password2" name="password2" size="20" /> |
855 |
<input type="password" id="password2" name="password2" size="20" /> |
Lines 858-870
Link Here
|
858 |
[% END %] |
859 |
[% END %] |
859 |
[% ELSE %] |
860 |
[% ELSE %] |
860 |
[% IF ( NoUpdateLogin ) %] |
861 |
[% IF ( NoUpdateLogin ) %] |
861 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" value="" /> |
862 |
<input type="password" id="password2" name="password2" size="20" disabled="disabled" value="" /> |
862 |
[% ELSE %] |
863 |
[% ELSE %] |
863 |
<input type="password" id="password2" name="password2" size="20" value="" /> |
864 |
<input type="password" id="password2" name="password2" size="20" value="" /> |
864 |
[% END %] |
865 |
[% END %] |
865 |
[% END %] |
866 |
[% END %] |
866 |
[% END %] |
867 |
[% END %] |
867 |
[% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_password_mismatch ) %]<span class="required">Passwords do not match</span>[% END %] |
868 |
[% IF ( mandatorypassword ) %]<span class="required">[% t('Required') %]</span>[% END %][% IF ( ERROR_password_mismatch ) %]<span class="required">[% t('Passwords do not match') %]</span>[% END %] |
868 |
</li> |
869 |
</li> |
869 |
</ol> |
870 |
</ol> |
870 |
</fieldset> |
871 |
</fieldset> |
Lines 872-883
Link Here
|
872 |
<!--this zones are not necessary in modif mode --> |
873 |
<!--this zones are not necessary in modif mode --> |
873 |
[% UNLESS ( opadd || opduplicate ) %] |
874 |
[% UNLESS ( opadd || opduplicate ) %] |
874 |
<fieldset class="rows" id="memberentry_account_flags"> |
875 |
<fieldset class="rows" id="memberentry_account_flags"> |
875 |
<legend id="account_flags_lgd">Patron account flags</legend> |
876 |
<legend id="account_flags_lgd">[% t('Patron account flags') %]</legend> |
876 |
<ol class="radio"> |
877 |
<ol class="radio"> |
877 |
[% FOREACH flagloo IN flagloop %] |
878 |
[% FOREACH flagloo IN flagloop %] |
878 |
<li><label class="radio" for="yes[% flagloo.name %]"> |
879 |
<li><label class="radio" for="yes[% flagloo.name %]"> |
879 |
[% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no address:[% END %] |
880 |
[% IF ( flagloo.key == 'gonenoaddress' ) %][% t('Gone no address:') %][% END %] |
880 |
[% IF ( flagloo.key == 'lost' ) %]Lost card:[% END %] |
881 |
[% IF ( flagloo.key == 'lost' ) %][% t('Lost card:') %][% END %] |
881 |
</label> |
882 |
</label> |
882 |
[% IF CAN_user_circulate_manage_restrictions %] |
883 |
[% IF CAN_user_circulate_manage_restrictions %] |
883 |
<label for="yes[% flagloo.name %]"> |
884 |
<label for="yes[% flagloo.name %]"> |
Lines 886-901
Link Here
|
886 |
[% ELSE %] |
887 |
[% ELSE %] |
887 |
<input type="radio" id="yes[% flagloo.name %]" name="[% flagloo.name %]" value="1" /> |
888 |
<input type="radio" id="yes[% flagloo.name %]" name="[% flagloo.name %]" value="1" /> |
888 |
[% END %] |
889 |
[% END %] |
889 |
Yes </label> |
890 |
[% t('Yes') %] </label> |
890 |
<label for="no[% flagloo.name %]"> |
891 |
<label for="no[% flagloo.name %]"> |
891 |
[% IF ( flagloo.no ) %] |
892 |
[% IF ( flagloo.no ) %] |
892 |
<input type="radio" id="no[% flagloo.name %]" name="[% flagloo.name %]" value="0" checked="checked"/> |
893 |
<input type="radio" id="no[% flagloo.name %]" name="[% flagloo.name %]" value="0" checked="checked" /> |
893 |
[% ELSE %] |
894 |
[% ELSE %] |
894 |
<input type="radio" id="no[% flagloo.name %]" name="[% flagloo.name %]" value="0" /> |
895 |
<input type="radio" id="no[% flagloo.name %]" name="[% flagloo.name %]" value="0" /> |
895 |
[% END %] |
896 |
[% END %] |
896 |
No </label> |
897 |
[% t('No') %] </label> |
897 |
[% ELSE %] |
898 |
[% ELSE %] |
898 |
[% IF flagloo.yes %]Yes[% ELSE %]No[% END %] |
899 |
[% IF flagloo.yes %][% t('Yes') %][% ELSE %][% t('No') %][% END %] |
899 |
[% END %] |
900 |
[% END %] |
900 |
|
901 |
|
901 |
</li> |
902 |
</li> |
Lines 905-922
Link Here
|
905 |
</fieldset> |
906 |
</fieldset> |
906 |
|
907 |
|
907 |
<fieldset class="rows" id="memberentry_restrictions"> |
908 |
<fieldset class="rows" id="memberentry_restrictions"> |
908 |
<legend id="restrictions_lgd">Patron restrictions</legend> |
909 |
<legend id="restrictions_lgd">[% t('Patron restrictions') %]</legend> |
909 |
|
910 |
|
910 |
[% IF ( debarments ) %] |
911 |
[% IF ( debarments ) %] |
911 |
<table> |
912 |
<table> |
912 |
<thead> |
913 |
<thead> |
913 |
<tr> |
914 |
<tr> |
914 |
<th>Type</th> |
915 |
<th>[% t('Type') %]</th> |
915 |
<th>Comment</th> |
916 |
<th>[% t('Comment') %]</th> |
916 |
<th>Expiration</th> |
917 |
<th>[% t('Expiration') %]</th> |
917 |
<th>Created</th> |
918 |
<th>[% t('Created') %]</th> |
918 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
919 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
919 |
<th>Remove?</th> |
920 |
<th>[% t('Remove?') %]</th> |
920 |
[% END %] |
921 |
[% END %] |
921 |
</tr> |
922 |
</tr> |
922 |
</thead> |
923 |
</thead> |
Lines 927-938
Link Here
|
927 |
<td>[% d.type %]</td> |
928 |
<td>[% d.type %]</td> |
928 |
<td> |
929 |
<td> |
929 |
[% IF d.comment.search('OVERDUES_PROCESS') %] |
930 |
[% IF d.comment.search('OVERDUES_PROCESS') %] |
930 |
Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') %] |
931 |
[% t('Restriction added by overdues process') %] [% d.comment.remove('OVERDUES_PROCESS ') %] |
931 |
[% ELSE %] |
932 |
[% ELSE %] |
932 |
[% d.comment %] |
933 |
[% d.comment %] |
933 |
[% END %] |
934 |
[% END %] |
934 |
</td> |
935 |
</td> |
935 |
<td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td> |
936 |
<td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>[% t('Indefinite') %]</i> [% END %]</td> |
936 |
<td>[% d.created | $KohaDates %]</td> |
937 |
<td>[% d.created | $KohaDates %]</td> |
937 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
938 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
938 |
<td> |
939 |
<td> |
Lines 944-965
Link Here
|
944 |
</tbody> |
945 |
</tbody> |
945 |
</table> |
946 |
</table> |
946 |
[% ELSE %] |
947 |
[% ELSE %] |
947 |
<p>Patron is currently unrestricted.</p> |
948 |
<p>[% t('Patron is currently unrestricted.') %]</p> |
948 |
[% END %] |
949 |
[% END %] |
949 |
|
950 |
|
950 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
951 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
951 |
<p><a href="#" id="add_manual_restriction">Add manual restriction</a></p> |
952 |
<p><a href="#" id="add_manual_restriction">[% t('Add manual restriction') %]</a></p> |
952 |
<fieldset id="manual_restriction_form"> |
953 |
<fieldset id="manual_restriction_form"> |
953 |
<input type="hidden" id="add_debarment" name="add_debarment" value="0" /> |
954 |
<input type="hidden" id="add_debarment" name="add_debarment" value="0" /> |
954 |
<legend id="manual_restriction_lgd">Add manual restriction</legend> |
955 |
<legend id="manual_restriction_lgd">[% t('Add manual restriction') %]</legend> |
955 |
<ol> |
956 |
<ol> |
956 |
<li><label for="debarred_comment">Comment: </label><input type="text" id="debarred_comment" name="debarred_comment" onchange="$('#add_debarment').val(1);" /></li> |
957 |
<li><label for="debarred_comment">[% t('Comment:') %] </label><input type="text" id="debarred_comment" name="debarred_comment" onchange="$('#add_debarment').val(1);" /></li> |
957 |
<li><label for="debarred_expiration">Expiration: </label><input name="debarred_expiration" id="debarred_expiration" size="10" value="" class="datepicker" onchange="$('#add_debarment').val(1);" /> |
958 |
<li><label for="debarred_expiration">[% t('Expiration:') %] </label><input name="debarred_expiration" id="debarred_expiration" size="10" value="" class="datepicker" onchange="$('#add_debarment').val(1);" /> |
958 |
<a href='javascript:void(0)' onclick="$('#debarred_expiration').val('');">Clear date</a></li> |
959 |
<a href="javascript:void(0)" onclick="$('#debarred_expiration').val('');">[% t('Clear date') %]</a></li> |
959 |
|
960 |
|
960 |
</ol> |
961 |
</ol> |
961 |
<p> |
962 |
<p> |
962 |
<a class="cancel" id="cancel_manual_restriction" href="#">Cancel</a> |
963 |
<a class="cancel" id="cancel_manual_restriction" href="#">[% t('Cancel') %]</a> |
963 |
</p> |
964 |
</p> |
964 |
</fieldset> |
965 |
</fieldset> |
965 |
[% END %] |
966 |
[% END %] |
Lines 971-1018
Link Here
|
971 |
[% IF ( step_4 ) %] |
972 |
[% IF ( step_4 ) %] |
972 |
[% IF Koha.Preference('HouseboundModule') %] |
973 |
[% IF Koha.Preference('HouseboundModule') %] |
973 |
<fieldset class="rows" id="memberentry_housebound_roles"> |
974 |
<fieldset class="rows" id="memberentry_housebound_roles"> |
974 |
<legend id="housebound_roles">Housebound roles</legend> |
975 |
<legend id="housebound_roles">[% t('Housebound roles') %]</legend> |
975 |
<ol class="radio"> |
976 |
<ol class="radio"> |
976 |
<li> |
977 |
<li> |
977 |
<label class="radio" for="housebound_chooser"> |
978 |
<label class="radio" for="housebound_chooser"> |
978 |
Chooser: |
979 |
[% t('Chooser:') %] |
979 |
</label> |
980 |
</label> |
980 |
[% IF ( housebound_role.housebound_chooser == 1 ) %] |
981 |
[% IF ( housebound_role.housebound_chooser == 1 ) %] |
981 |
<label for="yes_housebound_chooser">Yes </label> |
982 |
<label for="yes_housebound_chooser">[% t('Yes') %] </label> |
982 |
<input type="radio" id="yes_housebound_chooser" |
983 |
<input type="radio" id="yes_housebound_chooser" name="housebound_chooser" value="1" checked="checked" /> |
983 |
name="housebound_chooser" value="1" |
984 |
<label for="no_housebound_chooser">[% t('No') %] </label> |
984 |
checked="checked" /> |
985 |
<input type="radio" id="no_housebound_chooser" name="housebound_chooser" value="0" /> |
985 |
<label for="no_housebound_chooser">No </label> |
|
|
986 |
<input type="radio" id="no_housebound_chooser" |
987 |
name="housebound_chooser" value="0" /> |
988 |
[% ELSE %] |
986 |
[% ELSE %] |
989 |
<label for="yes_housebound_chooser">Yes </label> |
987 |
<label for="yes_housebound_chooser">[% t('Yes') %] </label> |
990 |
<input type="radio" id="yes_housebound_chooser" |
988 |
<input type="radio" id="yes_housebound_chooser" name="housebound_chooser" value="1" /> |
991 |
name="housebound_chooser" value="1" /> |
989 |
<label for="no_housebound_chooser">[% t('No') %] </label> |
992 |
<label for="no_housebound_chooser">No </label> |
990 |
<input type="radio" id="no_housebound_chooser" name="housebound_chooser" value="0" checked="checked" /> |
993 |
<input type="radio" id="no_housebound_chooser" |
|
|
994 |
name="housebound_chooser" value="0" |
995 |
checked="checked" /> |
996 |
[% END %] |
991 |
[% END %] |
997 |
</li> |
992 |
</li> |
998 |
<li> |
993 |
<li> |
999 |
<label class="radio" for="housebound_deliverer">Deliverer:</label> |
994 |
<label class="radio" for="housebound_deliverer">[% t('Deliverer:') %]</label> |
1000 |
[% IF ( housebound_role.housebound_deliverer == 1 ) %] |
995 |
[% IF ( housebound_role.housebound_deliverer == 1 ) %] |
1001 |
<label for="yes_housebound_deliverer">Yes </label> |
996 |
<label for="yes_housebound_deliverer">[% t('Yes') %] </label> |
1002 |
<input type="radio" id="yes_housebound_deliverer" |
997 |
<input type="radio" id="yes_housebound_deliverer" name="housebound_deliverer" value="1" checked="checked" /> |
1003 |
name="housebound_deliverer" value="1" |
998 |
<label for="no_housebound_deliverer">[% t('No') %] </label> |
1004 |
checked="checked" /> |
999 |
<input type="radio" id="no_housebound_deliverer" name="housebound_deliverer" value="0" /> |
1005 |
<label for="no_housebound_deliverer">No </label> |
|
|
1006 |
<input type="radio" id="no_housebound_deliverer" |
1007 |
name="housebound_deliverer" value="0" /> |
1008 |
[% ELSE %] |
1000 |
[% ELSE %] |
1009 |
<label for="yes_housebound_deliverer">Yes </label> |
1001 |
<label for="yes_housebound_deliverer">[% t('Yes') %] </label> |
1010 |
<input type="radio" id="yes_housebound_deliverer" |
1002 |
<input type="radio" id="yes_housebound_deliverer" name="housebound_deliverer" value="1" /> |
1011 |
name="housebound_deliverer" value="1" /> |
1003 |
<label for="no_housebound_deliverer">[% t('No') %] </label> |
1012 |
<label for="no_housebound_deliverer">No </label> |
1004 |
<input type="radio" id="no_housebound_deliverer" name="housebound_deliverer" value="0" checked="checked" /> |
1013 |
<input type="radio" id="no_housebound_deliverer" |
|
|
1014 |
name="housebound_deliverer" value="0" |
1015 |
checked="checked" /> |
1016 |
[% END %] |
1005 |
[% END %] |
1017 |
</li> |
1006 |
</li> |
1018 |
</ol> |
1007 |
</ol> |
Lines 1020-1026
Link Here
|
1020 |
[% END # hide fieldset %] |
1009 |
[% END # hide fieldset %] |
1021 |
[% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %] |
1010 |
[% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %] |
1022 |
<fieldset class="rows" id="memberentry_patron_attributes"> |
1011 |
<fieldset class="rows" id="memberentry_patron_attributes"> |
1023 |
<legend id="patron_attributes_lgd">Additional attributes and identifiers</legend> |
1012 |
<legend id="patron_attributes_lgd">[% t('Additional attributes and identifiers') %]</legend> |
1024 |
<input type="hidden" name="setting_extended_patron_attributes" value="1" /> |
1013 |
<input type="hidden" name="setting_extended_patron_attributes" value="1" /> |
1025 |
[% FOREACH pa_loo IN patron_attributes %] |
1014 |
[% FOREACH pa_loo IN patron_attributes %] |
1026 |
[% IF pa_loo.class %] |
1015 |
[% IF pa_loo.class %] |
Lines 1040-1046
Link Here
|
1040 |
[% auth_val_loo.lib %] |
1029 |
[% auth_val_loo.lib %] |
1041 |
</option> |
1030 |
</option> |
1042 |
[% ELSE %] |
1031 |
[% ELSE %] |
1043 |
<option value="[% auth_val_loo.authorised_value %]" > |
1032 |
<option value="[% auth_val_loo.authorised_value %]"> |
1044 |
[% auth_val_loo.lib %] |
1033 |
[% auth_val_loo.lib %] |
1045 |
</option> |
1034 |
</option> |
1046 |
[% END %] |
1035 |
[% END %] |
Lines 1050-1058
Link Here
|
1050 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">[% patron_attribute.value %]</textarea> |
1039 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">[% patron_attribute.value %]</textarea> |
1051 |
[% END %] |
1040 |
[% END %] |
1052 |
<input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code |html %]" /> |
1041 |
<input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code |html %]" /> |
1053 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a> |
1042 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> [% t('Clear') %]</a> |
1054 |
[% IF ( patron_attribute.repeatable ) %] |
1043 |
[% IF ( patron_attribute.repeatable ) %] |
1055 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
1044 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> [% t('New') %]</a> |
1056 |
[% END %] |
1045 |
[% END %] |
1057 |
</li> |
1046 |
</li> |
1058 |
[% END %] |
1047 |
[% END %] |
Lines 1064-1070
Link Here
|
1064 |
|
1053 |
|
1065 |
[% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %] |
1054 |
[% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %] |
1066 |
<fieldset class="rows" id="memberentry_messaging_prefs"> |
1055 |
<fieldset class="rows" id="memberentry_messaging_prefs"> |
1067 |
<legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend> |
1056 |
<legend id="patron_messaging_prefs_lgd">[% t('Patron messaging preferences') %]</legend> |
1068 |
[% IF ( opadd ) %] |
1057 |
[% IF ( opadd ) %] |
1069 |
<!-- handle changing prefs if creating new patron and changing |
1058 |
<!-- handle changing prefs if creating new patron and changing |
1070 |
the patron category |
1059 |
the patron category |
Lines 1114-1127
Link Here
|
1114 |
<input type="hidden" name="setting_messaging_prefs" value="1" /> |
1103 |
<input type="hidden" name="setting_messaging_prefs" value="1" /> |
1115 |
[% INCLUDE 'messaging-preference-form.inc' %] |
1104 |
[% INCLUDE 'messaging-preference-form.inc' %] |
1116 |
[% IF ( SMSSendDriver ) %] |
1105 |
[% IF ( SMSSendDriver ) %] |
1117 |
<p><label for="SMSnumber">SMS number:</label> |
1106 |
<p><label for="SMSnumber">[% t('SMS number:') %]</label> |
1118 |
<input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" /> |
1107 |
<input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" /> |
1119 |
</p> |
1108 |
</p> |
1120 |
[% UNLESS nosms_provider_id %] |
1109 |
[% UNLESS nosms_provider_id %] |
1121 |
<p> |
1110 |
<p> |
1122 |
<label for="sms_provider_id">SMS provider:</label> |
1111 |
<label for="sms_provider_id">[% t('SMS provider:') %]</label> |
1123 |
<select id="sms_provider_id" name="sms_provider_id"/> |
1112 |
<select id="sms_provider_id" name="sms_provider_id" /> |
1124 |
<option value="">Unknown</option> |
1113 |
<option value="">[% t('Unknown') %]</option> |
1125 |
[% FOREACH s IN sms_providers %] |
1114 |
[% FOREACH s IN sms_providers %] |
1126 |
[% IF s.id == sms_provider_id %] |
1115 |
[% IF s.id == sms_provider_id %] |
1127 |
<option value="[% s.id %]" selected="selected">[% s.name %]</option> |
1116 |
<option value="[% s.id %]" selected="selected">[% s.name %]</option> |
Lines 1140-1146
Link Here
|
1140 |
|
1129 |
|
1141 |
[% IF quickadd && opadd && !check_member %] |
1130 |
[% IF quickadd && opadd && !check_member %] |
1142 |
<form id="quick_add_form" class="toggler"> |
1131 |
<form id="quick_add_form" class="toggler"> |
1143 |
<fieldset class="rows quick_add"><legend>Quick add</legend> |
1132 |
<fieldset class="rows quick_add"><legend>[% t('Quick add') %]</legend> |
1144 |
<ol id="quick_add_list"> |
1133 |
<ol id="quick_add_list"> |
1145 |
</ol> |
1134 |
</ol> |
1146 |
</fieldset> |
1135 |
</fieldset> |