aboutsummaryrefslogtreecommitdiff
path: root/templates/editcomment.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-04-23 14:56:10 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-04-23 14:56:10 -0400
commit527d178c12141d2467dfa86492e249d021b88997 (patch)
tree1be3a5172a304ec64928638f74ae21e26db7f3ae /templates/editcomment.tmpl
parent748aa7af777caaa32ac5ab56e707509b3739b49e (diff)
downloadikiwiki-527d178c12141d2467dfa86492e249d021b88997.tar
ikiwiki-527d178c12141d2467dfa86492e249d021b88997.tar.gz
comments: Add link to comment post form to allow user to sign in if they wish to, if the configuration makes signin optional for commenting.
Diffstat (limited to 'templates/editcomment.tmpl')
-rw-r--r--templates/editcomment.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/editcomment.tmpl b/templates/editcomment.tmpl
index 7590cdfd7..27d9457d4 100644
--- a/templates/editcomment.tmpl
+++ b/templates/editcomment.tmpl
@@ -6,8 +6,11 @@
<TMPL_VAR FIELD-PAGE>
<TMPL_UNLESS NAME=USERNAME>
<TMPL_IF NAME=ALLOWAUTHOR>
-Name: <TMPL_VAR NAME=FIELD-AUTHOR> (optional)<br />
+Name: <TMPL_VAR NAME=FIELD-AUTHOR> (optional, or
+<a href="<TMPL_VAR SIGNINURL>">Signin</a>)<br />
Website: <TMPL_VAR NAME=FIELD-URL> (optional)<br />
+<TMPL_ELSE>
+(You might want to <a href="<TMPL_VAR SIGNINURL>">Signin</a> first?)<br />
</TMPL_IF>
</TMPL_UNLESS>
Subject: <TMPL_VAR FIELD-SUBJECT><br />