|
Lines 78-83
Link Here
|
| 78 |
<div class="dialog alert"> |
78 |
<div class="dialog alert"> |
| 79 |
<p>The following fields are wrong. Please fix them.</p> |
79 |
<p>The following fields are wrong. Please fix them.</p> |
| 80 |
<ul> |
80 |
<ul> |
|
|
81 |
[% IF ( ERROR_child_no_guarantor ) %] |
| 82 |
<li id="ERROR_child_no_guarantor">A child patron needs a guarantor.</li> |
| 83 |
[% END %] |
| 84 |
[% IF ( ERROR_guarantor_is_guarantee ) %] |
| 85 |
<li id="ERROR_guarantor_is_guarantee">A guarantor cannot be a guarantee.</li> |
| 86 |
[% END %] |
| 87 |
[% IF ( ERROR_guarantor_not_patron ) %] |
| 88 |
<li id="ERROR_guarantor_not_patron ">Guarantor has to be a patron.</li> |
| 89 |
[% END %] |
| 81 |
[% IF ( ERROR_login_exist ) %] |
90 |
[% IF ( ERROR_login_exist ) %] |
| 82 |
<li id="ERROR_login_exist">Username/password already exists.</li> |
91 |
<li id="ERROR_login_exist">Username/password already exists.</li> |
| 83 |
[% END %] |
92 |
[% END %] |
|
Lines 344-349
Link Here
|
| 344 |
</li> |
353 |
</li> |
| 345 |
[% ELSE %] |
354 |
[% ELSE %] |
| 346 |
[% IF ( C ) %] |
355 |
[% IF ( C ) %] |
|
|
356 |
[% IF ( Koha.Preference('ChildNeedsGuarantor') && Koha.Preference('GuarantorHasToBePatron') ) %]<li id="guarantor_required"><span class="required">Required</span></li>[% END %] |
| 347 |
[% IF ( guarantorid ) %] |
357 |
[% IF ( guarantorid ) %] |
| 348 |
<li id="contact-details"> |
358 |
<li id="contact-details"> |
| 349 |
[% ELSE %] |
359 |
[% ELSE %] |
|
Lines 367-372
Link Here
|
| 367 |
[% ELSE %] |
377 |
[% ELSE %] |
| 368 |
<input name="contactname" id="contactname" type="text" size="20" value="[% contactname | html %]" /> |
378 |
<input name="contactname" id="contactname" type="text" size="20" value="[% contactname | html %]" /> |
| 369 |
[% END %] |
379 |
[% END %] |
|
|
380 |
[% IF ( Koha.Preference('ChildNeedsGuarantor') && !Koha.Preference('GuarantorHasToBePatron')) %]<span class="required">Required</span>[% END %] |
| 370 |
</li> |
381 |
</li> |
| 371 |
[% END %] |
382 |
[% END %] |
| 372 |
[% UNLESS nocontactfirstname %] |
383 |
[% UNLESS nocontactfirstname %] |