|
Lines 9-24
Link Here
|
| 9 |
<script type="text/javascript"> |
9 |
<script type="text/javascript"> |
| 10 |
//<![CDATA[ |
10 |
//<![CDATA[ |
| 11 |
$(document).ready(function() { |
11 |
$(document).ready(function() { |
| 12 |
|
|
|
| 13 |
$(".hidefield").hide(); |
12 |
$(".hidefield").hide(); |
| 14 |
$("#toggle_hidden_fields").prop("checked", false); |
13 |
$("#menu").show(); |
| 15 |
|
14 |
|
| 16 |
$("#toggle_hidden_fields").on("change",function(e){ |
15 |
$(".clicktoshow").on("click", function(){ |
| 17 |
if ($("#toggle_hidden_fields").prop("checked") == true){ |
16 |
$(this).hide().parents().parents().nextUntil("fieldset").show( 'slow' ); |
| 18 |
$(".hidefield").show(); |
17 |
$(this).siblings(".clicktohide").show(); |
| 19 |
} else { |
18 |
}); |
| 20 |
$(".hidefield").hide(); |
19 |
|
| 21 |
} |
20 |
$(".clicktohide").on("click", function(){ |
|
|
21 |
$(this).hide().parents().parents().nextUntil("fieldset").hide( 'slow' ); |
| 22 |
$(this).siblings(".clicktoshow").show(); |
| 22 |
}); |
23 |
}); |
| 23 |
|
24 |
|
| 24 |
$("#saverecord").css({ 'margin-left': 0 }); |
25 |
$("#saverecord").css({ 'margin-left': 0 }); |
|
Lines 36-52
$(document).ready(function() {
Link Here
|
| 36 |
$('#toolbar').fixFloat({ 'originalOffset': original_offset - additional_height }); |
37 |
$('#toolbar').fixFloat({ 'originalOffset': original_offset - additional_height }); |
| 37 |
}) |
38 |
}) |
| 38 |
|
39 |
|
| 39 |
[% IF categorycode %] |
40 |
[% IF categorycode %] |
| 40 |
update_category_code( "[% categorycode %]" ); |
41 |
update_category_code( "[% categorycode %]" ); |
| 41 |
[% ELSE %] |
42 |
[% ELSE %] |
| 42 |
if ( $("#categorycode_entry").length > 0 ){ |
43 |
if ( $("#categorycode_entry").length > 0 ){ |
| 43 |
var category_code = $("#categorycode_entry").find("option:selected").val(); |
44 |
var category_code = $("#categorycode_entry").find("option:selected").val(); |
| 44 |
update_category_code( category_code ); |
45 |
update_category_code( category_code ); |
| 45 |
} |
46 |
} |
| 46 |
[% END %] |
47 |
[% END %] |
| 47 |
}); |
|
|
| 48 |
|
| 49 |
$(document).ready(function() { |
| 50 |
|
48 |
|
| 51 |
var toggle_quick_add = $(".toggle_quick_add"); |
49 |
var toggle_quick_add = $(".toggle_quick_add"); |
| 52 |
$(toggle_quick_add).click(function(e){ |
50 |
$(toggle_quick_add).click(function(e){ |
|
Lines 218-247
$(document).ready(function() {
Link Here
|
| 218 |
|
216 |
|
| 219 |
[% SET fields_to_hide = Koha.Preference('HideFieldsAddPatronForm') %] |
217 |
[% SET fields_to_hide = Koha.Preference('HideFieldsAddPatronForm') %] |
| 220 |
|
218 |
|
| 221 |
[% IF Koha.Preference('HideFieldsAddPatronForm') %] |
|
|
| 222 |
<p id="selections"> |
| 223 |
<input type="checkbox" id="toggle_hidden_fields" checked="checked" title="These fields are hidden by default by the HideFieldsAddPatronForm system preference"><strong>Show hidden fields:</strong> |
| 224 |
[% FOREACH field IN fields_to_hide.split(',') %] |
| 225 |
[% SWITCH field %] |
| 226 |
[% CASE 'identity' %] Organization/Patron identity | |
| 227 |
[% CASE 'guarantor' %] Guarantor information | |
| 228 |
[% CASE 'primary_address' %] Main address | |
| 229 |
[% CASE 'primary_contact' %] Contact | |
| 230 |
[% CASE 'alt_address' %] Alternate address | |
| 231 |
[% CASE 'alt_contact' %] Alternate contact | |
| 232 |
[% CASE 'lib_mgmt' %] Library management | |
| 233 |
[% CASE 'lib_setup' %] Library set-up | |
| 234 |
[% CASE 'login' %] OPAC/Staff login | |
| 235 |
[% CASE 'flags' %] Patron account flags | |
| 236 |
[% CASE 'debarments' %] Patron restrictions | |
| 237 |
[% CASE 'housebound' %] Housebound roles | |
| 238 |
[% CASE 'additional' %] Additional attributes and identifiers | |
| 239 |
[% CASE 'messaging' %] Patron messaging preferences | |
| 240 |
[% END %] |
| 241 |
[% END %] |
| 242 |
</p> |
| 243 |
[% END %] |
| 244 |
|
| 245 |
<div id="toolbar" class="btn-toolbar"> |
219 |
<div id="toolbar" class="btn-toolbar"> |
| 246 |
[% UNLESS ( check_member ) %] |
220 |
[% UNLESS ( check_member ) %] |
| 247 |
[% IF quickadd && opadd %] |
221 |
[% IF quickadd && opadd %] |
|
Lines 285-298
$(document).ready(function() {
Link Here
|
| 285 |
|
259 |
|
| 286 |
[% IF ( step_1 ) %] |
260 |
[% IF ( step_1 ) %] |
| 287 |
[%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %] |
261 |
[%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %] |
| 288 |
[% IF fields_to_hide.search('identity') %] |
|
|
| 289 |
<fieldset class="rows hidefield" id="memberentry_identity"> |
| 290 |
[% ELSE %] |
| 291 |
<fieldset class="rows" id="memberentry_identity"> |
262 |
<fieldset class="rows" id="memberentry_identity"> |
| 292 |
[% END %] |
263 |
<legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend> |
| 293 |
<legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend> |
264 |
[% IF fields_to_hide.search('identity') %] |
| 294 |
<ol> |
265 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 295 |
[% UNLESS ( I ) %] |
266 |
<ol class="hidefield"> |
|
|
267 |
[% ELSE %] |
| 268 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 269 |
<ol> |
| 270 |
[% END %] |
| 271 |
[% UNLESS ( I ) %] |
| 296 |
[% UNLESS notitle %] |
272 |
[% UNLESS notitle %] |
| 297 |
[% IF Koha.Preference('BorrowersTitles') %] |
273 |
[% IF Koha.Preference('BorrowersTitles') %] |
| 298 |
<li> |
274 |
<li> |
|
Lines 314-324
$(document).ready(function() {
Link Here
|
| 314 |
</select> |
290 |
</select> |
| 315 |
[% IF ( mandatorytitle ) %]<span class="required">Required</span>[% END %] |
291 |
[% IF ( mandatorytitle ) %]<span class="required">Required</span>[% END %] |
| 316 |
</li> |
292 |
</li> |
| 317 |
[% END %] |
|
|
| 318 |
[% END %] |
293 |
[% END %] |
| 319 |
[% END %] |
294 |
[% END %] |
| 320 |
[% UNLESS nosurname %] |
295 |
[% END %] |
| 321 |
<li> |
296 |
[% UNLESS nosurname %] |
|
|
297 |
<li> |
| 322 |
[% IF ( mandatorysurname ) %] |
298 |
[% IF ( mandatorysurname ) %] |
| 323 |
<label for="surname" class="required"> |
299 |
<label for="surname" class="required"> |
| 324 |
[% ELSE %] |
300 |
[% ELSE %] |
|
Lines 417-424
$(document).ready(function() {
Link Here
|
| 417 |
</li> |
393 |
</li> |
| 418 |
[% END %] |
394 |
[% END %] |
| 419 |
[% END %] |
395 |
[% END %] |
| 420 |
</ol> |
396 |
</ol> |
| 421 |
</fieldset> |
397 |
</fieldset> |
| 422 |
[% END # hide fieldset %] |
398 |
[% END # hide fieldset %] |
| 423 |
|
399 |
|
| 424 |
[% IF ( showguarantor ) %] |
400 |
[% IF ( showguarantor ) %] |
|
Lines 526-550
$(document).ready(function() {
Link Here
|
| 526 |
|
502 |
|
| 527 |
[% END %] |
503 |
[% END %] |
| 528 |
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] |
504 |
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] |
| 529 |
[% IF fields_to_hide.search('primary_address') %] |
|
|
| 530 |
<fieldset class="hidefield"> |
| 531 |
[% ELSE %] |
| 532 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
505 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
| 533 |
[% INCLUDE "member-main-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
506 |
[% INCLUDE "member-main-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
| 534 |
[% ELSE %] |
507 |
[% ELSE %] |
| 535 |
[% INCLUDE 'member-main-address-style-us.inc' %] |
508 |
[% INCLUDE 'member-main-address-style-us.inc' %] |
| 536 |
[% END %] |
509 |
[% END %] |
| 537 |
[% END %] |
|
|
| 538 |
[% IF fields_to_hide.search('primary_address') %]</fieldset>[% END %] |
| 539 |
[% END # nostreet && nocity etc group%] |
510 |
[% END # nostreet && nocity etc group%] |
| 540 |
|
511 |
|
| 541 |
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] |
512 |
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] |
| 542 |
[% IF fields_to_hide.search('primary_contact') %] |
|
|
| 543 |
<fieldset class="rows hidefield" id="memberentry_contact"> |
| 544 |
[% ELSE %] |
| 545 |
<fieldset class="rows" id="memberentry_contact"> |
513 |
<fieldset class="rows" id="memberentry_contact"> |
| 546 |
[% END %] |
514 |
<legend id="contact_lgd">Contact</legend> |
| 547 |
<legend id="contact_lgd">Contact</legend><ol> |
515 |
[% IF fields_to_hide.search('primary_contact') %] |
|
|
516 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 517 |
<ol class="hidefield"> |
| 518 |
[% ELSE %] |
| 519 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 520 |
<ol> |
| 521 |
[% END %] |
| 548 |
[% UNLESS nophone %] |
522 |
[% UNLESS nophone %] |
| 549 |
<li> |
523 |
<li> |
| 550 |
[% IF ( mandatoryphone ) %] |
524 |
[% IF ( mandatoryphone ) %] |
|
Lines 628-669
$(document).ready(function() {
Link Here
|
| 628 |
[% IF ( step_6 ) %] |
602 |
[% IF ( step_6 ) %] |
| 629 |
|
603 |
|
| 630 |
[% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] |
604 |
[% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] |
| 631 |
[% IF fields_to_hide.search('alt_address') %] |
|
|
| 632 |
<fieldset class="hidefield"> |
| 633 |
[% ELSE %] |
| 634 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
605 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
| 635 |
[% INCLUDE "member-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
606 |
[% INCLUDE "member-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
| 636 |
[% ELSE %] |
607 |
[% ELSE %] |
| 637 |
[% INCLUDE 'member-alt-address-style-us.inc' %] |
608 |
[% INCLUDE 'member-alt-address-style-us.inc' %] |
| 638 |
[% END %] |
609 |
[% END %] |
| 639 |
[% END %] |
|
|
| 640 |
[% IF fields_to_hide.search('alt_address') %]</fieldset>[% END %] |
| 641 |
[% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] |
610 |
[% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] |
| 642 |
[% END %] |
611 |
[% END %] |
| 643 |
[% IF ( step_2 ) %] |
612 |
[% IF ( step_2 ) %] |
| 644 |
[% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] |
613 |
[% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] |
| 645 |
[% IF fields_to_hide.search('alt_contact') %] |
|
|
| 646 |
<fieldset class="hidefield"> |
| 647 |
[% ELSE %] |
| 648 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
614 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
| 649 |
[% INCLUDE "member-alt-contact-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
615 |
[% INCLUDE "member-alt-contact-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
| 650 |
[% ELSE %] |
616 |
[% ELSE %] |
| 651 |
[% INCLUDE 'member-alt-contact-style-us.inc' %] |
617 |
[% INCLUDE 'member-alt-contact-style-us.inc' %] |
| 652 |
[% END %] |
618 |
[% END %] |
| 653 |
[% END %] |
|
|
| 654 |
[% IF fields_to_hide.search('alt_contact') %]</fieldset>[% END %] |
| 655 |
[% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] |
619 |
[% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] |
| 656 |
|
620 |
|
| 657 |
[% END %] |
621 |
[% END %] |
| 658 |
[% IF ( step_3 ) %] |
622 |
[% IF ( step_3 ) %] |
| 659 |
|
623 |
|
| 660 |
[% SET autoMemberNum = Koha.Preference('autoMemberNum') %] |
624 |
[% SET autoMemberNum = Koha.Preference('autoMemberNum') %] |
| 661 |
[% IF fields_to_hide.search('lib_mgmt') %] |
|
|
| 662 |
<fieldset class="rows hidefield" id="memberentry_library_management"> |
| 663 |
[% ELSE %] |
| 664 |
<fieldset class="rows" id="memberentry_library_management"> |
625 |
<fieldset class="rows" id="memberentry_library_management"> |
| 665 |
[% END %] |
626 |
<legend id="library_management_lgd">Library management</legend> |
| 666 |
<legend id="library_management_lgd">Library management</legend><ol> |
627 |
[% IF fields_to_hide.search('lib_mgmt') %] |
|
|
628 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 629 |
<ol class="hidefield"> |
| 630 |
[% ELSE %] |
| 631 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 632 |
<ol> |
| 633 |
[% END %] |
| 667 |
[% UNLESS nocardnumber %] |
634 |
[% UNLESS nocardnumber %] |
| 668 |
<li> |
635 |
<li> |
| 669 |
[% IF mandatorycardnumber and not autoMemberNum %] |
636 |
[% IF mandatorycardnumber and not autoMemberNum %] |
|
Lines 813-824
$(document).ready(function() {
Link Here
|
| 813 |
</ol> |
780 |
</ol> |
| 814 |
</fieldset> |
781 |
</fieldset> |
| 815 |
[% UNLESS nodateenrolled && noopacnote && noborrowernotes %] |
782 |
[% UNLESS nodateenrolled && noopacnote && noborrowernotes %] |
| 816 |
[% IF fields_to_hide.search('lib_setup') %] |
|
|
| 817 |
<fieldset class="rows hidefield" id="memberentry_subscription"> |
| 818 |
[% ELSE %] |
| 819 |
<fieldset class="rows" id="memberentry_subscription"> |
783 |
<fieldset class="rows" id="memberentry_subscription"> |
| 820 |
[% END %] |
784 |
<legend id="library_setup_lgd">Library set-up</legend> |
| 821 |
<legend id="library_setup_lgd">Library set-up</legend><ol> |
785 |
[% IF fields_to_hide.search('lib_setup') %] |
|
|
786 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 787 |
<ol class="hidefield"> |
| 788 |
[% ELSE %] |
| 789 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 790 |
<ol> |
| 791 |
[% END %] |
| 822 |
[% UNLESS nodateenrolled %] |
792 |
[% UNLESS nodateenrolled %] |
| 823 |
<li> |
793 |
<li> |
| 824 |
[% IF ( mandatorydateenrolled ) %] |
794 |
[% IF ( mandatorydateenrolled ) %] |
|
Lines 896-907
$(document).ready(function() {
Link Here
|
| 896 |
[% END # hide fieldset %] |
866 |
[% END # hide fieldset %] |
| 897 |
|
867 |
|
| 898 |
[% UNLESS nouserid && nopassword %] |
868 |
[% UNLESS nouserid && nopassword %] |
| 899 |
[% IF fields_to_hide.search('login') %] |
869 |
<fieldset class="rows" id="memberentry_userid"> |
| 900 |
<fieldset class="rows hidefield" id="memberentry_userid"> |
870 |
<legend id="opac_staff_login_lgd">OPAC/Staff login</legend> |
| 901 |
[% ELSE %] |
871 |
[% IF fields_to_hide.search('login') %] |
| 902 |
<fieldset class="rows" id="memberentry_userid"> |
872 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 903 |
[% END %] |
873 |
<ol class="hidefield"> |
| 904 |
<legend id="opac_staff_login_lgd">OPAC/Staff login</legend><ol> |
874 |
[% ELSE %] |
|
|
875 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 876 |
<ol> |
| 877 |
[% END %] |
| 905 |
[% UNLESS nouserid %] |
878 |
[% UNLESS nouserid %] |
| 906 |
<li> |
879 |
<li> |
| 907 |
[% IF ( mandatoryuserid ) %] |
880 |
[% IF ( mandatoryuserid ) %] |
|
Lines 1022-1034
$(document).ready(function() {
Link Here
|
| 1022 |
[% END # hide fieldset %][% END %] |
995 |
[% END # hide fieldset %][% END %] |
| 1023 |
<!--this zones are not necessary in modif mode --> |
996 |
<!--this zones are not necessary in modif mode --> |
| 1024 |
[% UNLESS ( opadd || opduplicate ) %] |
997 |
[% UNLESS ( opadd || opduplicate ) %] |
| 1025 |
[% IF fields_to_hide.search('flags') %] |
|
|
| 1026 |
<fieldset class="rows hidefield" id="memberentry_account_flags"> |
| 1027 |
[% ELSE %] |
| 1028 |
<fieldset class="rows" id="memberentry_account_flags"> |
998 |
<fieldset class="rows" id="memberentry_account_flags"> |
| 1029 |
[% END %] |
|
|
| 1030 |
<legend id="account_flags_lgd">Patron account flags</legend> |
999 |
<legend id="account_flags_lgd">Patron account flags</legend> |
| 1031 |
<ol class="radio"> |
1000 |
[% IF fields_to_hide.search('flags') %] |
|
|
1001 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 1002 |
<ol class="hidefield radio"> |
| 1003 |
[% ELSE %] |
| 1004 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 1005 |
<ol class="radio"> |
| 1006 |
[% END %] |
| 1032 |
[% FOREACH flagloo IN flagloop %] |
1007 |
[% FOREACH flagloo IN flagloop %] |
| 1033 |
<li><label class="radio" for="yes[% flagloo.name %]"> |
1008 |
<li><label class="radio" for="yes[% flagloo.name %]"> |
| 1034 |
[% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no address:[% END %] |
1009 |
[% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no address:[% END %] |
|
Lines 1059-1070
$(document).ready(function() {
Link Here
|
| 1059 |
</ol> |
1034 |
</ol> |
| 1060 |
</fieldset> |
1035 |
</fieldset> |
| 1061 |
|
1036 |
|
| 1062 |
[% IF fields_to_hide.search('restrictions') %] |
|
|
| 1063 |
<fieldset class="rows hidefield" id="memberentry_restrictions"> |
| 1064 |
[% ELSE %] |
| 1065 |
<fieldset class="rows" id="memberentry_restrictions"> |
1037 |
<fieldset class="rows" id="memberentry_restrictions"> |
| 1066 |
[% END %] |
|
|
| 1067 |
<legend id="restrictions_lgd">Patron restrictions</legend> |
1038 |
<legend id="restrictions_lgd">Patron restrictions</legend> |
|
|
1039 |
[% IF fields_to_hide.search('restrictions') %] |
| 1040 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 1041 |
<div class="hidefield"> |
| 1042 |
[% ELSE %] |
| 1043 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 1044 |
<div> |
| 1045 |
[% END %] |
| 1068 |
|
1046 |
|
| 1069 |
[% IF ( debarments ) %] |
1047 |
[% IF ( debarments ) %] |
| 1070 |
<table> |
1048 |
<table> |
|
Lines 1120-1125
$(document).ready(function() {
Link Here
|
| 1120 |
</p> |
1098 |
</p> |
| 1121 |
</fieldset> |
1099 |
</fieldset> |
| 1122 |
[% END %] |
1100 |
[% END %] |
|
|
1101 |
</div> |
| 1123 |
</fieldset> |
1102 |
</fieldset> |
| 1124 |
[% END %] |
1103 |
[% END %] |
| 1125 |
|
1104 |
|
|
Lines 1127-1139
$(document).ready(function() {
Link Here
|
| 1127 |
|
1106 |
|
| 1128 |
[% IF ( step_4 ) %] |
1107 |
[% IF ( step_4 ) %] |
| 1129 |
[% IF Koha.Preference('HouseboundModule') %] |
1108 |
[% IF Koha.Preference('HouseboundModule') %] |
| 1130 |
[% IF fields_to_hide.search('housebound') %] |
|
|
| 1131 |
<fieldset class="rows hidefield" id="memberentry_housebound_roles"> |
| 1132 |
[% ELSE %] |
| 1133 |
<fieldset class="rows" id="memberentry_housebound_roles"> |
1109 |
<fieldset class="rows" id="memberentry_housebound_roles"> |
| 1134 |
[% END %] |
|
|
| 1135 |
<legend id="housebound_roles">Housebound roles</legend> |
1110 |
<legend id="housebound_roles">Housebound roles</legend> |
| 1136 |
<ol class="radio"> |
1111 |
[% IF fields_to_hide.search('housebound') %] |
|
|
1112 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 1113 |
<ol class="hidefield radio"> |
| 1114 |
[% ELSE %] |
| 1115 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 1116 |
<ol class="radio"> |
| 1117 |
[% END %] |
| 1137 |
<li> |
1118 |
<li> |
| 1138 |
<label class="radio" for="housebound_chooser"> |
1119 |
<label class="radio" for="housebound_chooser"> |
| 1139 |
Chooser: |
1120 |
Chooser: |
|
Lines 1180-1191
$(document).ready(function() {
Link Here
|
| 1180 |
</fieldset> |
1161 |
</fieldset> |
| 1181 |
[% END # hide fieldset %] |
1162 |
[% END # hide fieldset %] |
| 1182 |
[% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %] |
1163 |
[% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %] |
| 1183 |
[% IF fields_to_hide.search('additional') %] |
|
|
| 1184 |
<fieldset class="rows hidefield" id="memberentry_patron_attributes"> |
| 1185 |
[% ELSE %] |
| 1186 |
<fieldset class="rows" id="memberentry_patron_attributes"> |
1164 |
<fieldset class="rows" id="memberentry_patron_attributes"> |
| 1187 |
[% END %] |
|
|
| 1188 |
<legend id="patron_attributes_lgd">Additional attributes and identifiers</legend> |
1165 |
<legend id="patron_attributes_lgd">Additional attributes and identifiers</legend> |
|
|
1166 |
[% IF fields_to_hide.search('additional') %] |
| 1167 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 1168 |
<div class="hidefield"> |
| 1169 |
[% ELSE %] |
| 1170 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 1171 |
<div> |
| 1172 |
[% END %] |
| 1189 |
<input type="hidden" name="setting_extended_patron_attributes" value="1" /> |
1173 |
<input type="hidden" name="setting_extended_patron_attributes" value="1" /> |
| 1190 |
[% FOREACH pa_loo IN patron_attributes %] |
1174 |
[% FOREACH pa_loo IN patron_attributes %] |
| 1191 |
[% IF pa_loo.class %] |
1175 |
[% IF pa_loo.class %] |
|
Lines 1224-1239
$(document).ready(function() {
Link Here
|
| 1224 |
</ol> |
1208 |
</ol> |
| 1225 |
[% IF pa_loo.class %]</fieldset>[% END %] |
1209 |
[% IF pa_loo.class %]</fieldset>[% END %] |
| 1226 |
[% END %] |
1210 |
[% END %] |
|
|
1211 |
</div> |
| 1227 |
</fieldset> |
1212 |
</fieldset> |
| 1228 |
[% END %][% END %][% END %] |
1213 |
[% END %][% END %][% END %] |
| 1229 |
|
1214 |
|
| 1230 |
[% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %] |
1215 |
[% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %] |
| 1231 |
[% IF fields_to_hide.search('messaging') %] |
|
|
| 1232 |
<fieldset class="rows hidefield" id="memberentry_messaging_prefs"> |
| 1233 |
[% ELSE %] |
| 1234 |
<fieldset class="rows" id="memberentry_messaging_prefs"> |
1216 |
<fieldset class="rows" id="memberentry_messaging_prefs"> |
| 1235 |
[% END %] |
|
|
| 1236 |
<legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend> |
1217 |
<legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend> |
|
|
1218 |
[% IF fields_to_hide.search('messaging') %] |
| 1219 |
<ol><li><a class="clicktoshow">Click to show</a><a class="clicktohide" style="display:none;">Click to collapse</a></li></ol> |
| 1220 |
<div class="hidefield"> |
| 1221 |
[% ELSE %] |
| 1222 |
<ol><li><a class="clicktoshow" style="display:none;">Click to show</a><a class="clicktohide">Click to collapse</a></li></ol> |
| 1223 |
<div> |
| 1224 |
[% END %] |
| 1237 |
[% IF ( opadd ) %] |
1225 |
[% IF ( opadd ) %] |
| 1238 |
<!-- handle changing prefs if creating new patron and changing |
1226 |
<!-- handle changing prefs if creating new patron and changing |
| 1239 |
the patron category |
1227 |
the patron category |
|
Lines 1300-1305
$(document).ready(function() {
Link Here
|
| 1300 |
</select> |
1288 |
</select> |
| 1301 |
</p> |
1289 |
</p> |
| 1302 |
[% END %] |
1290 |
[% END %] |
|
|
1291 |
</div> |
| 1303 |
</fieldset> |
1292 |
</fieldset> |
| 1304 |
[% END %] [% END %] |
1293 |
[% END %] [% END %] |
| 1305 |
|
1294 |
|
|
Lines 1354-1357
$(document).ready(function() {
Link Here
|
| 1354 |
[% END %] |
1343 |
[% END %] |
| 1355 |
</div> |
1344 |
</div> |
| 1356 |
[% INCLUDE 'intranet-bottom.inc' %] |
1345 |
[% INCLUDE 'intranet-bottom.inc' %] |
| 1357 |
|
|
|
| 1358 |
- |