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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 418-420 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES(' Link Here
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 INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');
419
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');
420
INSERT INTO systempreferences (variable,value,explanation,options,type)  VALUES('TrackClicks','0','Track links clicked',NULL,'Integer');
420
INSERT INTO systempreferences (variable,value,explanation,options,type)  VALUES('TrackClicks','0','Track links clicked',NULL,'Integer');
421
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 (+7 lines)
Lines 6477-6482 if ( CheckVersion($DBversion) ) { Link Here
6477
}
6477
}
6478
6478
6479
6479
6480
$DBversion = "3.11.00.XXX";
6481
if ( CheckVersion($DBversion) ) {
6482
    $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'    );");
6483
    print "Upgrade to $DBversion done (Bug 9756 - Patron self registration missing the system preference PatronSelfRegistrationAdditionalInstructions)\n";
6484
    SetVersion($DBversion);
6485
}
6486
6480
=head1 FUNCTIONS
6487
=head1 FUNCTIONS
6481
6488
6482
=head2 TableExists($table)
6489
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +5 lines)
Lines 596-598 OPAC: Link Here
596
            - pref: PatronSelfRegistrationBorrowerUnwantedField
596
            - pref: PatronSelfRegistrationBorrowerUnwantedField
597
              class: multi
597
              class: multi
598
            - (separate columns with |)
598
            - (separate columns with |)
599
- 
599
        -
600
            - "Display the following additional instructions for patrons who self register via the OPAC ( HTML is allowed ):"
601
            - pref: PatronSelfRegistrationAdditionalInstructions
602
              type: textarea
603
              class: html

Return to bug 9756