]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/comments_form.tmpl
comments: Optionally allow anonymous commenters to set their name/URL.
[git.ikiwiki.info.git] / templates / comments_form.tmpl
index 9eddaadf59c46c48ad5d54e718dbcc9390a71267..88301fcdcc67e2823f47bb51cc5420581ae3eb34 100644 (file)
@@ -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 />