[Koha-bugs] [Bug 10951] Make the NoLoginInstructions a customizable field through preferences
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 4 02:01:09 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10951
--- Comment #17 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 21524
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21524
Adding NoLoginInstructions to system preferences
Review of attachment 21524:
--> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10951&attachment=21524)
-----------------------------------------------------------------
::: installer/data/mysql/updatedatabase.pl
@@ +7157,5 @@
>
> +$DBversion ="3.13.00.XXX";
> +if ( CheckVersion($DBversion) ) {
> + $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')");
You forgot to escape the single quotes in the message and you then typed
contractions like "Don't" and "We'll" in the message. Escape the single quotes,
and this works fine.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list