Bugzilla – Attachment 30415 Details for
Bug 12683
Use NoLoginInstructions to customize text for OPAC user/pass information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12683 - Use NoLoginInstructions to customize text for OPAC user/pass information
Bug-12683---Use-NoLoginInstructions-to-customize-t.patch (text/plain), 3.70 KB, created by
simith.doliveira
on 2014-07-31 17:02:06 UTC
(
hide
)
Description:
Bug 12683 - Use NoLoginInstructions to customize text for OPAC user/pass information
Filename:
MIME Type:
Creator:
simith.doliveira
Created:
2014-07-31 17:02:06 UTC
Size:
3.70 KB
patch
obsolete
>From fa1596b1207550edc26b48094c7b3dd6c6f66a0a Mon Sep 17 00:00:00 2001 >From: simith <simith@inlibro.com> >Date: Thu, 31 Jul 2014 12:48:26 -0400 >Subject: [PATCH] Bug 12683 - Use NoLoginInstructions to customize text for > OPAC user/pass information > >Enable staff to setting a text for OPAC user/pass information > >Modified: > >C4/Auth.pm >koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc -add a text to the popup login page >koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-main.tt -add a text to the main login page > >Testing: > >I Apply the patch > >0) Search NoLoginInstructions preference >1) Add/modify a text >2) Open OPAC main page >3) Validate the text added under Login button >4) Click in "Log in to your account" link >5) Validate the text added under input password (popup) > >Sponsored-by: CCSR ( http://www.ccsr.qc.ca ) >--- > C4/Auth.pm | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 3 +++ > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 3 +++ > 3 files changed, 7 insertions(+) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 9dba5e5..7e1c215 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -421,6 +421,7 @@ sub get_template_and_user { > LibraryNameTitle => "" . $LibraryNameTitle, > LoginBranchname => C4::Context->userenv?C4::Context->userenv->{"branchname"}:"", > OPACAmazonCoverImages => C4::Context->preference("OPACAmazonCoverImages"), >+ NoLoginInstructions => C4::Context->preference("NoLoginInstructions"), > OPACFRBRizeEditions => C4::Context->preference("OPACFRBRizeEditions"), > OpacHighlightedWords => C4::Context->preference("OpacHighlightedWords"), > OPACItemHolds => C4::Context->preference("OPACItemHolds"), >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index b035047..42f679a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -285,6 +285,9 @@ > <fieldset class="brief"> > <label for="muserid">Login:</label><input type="text" id="muserid" name="userid" /> > <label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" /> >+ [% IF ( NoLoginInstructions ) %] >+ [% NoLoginInstructions %] >+ [% END %] > [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="mpatronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %] > </fieldset> > </div> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >index 5b68c19..0d792c7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -78,6 +78,9 @@ > </fieldset> > [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="patronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %] > </fieldset> >+ [% IF ( NoLoginInstructions ) %] >+ [% NoLoginInstructions %] >+ [% END %] > </form> > </div> <!-- /#login --> > [% END # /casAuthentication %] >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12683
:
30415
|
30447
|
30736
|
30739
|
30750
|
30751
|
30839