Bugzilla – Attachment 26783 Details for
Bug 6864
add a syspref to allow custom text for OPAC user/pass information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6864 - Bootstrap OpacBelowLoginBox
Bug-6864---Bootstrap-OpacBelowLoginBox.patch (text/plain), 3.09 KB, created by
Mark Tompsett
on 2014-04-03 02:46:11 UTC
(
hide
)
Description:
Bug 6864 - Bootstrap OpacBelowLoginBox
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-04-03 02:46:11 UTC
Size:
3.09 KB
patch
obsolete
>From 0d09f7bc4b0deec3adc123ff465a454ee0b08637 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 2 Apr 2014 22:33:03 -0400 >Subject: [PATCH] Bug 6864 - Bootstrap OpacBelowLoginBox > >This adds OpacBelowLoginBox to bootstrap. >It also corrects the placement of setting the opacbelowloginbox >template parameter, so that it will work under bootstrap. >--- > C4/Auth.pm | 2 +- > .../opac-tmpl/bootstrap/en/includes/masthead.inc | 5 ++++- > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index d2a8a19..d4fff77 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -398,6 +398,7 @@ sub get_template_and_user { > LibraryNameTitle => "" . $LibraryNameTitle, > LoginBranchname => C4::Context->userenv?C4::Context->userenv->{"branchname"}:"", > OPACAmazonCoverImages => C4::Context->preference("OPACAmazonCoverImages"), >+ opacbelowloginbox => C4::Context->preference("OpacBelowLoginBox"), > OPACFRBRizeEditions => C4::Context->preference("OPACFRBRizeEditions"), > OpacHighlightedWords => C4::Context->preference("OpacHighlightedWords"), > OPACItemHolds => C4::Context->preference("OPACItemHolds"), >@@ -1064,7 +1065,6 @@ sub checkauth { > IndependentBranches=> C4::Context->preference("IndependentBranches"), > AutoLocation => C4::Context->preference("AutoLocation"), > wrongip => $info{'wrongip'}, >- opacbelowloginbox => C4::Context->preference("OpacBelowLoginBox"), > PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"), > PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"), > persona => C4::Context->preference("Persona"), >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index 1edc244..337afdd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -276,6 +276,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 ( opacbelowloginbox ) %] >+ [% opacbelowloginbox %] >+ [% 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> >@@ -284,4 +287,4 @@ > <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">Cancel</a> > </div> > </form> <!-- /#auth --> >- </div> <!-- /#modalAuth --> >\ No newline at end of file >+ </div> <!-- /#modalAuth --> >-- >1.7.9.5
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 6864
:
5401
|
25714
|
25938
|
26465
|
26774
|
26776
|
26779
|
26780
|
26781
|
26782
|
26783
|
26784