Lines 33-38
use POSIX qw/strftime/;
Link Here
|
33 |
# use utf8; |
33 |
# use utf8; |
34 |
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $debug $ldap); |
34 |
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $debug $ldap); |
35 |
|
35 |
|
|
|
36 |
my $opacbookbagName = C4::Context->preference('opacbookbagName') || "Cart"; |
36 |
BEGIN { |
37 |
BEGIN { |
37 |
$VERSION = 3.02; # set version for version checking |
38 |
$VERSION = 3.02; # set version for version checking |
38 |
$debug = $ENV{DEBUG} || 0 ; |
39 |
$debug = $ENV{DEBUG} || 0 ; |
Lines 365-370
sub get_template_and_user {
Link Here
|
365 |
opaccolorstylesheet => "" . C4::Context->preference("opaccolorstylesheet"), |
366 |
opaccolorstylesheet => "" . C4::Context->preference("opaccolorstylesheet"), |
366 |
opacstylesheet => "" . C4::Context->preference("opacstylesheet"), |
367 |
opacstylesheet => "" . C4::Context->preference("opacstylesheet"), |
367 |
opacbookbag => "" . C4::Context->preference("opacbookbag"), |
368 |
opacbookbag => "" . C4::Context->preference("opacbookbag"), |
|
|
369 |
opacbookbagName => $opacbookbagName, |
368 |
opaccredits => "" . C4::Context->preference("opaccredits"), |
370 |
opaccredits => "" . C4::Context->preference("opaccredits"), |
369 |
opacheader => "" . C4::Context->preference("opacheader"), |
371 |
opacheader => "" . C4::Context->preference("opacheader"), |
370 |
opaclanguagesdisplay => "" . C4::Context->preference("opaclanguagesdisplay"), |
372 |
opaclanguagesdisplay => "" . C4::Context->preference("opaclanguagesdisplay"), |
Lines 833-838
sub checkauth {
Link Here
|
833 |
opaclanguagesdisplay => C4::Context->preference("opaclanguagesdisplay"), |
835 |
opaclanguagesdisplay => C4::Context->preference("opaclanguagesdisplay"), |
834 |
opacuserjs => C4::Context->preference("opacuserjs"), |
836 |
opacuserjs => C4::Context->preference("opacuserjs"), |
835 |
opacbookbag => "" . C4::Context->preference("opacbookbag"), |
837 |
opacbookbag => "" . C4::Context->preference("opacbookbag"), |
|
|
838 |
opacbookbagName => $opacbookbagName, |
836 |
OpacCloud => C4::Context->preference("OpacCloud"), |
839 |
OpacCloud => C4::Context->preference("OpacCloud"), |
837 |
OpacTopissue => C4::Context->preference("OpacTopissue"), |
840 |
OpacTopissue => C4::Context->preference("OpacTopissue"), |
838 |
OpacAuthorities => C4::Context->preference("OpacAuthorities"), |
841 |
OpacAuthorities => C4::Context->preference("OpacAuthorities"), |