diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-11-15 14:08:31 +0000 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-12-11 21:14:01 +0000 |
commit | 7be3a15244d367713903ba2394d95e423fd8e89f (patch) | |
tree | 61831e7b1b2daa3be4eeb9b0d878eef9112860d7 /templates | |
parent | 7bd9f368b6ec23eb364c0ebec08516cfb75b2f18 (diff) |
Use a link rather than a button for "post comments"
Diffstat (limited to 'templates')
-rw-r--r-- | templates/smcvpostcomment_embed.tmpl | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/templates/smcvpostcomment_embed.tmpl b/templates/smcvpostcomment_embed.tmpl index 2db055d51..c1826638b 100644 --- a/templates/smcvpostcomment_embed.tmpl +++ b/templates/smcvpostcomment_embed.tmpl @@ -1,11 +1,7 @@ -<form action="<TMPL_VAR CGIURL>" method="get"> -<div class="smcvpostcommentembed"> -<input type="hidden" name="do" value="smcvpostcomment" /> -<input type="hidden" name="page" value="<TMPL_VAR PAGE>" /> -<input type="submit" name="submit" value="Post a comment" - <TMPL_IF NAME=DISABLED>disabled="disabled"</TMPL_IF> /> +<div> <TMPL_IF NAME=DISABLED> -<label for="submit">(<TMPL_VAR NAME=DISABLED>)</label> +Posting comments disabled: <TMPL_VAR NAME=DISABLED> +<TMPL_ELSE> +<a href="<TMPL_VAR CGIURL ESCAPE=HTML>?do=smcvpostcomment&page=<TMPL_VAR PAGE ESCAPE=URL>">Post a comment</a> </TMPL_IF> </div> -</form> |