<?php if ($title): ?>
	<h3 class="comment-title">
	  <?php print '#'. $id .' '. $title; ?> <?php if ($comment->new): ?><span class="new"><?php print $new; ?></span><?php endif; ?>
	</h3>
<?php elseif ($comment->new): ?><div class="new"><?php print $new; ?></div>
<?php endif; ?>

Is opening and closing of "if" blocks correct here?

Comments

Jeff Burnz’s picture

Status: Active » Closed (fixed)

Yep. One prints $new if there's a title, if no title, print $new in a div.