} ?> </div> <?php } else { if (is_AdminEditPage('newsarticle')) { ?> <h1><?php echo gettext('Edit Article:'); ?> <em><?php checkForEmptyTitle($result->getTitle(), 'news', false); ?> </em></h1> <?php if ($result->getDatetime() >= date('Y-m-d H:i:s')) { echo '<small><strong id="scheduldedpublishing">' . gettext('(Article scheduled for publishing)') . '</strong></small>'; if ($result->getShow() != 1) { echo '<p class="scheduledate"><small>' . gettext('<strong>Note:</strong> Scheduled publishing is not active unless the article is also set to <em>published</em>') . '</small></p>'; } } if ($result->inProtectedCategory()) { echo '<p class="notebox">' . gettext('<strong>Note:</strong> This article belongs to a password protected category.') . '</p>'; } } if (is_AdminEditPage('newscategory')) { ?> <h1><?php echo gettext('Edit Category:'); ?> <em><?php