Use a link rather than a button for "post comments"
parent
7bd9f368b6
commit
7be3a15244
|
@ -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&page=<TMPL_VAR PAGE ESCAPE=URL>">Post a comment</a>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
|
||||||
|
|
Loading…
Reference in New Issue