syspref are writed for the template in auth.pm
This commit is contained in:
parent
7494188760
commit
335103bbd3
|
|
@ -227,6 +227,10 @@ sub get_template_and_user {
|
|||
hide_marc => C4::Context->preference("hide_marc"),
|
||||
patronimages => C4::Context->preference("patronimages"),
|
||||
"BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1,
|
||||
advancedMARCEditor => C4::Context->preference("advancedMARCEditor"),
|
||||
suggestion => C4::Context->preference("suggestion"),
|
||||
virtualshelves => C4::Context->preference("virtualshelves"),
|
||||
LibraryName => C4::Context->preference("LibraryName"),
|
||||
);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -504,16 +504,6 @@ $template->param(
|
|||
searchdesc => ($query_type?"$query_type=":"")."$search_desc",
|
||||
opacfacets => 1,
|
||||
facets_loop => $facets,
|
||||
suggestion => C4::Context->preference("suggestion"),
|
||||
virtualshelves => C4::Context->preference("virtualshelves"),
|
||||
LibraryName => C4::Context->preference("LibraryName"),
|
||||
OpacNav => C4::Context->preference("OpacNav"),
|
||||
opaccredits => C4::Context->preference("opaccredits"),
|
||||
AmazonContent => C4::Context->preference("AmazonContent"),
|
||||
opacsmallimage => C4::Context->preference("opacsmallimage"),
|
||||
opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"),
|
||||
opaccolorstylesheet => C4::Context->preference("opaccolorstylesheet"),
|
||||
"BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1,
|
||||
scan_use => $scan,
|
||||
search_error => $error,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue