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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 416-418 INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ( Link Here
416
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('IntranetNumbersPreferPhrase','0', NULL, 'Control the use of phr operator in callnumber and standard number staff client searches', 'YesNo');
416
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('IntranetNumbersPreferPhrase','0', NULL, 'Control the use of phr operator in callnumber and standard number staff client searches', 'YesNo');
417
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('UNIMARCField100Language', 'fre','UNIMARC field 100 default language',NULL,'short');
417
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('UNIMARCField100Language', 'fre','UNIMARC field 100 default language',NULL,'short');
418
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('Persona',0,'Use Mozilla Persona for login','','YesNo');
418
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('Persona',0,'Use Mozilla Persona for login','','YesNo');
419
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('PatronSelfRegistrationAdditionalInstructions','','A free text field to display additional instructions to newly self registered patrons.','','free');
(-)a/installer/data/mysql/updatedatabase.pl (+6 lines)
Lines 6444-6449 if ( CheckVersion($DBversion) ) { Link Here
6444
    SetVersion($DBversion);
6444
    SetVersion($DBversion);
6445
}
6445
}
6446
6446
6447
$DBversion = "3.11.00.XXX";
6448
if ( CheckVersion($DBversion) ) {
6449
    $dbh->do("INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('PatronSelfRegistrationAdditionalInstructions', '', NULL , 'A free text field to display additional instructions to newly self registered patrons.', 'free'    );");
6450
    print "Upgrade to $DBversion done (Bug 9756 - Patron self registration missing the system preference PatronSelfRegistrationAdditionalInstructions)\n";
6451
    SetVersion($DBversion);
6452
}
6447
6453
6448
=head1 FUNCTIONS
6454
=head1 FUNCTIONS
6449
6455
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +5 lines)
Lines 580-582 OPAC: Link Here
580
            - pref: PatronSelfRegistrationBorrowerUnwantedField
580
            - pref: PatronSelfRegistrationBorrowerUnwantedField
581
              class: multi
581
              class: multi
582
            - (separate columns with |)
582
            - (separate columns with |)
583
- 
583
        -
584
            - "Display the following additional instructions for patrons who self register via the OPAC ( HTML is allowed ):"
585
            - pref: PatronSelfRegistrationAdditionalInstructions
586
              type: textarea
587
              class: html

Return to bug 9756