Koha-clms/installer/data/mysql
blou 6cf5de9300 Bug 10951 - Adding NoLoginInstructions to system preferences
On a failed login, the default message is harcorded into opac-auth.tt.

     It would be preferable to allow for a preference to override that message (for example: ...Please bring an ID to t
     The changes modify
         -opac-auth.tt to allow for custom value
         -admin/preferences/opac.pref to add it to the preferences with a description
         -C4/Auth.pm for the loading of the preference
         -sysprefs.sql
         -updatedatabase.pl

     TESTING
         1) in OPAC, logged out, try login in by entering no or wrong credentials.  Acknowledge the "Don't have a p
         2) Apply the patch
         3) Regression Test: Redo step 1.  Same (default) message should appear.
         4) Log in to intranet,
             - select NoLoginInstructions in system preferences.
             - Enter new (xml) message.  Possible:
             <h5>Welcome to Koha, please bring your passport to the front office</h5>
            - and save
         5) refresh the OPAC, try login again with invalid credentials.  The new message should appear.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
(cherry picked from commit c67b397236)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Conflicts:
	installer/data/mysql/updatedatabase.pl
	koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
2014-07-11 09:07:16 +02:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 11260: (follow-up) repair German sample_z3950_servers.sql 2014-02-18 09:40:18 +01:00
en Bug 11939: set active currency when using English sample data 2014-06-12 11:31:15 +02:00
es-ES Bug 11939: set active currency for non-English sample data 2014-06-12 11:31:30 +02:00
fr-FR Bug 11628: add missing staffaccess permission to French userflags.sql file 2014-05-19 16:11:16 +02:00
it-IT Bug 11939: set active currency for non-English sample data 2014-06-12 11:31:30 +02:00
nb-NO Bug 11939: set active currency for non-English sample data 2014-06-12 11:31:30 +02:00
pl-PL Bug 11939: set active currency for non-English sample data 2014-06-12 11:31:30 +02:00
ru-RU Bug 11939: set active currency for non-English sample data 2014-06-12 11:31:30 +02:00
uk-UA Bug 11939: set active currency for non-English sample data 2014-06-12 11:31:30 +02:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 7372: (follow-up) remove last traces of roadtype table and admin pages 2014-06-03 12:19:18 +02:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sysprefs.sql Bug 10951 - Adding NoLoginInstructions to system preferences 2014-07-11 09:07:16 +02:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-27 14:54:09 +01:00
updatedatabase.pl Bug 10951 - Adding NoLoginInstructions to system preferences 2014-07-11 09:07:16 +02:00