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

(-)a/C4/Auth.pm (-2 lines)
Lines 456-462 sub get_template_and_user { Link Here
456
            opacheader                => "" . C4::Context->preference("opacheader"),
456
            opacheader                => "" . C4::Context->preference("opacheader"),
457
            opaclanguagesdisplay      => "" . C4::Context->preference("opaclanguagesdisplay"),
457
            opaclanguagesdisplay      => "" . C4::Context->preference("opaclanguagesdisplay"),
458
            opacreadinghistory        => C4::Context->preference("opacreadinghistory"),
458
            opacreadinghistory        => C4::Context->preference("opacreadinghistory"),
459
            opacsmallimage            => "" . C4::Context->preference("opacsmallimage"),
460
            opacuserjs                => C4::Context->preference("opacuserjs"),
459
            opacuserjs                => C4::Context->preference("opacuserjs"),
461
            opacuserlogin             => "" . C4::Context->preference("opacuserlogin"),
460
            opacuserlogin             => "" . C4::Context->preference("opacuserlogin"),
462
            ShowReviewer              => C4::Context->preference("ShowReviewer"),
461
            ShowReviewer              => C4::Context->preference("ShowReviewer"),
Lines 1062-1068 sub checkauth { Link Here
1062
        opaccredits          => C4::Context->preference("opaccredits"),
1061
        opaccredits          => C4::Context->preference("opaccredits"),
1063
        OpacFavicon          => C4::Context->preference("OpacFavicon"),
1062
        OpacFavicon          => C4::Context->preference("OpacFavicon"),
1064
        opacreadinghistory   => C4::Context->preference("opacreadinghistory"),
1063
        opacreadinghistory   => C4::Context->preference("opacreadinghistory"),
1065
        opacsmallimage       => C4::Context->preference("opacsmallimage"),
1066
        opaclanguagesdisplay => C4::Context->preference("opaclanguagesdisplay"),
1064
        opaclanguagesdisplay => C4::Context->preference("opaclanguagesdisplay"),
1067
        opacuserjs           => C4::Context->preference("opacuserjs"),
1065
        opacuserjs           => C4::Context->preference("opacuserjs"),
1068
        opacbookbag          => "" . C4::Context->preference("opacbookbag"),
1066
        opacbookbag          => "" . C4::Context->preference("opacbookbag"),
(-)a/C4/Templates.pm (-1 lines)
Lines 109-115 sub output { Link Here
109
    $vars->{theme} = $self->theme;
109
    $vars->{theme} = $self->theme;
110
    $vars->{opaccolorstylesheet} =
110
    $vars->{opaccolorstylesheet} =
111
        C4::Context->preference('opaccolorstylesheet');
111
        C4::Context->preference('opaccolorstylesheet');
112
    $vars->{opacsmallimage} = C4::Context->preference('opacsmallimage');
113
    $vars->{opaclayoutstylesheet} =
112
    $vars->{opaclayoutstylesheet} =
114
        C4::Context->preference('opaclayoutstylesheet');
113
        C4::Context->preference('opaclayoutstylesheet');
115
114
(-)a/installer/data/mysql/sysprefs.sql (-1 lines)
Lines 284-290 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
284
('OpacShowLibrariesPulldownMobile','1',NULL,'Show the libraries pulldown on the mobile version of the OPAC.','YesNo'),
284
('OpacShowLibrariesPulldownMobile','1',NULL,'Show the libraries pulldown on the mobile version of the OPAC.','YesNo'),
285
('OpacShowRecentComments','0',NULL,'If ON a link to recent comments will appear in the OPAC masthead','YesNo'),
285
('OpacShowRecentComments','0',NULL,'If ON a link to recent comments will appear in the OPAC masthead','YesNo'),
286
('OPACShowUnusedAuthorities','1','','Show authorities that are not being used in the OPAC.','YesNo'),
286
('OPACShowUnusedAuthorities','1','','Show authorities that are not being used in the OPAC.','YesNo'),
287
('opacsmallimage','','','Enter a complete URL to an image to replace the default Koha logo','free'),
288
('OpacStarRatings','all','disable|all|details',NULL,'Choice'),
287
('OpacStarRatings','all','disable|all|details',NULL,'Choice'),
289
('OpacSuggestionManagedBy',1,'','Show the name of the staff member who managed a suggestion in OPAC','YesNo'),
288
('OpacSuggestionManagedBy',1,'','Show the name of the staff member who managed a suggestion in OPAC','YesNo'),
290
('OpacSuppression','0','','Turn ON the OPAC Suppression feature, requires further setup, ask your system administrator for details','YesNo'),
289
('OpacSuppression','0','','Turn ON the OPAC Suppression feature, requires further setup, ask your system administrator for details','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+7 lines)
Lines 8560-8565 if ( CheckVersion($DBversion) ) { Link Here
8560
    SetVersion($DBversion);
8560
    SetVersion($DBversion);
8561
}
8561
}
8562
8562
8563
$DBversion = "3.17.00.XXX";
8564
if ( CheckVersion($DBversion) ) {
8565
    $dbh->do("DELETE FROM systempreferences WHERE variable='opacsmallimage'");
8566
    print "Upgrade to $DBversion done ( Bug 11347 - PROG/CCSR deprecation: Remove opacsmallimage system preference )\n";
8567
    SetVersion ($DBversion);
8568
}
8569
8563
=head1 FUNCTIONS
8570
=head1 FUNCTIONS
8564
8571
8565
=head2 TableExists($table)
8572
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-6 lines)
Lines 160-170 OPAC: Link Here
160
            - images for <a href="/cgi-bin/koha/admin/authorised_values.pl">authorized values</a> (such as lost statuses and locations) in search results and item detail pages on the OPAC.
160
            - images for <a href="/cgi-bin/koha/admin/authorised_values.pl">authorized values</a> (such as lost statuses and locations) in search results and item detail pages on the OPAC.
161
        -
161
        -
162
            - Use the image at
162
            - Use the image at
163
            - pref: opacsmallimage
164
              class: url
165
            - in the OPAC header, instead of the Koha logo. If this image is a different size than the Koha logo, you will need to customize the CSS. (This should be a complete URL, starting with <code>http://</code>.)
166
        -
167
            - Use the image at
168
            - pref: OpacFavicon
163
            - pref: OpacFavicon
169
              class: url
164
              class: url
170
            - for the OPAC's favicon. (This should be a complete URL, starting with <code>http://</code>.)
165
            - for the OPAC's favicon. (This should be a complete URL, starting with <code>http://</code>.)
171
- 

Return to bug 11347