From 662065654d6f989c949fe65f375dc0b6a19c5ac2 Mon Sep 17 00:00:00 2001 From: Frank Hochmuth Date: Sun, 7 Apr 2024 03:52:53 +0200 Subject: [PATCH] Closes #367 The note "The fields Name and Comment are mandatory fields." should not be displayed if the admin is logged in. --- fp-interface/sharedtpls/comment-form.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fp-interface/sharedtpls/comment-form.tpl b/fp-interface/sharedtpls/comment-form.tpl index e2e7312..4f04f4e 100644 --- a/fp-interface/sharedtpls/comment-form.tpl +++ b/fp-interface/sharedtpls/comment-form.tpl @@ -1,7 +1,8 @@ {if !$entry_commslock}

{$lang.comments.head}

+{if not $flatpress.loggedin}

{$lang.comments.descr}

- +{/if}