From bb8014e2cbdd9915d0e07e3ecf3e5b72a168ad6c Mon Sep 17 00:00:00 2001 From: benchea dan Date: Fri, 11 Mar 2022 11:00:59 +0200 Subject: [PATCH] disable viewlog from main.tp --- templates/main.tpl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/main.tpl b/templates/main.tpl index 314710ff..a50f5ef4 100644 --- a/templates/main.tpl +++ b/templates/main.tpl @@ -24,10 +24,14 @@ {$PALANG.pMenu_password} {$PALANG.pMain_password} - - {$PALANG.pMenu_viewlog} - {$PALANG.pMain_viewlog} - + {* viewlog *} + {if $CONF.logging==='YES'} + + {$PALANG.pMenu_viewlog} + {$PALANG.pMain_viewlog} + + {/if} + {$PALANG.pMenu_logout} {$PALANG.pMain_logout}