/** * Prints the author of a news article * * @return string */ function printNewsAuthor($fullname = false) { if (getNewsTitle()) { echo html_encode(getNewsAuthor($fullname)); } }
?> <div class="article"> <div class="description"> <div class="title"> <h3><?php printNewsURL(); ?> </h3> <?php if (function_exists('zenFBLike')) { zenFBLike(); } ?> <div class="date"> <?php echo gettext('Written by ') . getNewsAuthor() . gettext(' on ') . getNewsDate(); ?> </div> </div> </div> <div class="content"> <?php printCodeblock(1); ?> <?php printNewsContent(); ?> <?php printCodeblock(2); ?> </div>