13 Sep
2007
13 Sep
'07
1:49 p.m.
Quoting "Augustin (Beginner)" <drupal.beginner@wechange.org>:
<?php if ($node->title_prepend): print '<span class="node-label">'. $node->title_prepend .' </span>'; endif; ?>
Don't you need to protect against the non-existence of $node->title_prepend or is it guaranteed to be present at this point? <code> <?php if (isset($node->title_prepend)): print '<span class="node-label">'. $node->title_prepend .' </span>'; endif; ?> </code> And you want to prettify this code. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/