Use a link rather than a button for "post comments"

master
Simon McVittie 2008-11-15 14:08:31 +00:00
parent 7bd9f368b6
commit 7be3a15244
1 changed files with 4 additions and 8 deletions

View File

@ -1,11 +1,7 @@
<form action="<TMPL_VAR CGIURL>" method="get"> <div>
<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> />
<TMPL_IF NAME=DISABLED> <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> </TMPL_IF>
</div> </div>
</form>