Also put "posting comments disabled" in [], and change "Page preview"
to "Comment preview".
padding: 2px;
}
-.smcvpostcomment-page .author { font-weight: bold; }
-.smcvpostcomment-page { border: 1px inset #999; margin: 3px; padding: 3px; }
+.smcvpostcomment-display .author { font-weight: bold; }
+.smcvpostcomment-display { border: 1px inset #999; margin: 3px; padding: 3px; }
.smcvpostcomment-header { font-style: italic; }
.smcvpostcomment-subject { font-weight: bold; border-bottom: 1px solid #999; }
-<div class="smcvpostcomment-page">
+<div class="smcvpostcomment-display">
<div class="smcvpostcomment-header">
Posted by
<TMPL_VAR CONTENT>
</div>
-</div><!--.inlinepage-->
+</div><!--.smcvpostcomment-display-->
-<div>
+<div class="smcvpostcomment-embed">
<TMPL_IF NAME=DISABLED>
-Posting comments disabled: <TMPL_VAR NAME=DISABLED>
+[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 class="smcvpostcomment-form">
<TMPL_VAR MESSAGE>
<TMPL_VAR FORM-START>
<TMPL_VAR FIELD-DO>
<TMPL_IF NAME="PAGE_PREVIEW">
<hr />
<div class="header">
-<span>Page preview:</span>
-</div>
+<span>Comment preview:</span>
+</div><!-- .header -->
<div id="preview">
<TMPL_VAR PAGE_PREVIEW>
-</div>
+</div><!-- #preview -->
</TMPL_IF>
+
+</div><!-- .smcvpostcomment-form -->