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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 185-191 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
185
('NewItemsDefaultLocation','','','If set, all new items will have a location of the given Location Code ( Authorized Value type LOC )',''),
185
('NewItemsDefaultLocation','','','If set, all new items will have a location of the given Location Code ( Authorized Value type LOC )',''),
186
('noissuescharge','5','','Define maximum amount withstanding before check outs are blocked','Integer'),
186
('noissuescharge','5','','Define maximum amount withstanding before check outs are blocked','Integer'),
187
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
187
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
188
('NoLoginInstructions', '<h5>Don\'t have a password yet?</h5> <p> If you don\'t have a password yet, stop by the circulation desk the next time you\'re in the library. We\'ll happily set one up for you.</p> <h5>Don\'t have a library card?</h5> <p> If you don\'t have a library card, stop by your local library to sign up.  </p>', '60|10', 'Instructions when a person is not connected', 'Textarea'),
188
('NoLoginInstructions', '', '60|10', 'Instructions when a person is not connected', 'Textarea'),
189
('NotesBlacklist','',NULL,'List of notes fields that should not appear in the title notes/description separator of details','free'),
189
('NotesBlacklist','',NULL,'List of notes fields that should not appear in the title notes/description separator of details','free'),
190
('NoticeCSS','',NULL,'Notices CSS url.','free'),
190
('NoticeCSS','',NULL,'Notices CSS url.','free'),
191
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
191
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 7745-7751 if(CheckVersion($DBversion)) { Link Here
7745
7745
7746
$DBversion ="3.13.00.XXX";
7746
$DBversion ="3.13.00.XXX";
7747
if ( CheckVersion($DBversion) ) {
7747
if ( CheckVersion($DBversion) ) {
7748
    $dbh->do("INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('NoLoginInstructions', '<h5>Don''t have a password yet?</h5> <p> If you don''t have a password yet, stop by the circulation desk the next time you''re in the library. We''ll happily set one up for you.</p> <h5>Don''t have a library card?</h5> <p> If you don''t have a library card, stop by your local library to sign up.  </p>', '60|10', 'Instructions when a person is not connected', 'Textarea')");
7748
    $dbh->do("INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('NoLoginInstructions', '', '60|10', 'Instructions when a person is not connected', 'Textarea')");
7749
    print "Upgrade to $DBversion done (Bug 10951: Add NoLoginInstructions pref)\n";
7749
    print "Upgrade to $DBversion done (Bug 10951: Add NoLoginInstructions pref)\n";
7750
    SetVersion($DBversion);
7750
    SetVersion($DBversion);
7751
}
7751
}
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth.tt (-5 / +4 lines)
Lines 88-97 please choose against which one you would like to authenticate: </p> Link Here
88
<div id="nologininstructions">
88
<div id="nologininstructions">
89
[% IF NoLoginInstructions %] [% NoLoginInstructions %]
89
[% IF NoLoginInstructions %] [% NoLoginInstructions %]
90
[% ELSE %]
90
[% ELSE %]
91
	<h5>Don't have a password yet?</h5>
91
    <h5>Don't have a password yet?</h5>
92
	<p>If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p>
92
    <p>If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p>
93
	<h5>Don't have a library card?</h5>
93
    <h5>Don't have a library card?</h5>
94
	If you don't have a library card, stop by your local library to sign up.
94
    <p>If you don't have a library card, stop by your local library to sign up.</p>
95
[% END %]
95
[% END %]
96
[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<span id="registrationinstructions">You may <a href="/cgi-bin/koha/opac-memberentry.pl">register here</a>.</span>[% END %]
96
[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<span id="registrationinstructions">You may <a href="/cgi-bin/koha/opac-memberentry.pl">register here</a>.</span>[% END %]
97
</div>
97
</div>
98
- 

Return to bug 10951