From 8a017372020709f639f1374a45cc4c763db0d139 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 17 Mar 2008 15:07:28 -0500 Subject: [PATCH] Fix for Bug 1939, OpacMainUserBlock not displaying with news. Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 1 + koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl | 1 + 2 files changed, 2 insertions(+) diff --git a/C4/Auth.pm b/C4/Auth.pm index 412b509c54..ac24b79ac3 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -296,6 +296,7 @@ sub get_template_and_user { opaccolorstylesheet => "". C4::Context->preference("opaccolorstylesheet"), opaclanguagesdisplay => "". C4::Context->preference("opaclanguagesdisplay"), opacuserlogin => "" . C4::Context->preference("opacuserlogin"), + OpacMainUserBlock => "" . C4::Context->preference("OpacMainUserBlock"), opacbookbag => "" . C4::Context->preference("opacbookbag"), TemplateEncoding => "". C4::Context->preference("TemplateEncoding"), AmazonContent => "" . C4::Context->preference("AmazonContent"), diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl index caae1d27a3..bf8373e12a 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl @@ -22,6 +22,7 @@ +
-- 2.39.5