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

(-)a/C4/Auth.pm (+1 lines)
Lines 434-439 sub get_template_and_user { Link Here
434
            opac_limit_override       => $opac_limit_override,
434
            opac_limit_override       => $opac_limit_override,
435
            OpacBrowser               => C4::Context->preference("OpacBrowser"),
435
            OpacBrowser               => C4::Context->preference("OpacBrowser"),
436
            OpacCloud                 => C4::Context->preference("OpacCloud"),
436
            OpacCloud                 => C4::Context->preference("OpacCloud"),
437
            OpacKohaUrl               => C4::Context->preference("OpacKohaUrl"),
437
            OpacMainUserBlock         => "" . C4::Context->preference("OpacMainUserBlock"),
438
            OpacMainUserBlock         => "" . C4::Context->preference("OpacMainUserBlock"),
438
            OpacNav                   => "" . C4::Context->preference("OpacNav"),
439
            OpacNav                   => "" . C4::Context->preference("OpacNav"),
439
            OpacPasswordChange        => C4::Context->preference("OpacPasswordChange"),
440
            OpacPasswordChange        => C4::Context->preference("OpacPasswordChange"),
(-)a/installer/data/mysql/en/mandatory/sysprefs.sql (+1 lines)
Lines 314-316 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
314
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea');
314
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacHiddenItems','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','','Textarea');
315
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
315
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('numSearchRSSResults',50,'Specify the maximum number of results to display on a RSS page of results',NULL,'Integer');
316
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OpacRenewalBranch','checkoutbranch','Choose how the branch for an OPAC renewal is recorded in statistics','itemhomebranch|patronhomebranch|checkoutbranch|null','Choice');
316
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OpacRenewalBranch','checkoutbranch','Choose how the branch for an OPAC renewal is recorded in statistics','itemhomebranch|patronhomebranch|checkoutbranch|null','Choice');
317
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OpacKohaUrl','1',NULL,NULL,NULL);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (+7 lines)
Lines 86-91 OPAC: Link Here
86
                  no: "Don't show"
86
                  no: "Don't show"
87
            - the name of the patron that has an item checked out on item detail pages on the OPAC.
87
            - the name of the patron that has an item checked out on item detail pages on the OPAC.
88
        -
88
        -
89
            - pref: OpacKohaUrl
90
              default: 0
91
              choices:
92
                  yes: Show
93
                  no: "Don't show"
94
            - "'Powered by Koha' text on OPAC footer."
95
        -
89
            - pref: OpacHighlightedWords
96
            - pref: OpacHighlightedWords
90
              choices:
97
              choices:
91
                  yes: Highlight
98
                  yes: Highlight
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc (-5 / +17 lines)
Lines 1-10 Link Here
1
2
[% IF ( opaccredits ) %]
1
[% IF ( opaccredits ) %]
3
	<div class="ft">
2
	<div class="ft">
4
        [% opaccredits %]
3
        [% opaccredits %]
5
    </div>
4
    </div>
6
[% END %]
5
[% END %]
7
</div>
6
</div>
7
8
[% IF ( opaclanguagesdisplay ) %]
8
[% IF ( opaclanguagesdisplay ) %]
9
[% IF ( languages_loop ) %]
9
[% IF ( languages_loop ) %]
10
    [% UNLESS ( one_language_enabled ) %]
10
    [% UNLESS ( one_language_enabled ) %]
Lines 22-35 Link Here
22
                [% ELSE %]
22
                [% ELSE %]
23
                <li><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li>
23
                <li><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li>
24
                [% END %]
24
                [% END %]
25
		[% END %]
25
               [% END %]
26
            [% END %]
26
            [% END %]
27
            </ul>
27
            </ul>
28
			</div>
28
			</div>
29
			</div>
29
			</div>
30
31
            [% ELSE %]
30
            [% ELSE %]
32
	    	[% IF ( languages_loo.group_enabled ) %]
31
		      [% IF ( languages_loo.group_enabled ) %]
33
                [% IF ( languages_loo.current ) %]
32
                [% IF ( languages_loo.current ) %]
34
                    [% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]
33
                    [% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]
35
                [% ELSE %]
34
                [% ELSE %]
Lines 39-49 Link Here
39
            [% END %]
38
            [% END %]
40
            [% END %][% UNLESS ( loop.last ) %] | [% END %]
39
            [% END %][% UNLESS ( loop.last ) %] | [% END %]
41
        [% END %]
40
        [% END %]
41
[% IF ( OpacKohaUrl ) %]
42
<span id="kohaurl" style="position: absolute; right: 0;">
43
<a STYLE="text-decoration:none; color: #666666;" href="http://www.koha-community.org">Powered by <strong>Koha</strong></a>&nbsp;&nbsp;</span>
44
        [% END %]
42
        </div>
45
        </div>
46
[% END %]
47
    [% END %]
43
    [% END %]
48
    [% END %]
49
50
[% IF ( OpacKohaUrl ) %]
51
[% UNLESS  ( opaclanguagesdisplay ) %]
52
        <div id="changelanguage" class="ft" style="border-top: none !important">
53
<span id="kohaurl" style="position: absolute; right: 0;">
54
<a STYLE="text-decoration:none; color: #666666;" href="http://www.koha-community.org">Powered by <strong>Koha</strong></a>&nbsp;&nbsp;</span>
55
        </div>
44
[% END %]
56
[% END %]
45
[% END %]
57
[% END %]
46
58
59
47
[% IF ( Babeltheque ) %]
60
[% IF ( Babeltheque ) %]
48
<script type="text/javascript" src="http://www.babeltheque.com/bw_30.js"></script>
61
<script type="text/javascript" src="http://www.babeltheque.com/bw_30.js"></script>
49
[% END %]
62
[% END %]
50
- 

Return to bug 6636