From 8e545cff7523b1930702b9de0eaff0b246a0ef1e Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 17 Jul 2023 10:22:39 -0300 Subject: [PATCH] Bug 34288: (follow-up) Tidy block Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- C4/Auth.pm | 56 +++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 44e126b4cb..6c308642f9 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -473,34 +473,34 @@ sub get_template_and_user { if ( $in->{'type'} eq "intranet" ) { $template->param( - can_see_cataloguing_module => haspermission( $user, get_cataloguing_page_permissions() ) ? 1 : 0, - AmazonCoverImages => C4::Context->preference("AmazonCoverImages"), - AutoLocation => C4::Context->preference("AutoLocation"), - PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), - FRBRizeEditions => C4::Context->preference("FRBRizeEditions"), - IndependentBranches => C4::Context->preference("IndependentBranches"), - IntranetNav => C4::Context->preference("IntranetNav"), - IntranetmainUserblock => C4::Context->preference("IntranetmainUserblock"), - LibraryName => C4::Context->preference("LibraryName"), - advancedMARCEditor => C4::Context->preference("advancedMARCEditor"), - canreservefromotherbranches => C4::Context->preference('canreservefromotherbranches'), - intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), - IntranetFavicon => C4::Context->preference("IntranetFavicon"), - intranetreadinghistory => C4::Context->preference("intranetreadinghistory"), - intranetstylesheet => C4::Context->preference("intranetstylesheet"), - IntranetUserCSS => C4::Context->preference("IntranetUserCSS"), - IntranetUserJS => C4::Context->preference("IntranetUserJS"), - virtualshelves => C4::Context->preference("virtualshelves"), - StaffSerialIssueDisplayCount => C4::Context->preference("StaffSerialIssueDisplayCount"), - EasyAnalyticalRecords => C4::Context->preference('EasyAnalyticalRecords'), - LocalCoverImages => C4::Context->preference('LocalCoverImages'), - OPACLocalCoverImages => C4::Context->preference('OPACLocalCoverImages'), - AllowMultipleCovers => C4::Context->preference('AllowMultipleCovers'), - EnableBorrowerFiles => C4::Context->preference('EnableBorrowerFiles'), - UseCourseReserves => C4::Context->preference("UseCourseReserves"), - useDischarge => C4::Context->preference('useDischarge'), - pending_checkout_notes => Koha::Checkouts->search({ noteseen => 0 }), - plugins_enabled => C4::Context->config("enable_plugins"), + advancedMARCEditor => C4::Context->preference("advancedMARCEditor"), + AllowMultipleCovers => C4::Context->preference('AllowMultipleCovers'), + AmazonCoverImages => C4::Context->preference("AmazonCoverImages"), + AutoLocation => C4::Context->preference("AutoLocation"), + can_see_cataloguing_module => haspermission( $user, get_cataloguing_page_permissions() ) ? 1 : 0, + canreservefromotherbranches => C4::Context->preference('canreservefromotherbranches'), + EasyAnalyticalRecords => C4::Context->preference('EasyAnalyticalRecords'), + EnableBorrowerFiles => C4::Context->preference('EnableBorrowerFiles'), + FRBRizeEditions => C4::Context->preference("FRBRizeEditions"), + IndependentBranches => C4::Context->preference("IndependentBranches"), + intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), + IntranetFavicon => C4::Context->preference("IntranetFavicon"), + IntranetmainUserblock => C4::Context->preference("IntranetmainUserblock"), + IntranetNav => C4::Context->preference("IntranetNav"), + intranetreadinghistory => C4::Context->preference("intranetreadinghistory"), + intranetstylesheet => C4::Context->preference("intranetstylesheet"), + IntranetUserCSS => C4::Context->preference("IntranetUserCSS"), + IntranetUserJS => C4::Context->preference("IntranetUserJS"), + LibraryName => C4::Context->preference("LibraryName"), + LocalCoverImages => C4::Context->preference('LocalCoverImages'), + OPACLocalCoverImages => C4::Context->preference('OPACLocalCoverImages'), + PatronAutoComplete => C4::Context->preference("PatronAutoComplete"), + pending_checkout_notes => Koha::Checkouts->search( { noteseen => 0 } ), + plugins_enabled => C4::Context->config("enable_plugins"), + StaffSerialIssueDisplayCount => C4::Context->preference("StaffSerialIssueDisplayCount"), + UseCourseReserves => C4::Context->preference("UseCourseReserves"), + useDischarge => C4::Context->preference('useDischarge'), + virtualshelves => C4::Context->preference("virtualshelves"), ); } else { -- 2.39.5