From b9394d967c34cb2653df21b70a240636489144bc Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Fri, 23 Jul 2021 15:12:00 +0200 Subject: [PATCH] fixes #1440 if allow notation isn't checked the notation tab is hidden --- admin.php | 1 + admin/themes/default/template/admin.tpl | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/admin.php b/admin.php index 8cce5cccc2..43533e04df 100644 --- a/admin.php +++ b/admin.php @@ -200,6 +200,7 @@ 'U_UPDATES' => $link_start.'updates', 'ADMIN_PAGE_TITLE' => 'Piwigo Administration Page', 'U_SHOW_TEMPLATE_TAB' => $conf['show_template_in_side_menu'], + 'SHOW_RATING' => $conf['rate'], ) ); diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index 34e9ff1ab4..0a9b19aab9 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -53,7 +53,9 @@ jQuery(document).ready(function() {