From cd29649a990c71efbfc6edd0bdf45947722c5823 Mon Sep 17 00:00:00 2001 From: kados Date: Sat, 4 Mar 2006 06:55:13 +0000 Subject: [PATCH] adding in opac variables --- opac/opac-authorities-home.pl | 9 ++++++--- opac/opac-authoritiesdetail.pl | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/opac/opac-authorities-home.pl b/opac/opac-authorities-home.pl index bdb89ffcfa..f46452cee2 100755 --- a/opac/opac-authorities-home.pl +++ b/opac/opac-authorities-home.pl @@ -241,9 +241,12 @@ else { } $template->param(authtypesloop => \@authtypesloop, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), + LibraryName => C4::Context->preference("LibraryName"), + OpacNav => C4::Context->preference("OpacNav"), + opaccredits => C4::Context->preference("opaccredits"), + opacsmallimage => C4::Context->preference("opacsmallimage"), + opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"), + opaccolorstylesheet => C4::Context->preference("opaccolorstylesheet"), ); # Print the page diff --git a/opac/opac-authoritiesdetail.pl b/opac/opac-authoritiesdetail.pl index c5dd9275ca..328a7ff8d2 100755 --- a/opac/opac-authoritiesdetail.pl +++ b/opac/opac-authoritiesdetail.pl @@ -144,9 +144,12 @@ $template->param(authid => $authid, biblio_fields => $biblio_fields, authtypetext => $authtypes->{$authtypecode}{'authtypetext'}, authtypesloop => \@authtypesloop, - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetNav => C4::Context->preference("IntranetNav"), + LibraryName => C4::Context->preference("LibraryName"), + OpacNav => C4::Context->preference("OpacNav"), + opaccredits => C4::Context->preference("opaccredits"), + opacsmallimage => C4::Context->preference("opacsmallimage"), + opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"), + opaccolorstylesheet => C4::Context->preference("opaccolorstylesheet"), ); output_html_with_http_headers $query, $cookie, $template->output; -- 2.39.5