Lines 416-423
sub get_template_and_user {
Link Here
|
416 |
OPACUserCSS => "". C4::Context->preference("OPACUserCSS"), |
416 |
OPACUserCSS => "". C4::Context->preference("OPACUserCSS"), |
417 |
OPACViewOthersSuggestions => "" . C4::Context->preference("OPACViewOthersSuggestions"), |
417 |
OPACViewOthersSuggestions => "" . C4::Context->preference("OPACViewOthersSuggestions"), |
418 |
OpacAuthorities => C4::Context->preference("OpacAuthorities"), |
418 |
OpacAuthorities => C4::Context->preference("OpacAuthorities"), |
419 |
OPACBaseURL => ($in->{'query'}->https() ? "https://" : "http://") . $ENV{'SERVER_NAME'} . |
419 |
OPACBaseURL => ($in->{'query'}->https() ? "https://" : "http://") . (C4::Context->preference("OPACBaseURL") ne '' ? C4::Context->preference("OPACBaseURL") : ($ENV{'SERVER_NAME'}) . ($ENV{'SERVER_PORT'} eq ($in->{'query'}->https() ? "443" : "80") ? '' : ":$ENV{'SERVER_PORT'}")), |
420 |
($ENV{'SERVER_PORT'} eq ($in->{'query'}->https() ? "443" : "80") ? '' : ":$ENV{'SERVER_PORT'}"), |
|
|
421 |
opac_css_override => $ENV{'OPAC_CSS_OVERRIDE'}, |
420 |
opac_css_override => $ENV{'OPAC_CSS_OVERRIDE'}, |
422 |
opac_search_limit => $opac_search_limit, |
421 |
opac_search_limit => $opac_search_limit, |
423 |
opac_limit_override => $opac_limit_override, |
422 |
opac_limit_override => $opac_limit_override, |
424 |
- |
|
|