aboutsummaryrefslogtreecommitdiff
path: root/templates/editcomment.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-05 21:08:41 -0400
committerJoey Hess <joey@kitenet.net>2010-05-05 21:10:40 -0400
commitf52f395437a946478da2a126015c05e3e0afdc1f (patch)
treef98f451642691cc9d6aef6a0a7e524347eb7c72e /templates/editcomment.tmpl
parent11937595687df86aa93502d2e895f747a6262c4c (diff)
downloadikiwiki-f52f395437a946478da2a126015c05e3e0afdc1f.tar
ikiwiki-f52f395437a946478da2a126015c05e3e0afdc1f.tar.gz
consistently drop NAME= in templates
also add template syntax smoke test
Diffstat (limited to 'templates/editcomment.tmpl')
-rw-r--r--templates/editcomment.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/editcomment.tmpl b/templates/editcomment.tmpl
index 32e8c392d..51ab10f2c 100644
--- a/templates/editcomment.tmpl
+++ b/templates/editcomment.tmpl
@@ -4,11 +4,11 @@
<TMPL_VAR FIELD-DO>
<TMPL_VAR FIELD-SID>
<TMPL_VAR FIELD-PAGE>
-<TMPL_UNLESS NAME=USERNAME>
-<TMPL_IF NAME=ALLOWAUTHOR>
-Name: <TMPL_VAR NAME=FIELD-AUTHOR> (optional, or
+<TMPL_UNLESS USERNAME>
+<TMPL_IF ALLOWAUTHOR>
+Name: <TMPL_VAR FIELD-AUTHOR> (optional, or
<a href="<TMPL_VAR SIGNINURL>">signin</a>)<br />
-Website: <TMPL_VAR NAME=FIELD-URL> (optional)<br />
+Website: <TMPL_VAR FIELD-URL> (optional)<br />
<TMPL_ELSE>
(You might want to <a href="<TMPL_VAR SIGNINURL>">Signin</a> first?)<br />
</TMPL_IF>
@@ -16,10 +16,10 @@ Website: <TMPL_VAR NAME=FIELD-URL> (optional)<br />
Subject: <TMPL_VAR FIELD-SUBJECT><br />
<TMPL_VAR FIELD-EDITCONTENT><br />
<TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK><br />
-<TMPL_VAR NAME="FORM-END">
+<TMPL_VAR FORM-END>
<TMPL_VAR WMD_PREVIEW>
-<TMPL_IF NAME="PAGE_PREVIEW">
+<TMPL_IF PAGE_PREVIEW>
<hr />
<div class="header">
<span>Comment preview:</span>