summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/smcvpostcomment_embed.tmpl12
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&amp;page=<TMPL_VAR PAGE ESCAPE=URL>">Post a comment</a>
</TMPL_IF>
</div>
-</form>