summaryrefslogtreecommitdiff
path: root/templates/comments_form.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/comments_form.tmpl')
-rw-r--r--templates/comments_form.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/comments_form.tmpl b/templates/comments_form.tmpl
index 9eddaadf5..88301fcdc 100644
--- a/templates/comments_form.tmpl
+++ b/templates/comments_form.tmpl
@@ -4,6 +4,14 @@
<TMPL_VAR FIELD-DO>
<TMPL_VAR FIELD-SID>
<TMPL_VAR FIELD-PAGE>
+<TMPL_IF NAME=USERNAME>
+Signed in as <TMPL_VAR NAME=USERNAME ESCAPE=HTML><br />
+<TMPL_ELSE>
+<TMPL_IF NAME=ALLOWAUTHOR>
+<TMPL_VAR NAME=FIELD-AUTHOR> (optional)<br />
+<TMPL_VAR NAME=FIELD-URL> (optional)<br />
+</TMPL_IF>
+</TMPL_IF>
Subject: <TMPL_VAR FIELD-SUBJECT><br />
<TMPL_VAR FIELD-EDITCONTENT><br />
Page type: <TMPL_VAR FIELD-TYPE><br />