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

(-)a/C4/Auth.pm (+1 lines)
Lines 1052-1057 sub checkauth { Link Here
1052
        IndependentBranches=> C4::Context->preference("IndependentBranches"),
1052
        IndependentBranches=> C4::Context->preference("IndependentBranches"),
1053
        AutoLocation       => C4::Context->preference("AutoLocation"),
1053
        AutoLocation       => C4::Context->preference("AutoLocation"),
1054
        wrongip            => $info{'wrongip'},
1054
        wrongip            => $info{'wrongip'},
1055
        opacbelowloginbox  => C4::Context->preference("OpacBelowLoginBox"),
1055
        PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"),
1056
        PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"),
1056
        PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"),
1057
        PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"),
1057
        persona            => C4::Context->preference("Persona"),
1058
        persona            => C4::Context->preference("Persona"),
(-)a/installer/data/mysql/updatedatabase.pl (+8 lines)
Lines 7824-7829 if ( CheckVersion($DBversion) ) { Link Here
7824
    SetVersion($DBversion);
7824
    SetVersion($DBversion);
7825
}
7825
}
7826
7826
7827
$DBversion = "XXX";
7828
if ( CheckVersion($DBversion) ) {
7829
    $dbh->do("INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('OpacBelowLoginBox','', '30|10','Texte à afficher en dessous de la boite de login','Textarea');");
7830
    print "Upgrade to $DBversion done (Add OpacBelowLoginBox preference)\n";
7831
    SetVersion($DBversion);
7832
}
7833
7834
7827
7835
7828
=head1 FUNCTIONS
7836
=head1 FUNCTIONS
7829
7837
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (+5 lines)
Lines 225-230 OPAC: Link Here
225
              type: textarea
225
              type: textarea
226
              class: code
226
              class: code
227
        -
227
        -
228
            - "Include the following HTML under the login box in the OPAC."
229
            - pref: OpacBelowLoginBox
230
              type: textarea
231
              class: code
232
        -
228
            - 'Include a "More Searches" box on the detail pages of items on the OPAC, with the following HTML (leave blank to disable):'
233
            - 'Include a "More Searches" box on the detail pages of items on the OPAC, with the following HTML (leave blank to disable):'
229
            - '<br />Note: The placeholders {BIBLIONUMBER}, {CONTROLNUMBER}, {TITLE}, {ISBN}, {ISSN} and {AUTHOR} will be replaced with information from the displayed record.'
234
            - '<br />Note: The placeholders {BIBLIONUMBER}, {CONTROLNUMBER}, {TITLE}, {ISBN}, {ISSN} and {AUTHOR} will be replaced with information from the displayed record.'
230
            - pref: OPACSearchForTitleIn
235
            - pref: OPACSearchForTitleIn
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth.tt (-2 / +7 lines)
Lines 86-93 please choose against which one you would like to authenticate: </p> Link Here
86
86
87
<input type="submit" value="Log In" class="submit" />
87
<input type="submit" value="Log In" class="submit" />
88
<div id="nologininstructions">
88
<div id="nologininstructions">
89
    <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>
89
    [% IF ( opacbelowloginbox ) %]
90
    <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[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<span id="registrationinstructions"> or  <a href="/cgi-bin/koha/opac-memberentry.pl">register here</a></span>[% END %].  </p>
90
        [% opacbelowloginbox %]
91
        [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<span id="registrationinstructions"><a href="/cgi-bin/koha/opac-memberentry.pl">Register here</a></span>[% END %]
92
    [% ELSE %]
93
        <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>
94
        <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[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<span id="registrationinstructions"> or  <a href="/cgi-bin/koha/opac-memberentry.pl">register here</a></span>[% END %].  </p>
95
    [% END %]
91
</div>
96
</div>
92
</form>
97
</form>
93
98
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt (-1 / +5 lines)
Lines 62-68 Link Here
62
62
63
	 </fieldset></fieldset>
63
	 </fieldset></fieldset>
64
	</form>
64
	</form>
65
	</div>
65
    <br style="clear:both" />
66
    <div>
67
        [% opacbelowloginbox %]
68
    </div>
69
    </div>
66
    [% END %]
70
    [% END %]
67
    [% IF persona %]
71
    [% IF persona %]
68
     <a href="#" class="persona-button" id="browserid" ><span>Sign in with your Email</span></a>
72
     <a href="#" class="persona-button" id="browserid" ><span>Sign in with your Email</span></a>
(-)a/opac/opac-main.pl (-1 / +1 lines)
Lines 56-61 my $quote = GetDailyQuote(); # other options are to pass in an exact quote id Link Here
56
$template->param(
56
$template->param(
57
    koha_news           => $all_koha_news,
57
    koha_news           => $all_koha_news,
58
    koha_news_count     => $koha_news_count,
58
    koha_news_count     => $koha_news_count,
59
    opacbelowloginbox => C4::Context->preference("OpacBelowLoginBox"),
59
    display_daily_quote => C4::Context->preference('QuoteOfTheDay'),
60
    display_daily_quote => C4::Context->preference('QuoteOfTheDay'),
60
    daily_quote         => $quote,
61
    daily_quote         => $quote,
61
);
62
);
62
- 

Return to bug 6864