// Set by line $newsDisplay->articleByLine(sprintf(TEXT_ARTICLE_BY_LINE, $articleAuthor)); // Did we find some comments to display? if ($commentsNotFound == true) { // Oh no, no comments were found $newsDisplay->commentsNotFound(TEXT_NO_NEWS_COMMENTS); } else { $newsDisplay->clearSplit(); foreach ($commentsBlock as $comments) { $newsDisplay->splitSolid(); $newsDisplay->articleComments($comments['customersName'], $comments['commentsText'], $comments['dateAdded'], $comments['commentsSubject']); } } // Comments input if ($mustLogin == true) { $newsDisplay->articleCommentsLogin(COMMENTS_FIELDSET_LEGEND, sprintf(TEXT_COMMENTS_MUST_LOGIN, zen_href_link(FILENAME_LOGIN, '', 'SSL'))); } else { $newsDisplay->articleCommentsInput($formActionURL, COMMENTS_FIELDSET_LEGEND, COMMENTS_FIELDSET_NAME, $nameInput, COMMENTS_FIELDSET_SUBJECT, $subjectInput, COMMENTS_FIELDSET_COMMENTS, $commentsInput, $commentsSubmitButton); } // News SubFooter $newsDisplay->articleFooter(sprintf(TEXT_NEWS_FOOTER_OTHER, $newsSubFooterDate), $newsSubFooter, $newsSubFooterDateURL, sprintf(TEXT_NEWS_FOOTER_URL, $newsSubFooterDate)); // News Footer $newsDisplay->articleFooter(sprintf(TEXT_NEWS_FOOTER, $newsFooterDate), $newsFooter, $newsFooterDateURL, sprintf(TEXT_NEWS_FOOTER_URL, $newsFooterDate)); // Recent News Footer $newsDisplay->articleFooter(TEXT_RECENT_NEWS, $newsRecentFooter); // Archive link $newsDisplay->archiveLink(zen_href_link(FILENAME_NEWS_ARCHIVE), TEXT_NEWS_ARCHIVE_LINK); // Display this news page // New page content is output in valid XHTML // You can change how it displays in the stylesheet_news.css file $newsDisplay->displayNewsPage();