File: //opt/cloudlinux/alt-php54/root/usr/share/pear/RVSeagullMod/modules/default/templates/comments.html
<a name="comments"></a>
<h2>comments</h2>
<hr />
{if:aComments}
{foreach:aComments,key,oComment}
{if:!oComment.isApproved}
{if:oComment.isSpam}
<div id="comments" style="background-color: #FFCCCC;">
{else:}
<div id="comments" style="background-color: #EEF7D4;">
{end:}
{else:}
<div id="comments">
{end:}
<!--COMMENT-->
<p>{oComment.body:h}</p>
<p>
<!--ANCHOR-->
<a name="comment{increment(key)}"></a>
<!--COMMENT PERMALINK-->
<a href="{getCurrentUrl()}#comment{increment(key)}">#{increment(key)}</a>
<!--AUTHOR-->
{if:oComment.url}
<a href="{oComment.url}">{oComment.full_name}</a>
{else:}
<strong>{oComment.full_name}</strong>
{end:}
<!--DATE-->
on {formatDatePretty(oComment.date_created)}
<!--EDIT DELETE-->
{if:isAdmin()}
(<a href="{makeUrl(#edit#,#admincomment#,#comment#,##,#commentId|#)}{oComment.comment_id}">edit</a> -
<a href="{makeUrl(#delete#,#admincomment#,#comment#,##,#commentId|#)}{oComment.comment_id}"
onclick="return confirmAction('{translate(#Are you sure you want to delete this#)}');">delete</a>)
{if:!oComment.isApproved}
{if:oComment.isSpam}
(<a href="{makeUrl(#reportHam#,#akismet#,#comment#,##,#commentId|#)}{oComment.comment_id}"
onclick="return confirmAction('{translate(#Are you sure you want to report that this comment IS NOT spam?#)}');">report ham</a>)
{else:}
(<a href="{makeUrl(#changeStatus#,#adminComment#,#comment#,##,#statusId|1||commentId|#)}{oComment.comment_id}"
onclick="return confirmAction('{translate(#Are you sure you want to approve the comment?#)}');">approve</a>)
{end:}
{else:}
{if:useAkismet}
(<a href="{makeUrl(#reportSpam#,#akismet#,#comment#,##,#commentId|#)}{oComment.comment_id}"
onclick="return confirmAction('{translate(#Are you sure you want to report that this comment IS spam?#)}');">report spam</a>)
{end:}
{end:}
{end:}
</p>
<hr />
</div>
{end:}
{else:}
<i>be the first to leave a comment</i>
{end:}
<div id="addComment">
<form action="{makeUrl(#insert#,#comment#,#comment#)}" method="post" flexy:ignore>
<fieldset class="hide">
<input type="hidden" name="comment[entity_name]" value="{getCurrentManager()}" />
<input type="hidden" name="frmCallerMod" value="{getCurrentModule()}" />
<input type="hidden" name="frmCallerMgr" value="{getCurrentManager()}" />
<input type="hidden" name="frmCallerId" value="{getCurrentId()}" />
<input type="hidden" name="frmCallerTmpl" value="{getCurrentTemplate()}" />
<input type="hidden" name="frmRefererUrl" value="{frmRefererUrl}" />
</fieldset>
<fieldset>
<legend>Enter your comment</legend>
<span class="error" flexy:if="moderationEnabled">{translate(#comments must be approved#)}</span>
<dl class="onSide">
<dt><label for="comment[full_name]">Name:</label></dt>
<dd class="error" flexy:if="error[full_name]">{translate(error[full_name])}</dd>
<dd>
<input type="text" name="comment[full_name]" id="comment[full_name]" value="{comment.full_name}" />
</dd>
<dt><label for="comment[email]"><span class="required">*</span>Email:</label></dt>
<dd>
<div class="error" flexy:if="error[email]">{translate(error[email])}</div>
<input type="text" name="comment[email]" id="comment[email]" value="{comment.email}" />
</dd>
<dt><label for="comment[url]">Homepage:</label></dt>
<dd>
<input type="text" name="comment[url]" id="comment[url]" value="{comment.url}" />
</dd>
<dt><label for="comment[body]"><span class="required">*</span>Comment:</label></dt>
<dd>
<div class="error" flexy:if="error[body]">{translate(error[body])}</div>
<textarea name="comment[body]" id="comment[body]" rows="10" cols="50"/>{comment.body}</textarea>
</dd>
<!--<dt><label for="comment[notify]"> </label></dt>
<dd>
<input type="checkbox" name="comment[notify]" id="comment[notify]" value="{comment.notify}" />
E-mail notification
</dd>-->
{if:useCaptcha}
<dt><label for="captcha"><span class="required">* </span>{translate(#Enter Captcha#)}</label></dt>
<dd>
<span class="error" flexy:if="error[captcha]">{translate(error[captcha])}</span>
<pre>{captcha}</pre>
<input type="text" id="captcha" name="frmCaptcha" size="30" />
</dd>
{end:}
<dt> </dt>
<dd>
<!--<input type="submit" name="submitted" value="preview" />-->
<input class="wideButton" type="submit" name="submitted" value="post" />
</dd>
</dl>
</fieldset>
</form>
</div>