Closed (fixed)
Project:
Genesis
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2009 at 10:10 UTC
Updated:
10 Mar 2009 at 02:51 UTC
<?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
Comment #1
Jeff Burnz commentedYep. One prints $new if there's a title, if no title, print $new in a div.