From 60d585aed697f2d314fac9e763a9dc57e83d9bb6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 11 Jul 2008 19:50:58 -0500 Subject: [PATCH] Hide User Tags link when TagsEnabled preference is turned off. Change to Auth.pm allows TagsEnabled preference to work on login screens. Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 1 + koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 74106c33c3..99e5d3d8b3 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -784,6 +784,7 @@ sub checkauth { OpacAuthorities => C4::Context->preference("OpacAuthorities"), OpacBrowser => C4::Context->preference("OpacBrowser"), opacheader => C4::Context->preference("opacheader"), + TagsEnabled => C4::Context->preference("TagsEnabled"), OPACUserCSS => C4::Context->preference("OPACUserCSS"), intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index a0e67eae71..1eafec5ea7 100755 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -72,7 +72,7 @@ - + -- 2.39.5