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

(-)a/C4/Auth.pm (+1 lines)
Lines 1064-1069 sub checkauth { Link Here
1064
        IndependentBranches=> C4::Context->preference("IndependentBranches"),
1064
        IndependentBranches=> C4::Context->preference("IndependentBranches"),
1065
        AutoLocation       => C4::Context->preference("AutoLocation"),
1065
        AutoLocation       => C4::Context->preference("AutoLocation"),
1066
        wrongip            => $info{'wrongip'},
1066
        wrongip            => $info{'wrongip'},
1067
        opacbelowloginbox  => C4::Context->preference("OpacBelowLoginBox"),
1067
        PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"),
1068
        PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"),
1068
        PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"),
1069
        PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"),
1069
        persona            => C4::Context->preference("Persona"),
1070
        persona            => C4::Context->preference("Persona"),
(-)a/installer/data/mysql/sysprefs.sql (-1 / +2 lines)
Lines 427-431 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
427
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
427
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
428
('yuipath','local','local|http://yui.yahooapis.com/2.5.1/build','Insert the path to YUI libraries, choose local if you use koha offline','Choice'),
428
('yuipath','local','local|http://yui.yahooapis.com/2.5.1/build','Insert the path to YUI libraries, choose local if you use koha offline','Choice'),
429
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
429
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
430
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo')
430
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
431
('OpacBelowLoginBox','', '30|10','HTML to show under the login box','Textarea')
431
;
432
;
(-)a/installer/data/mysql/updatedatabase.pl (+8 lines)
Lines 8074-8079 if ( CheckVersion($DBversion) ) { Link Here
8074
    SetVersion($DBversion);
8074
    SetVersion($DBversion);
8075
}
8075
}
8076
8076
8077
$DBversion = "XXX";
8078
if ( CheckVersion($DBversion) ) {
8079
    $dbh->do("INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('OpacBelowLoginBox','', '30|10','HTML to show under the login box','Textarea');");
8080
    print "Upgrade to $DBversion done (Add OpacBelowLoginBox preference)\n";
8081
    SetVersion($DBversion);
8082
}
8083
8084
8077
=head1 FUNCTIONS
8085
=head1 FUNCTIONS
8078
8086
8079
=head2 TableExists($table)
8087
=head2 TableExists($table)
(-)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 (-3 / +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
94
- 

Return to bug 6864