}
if (isset($_GET['skipscheduling'])) {
    XSRFdefender('update');
    $obj = new ZenpageNews(sanitize($_GET['titlelink']));
    skipScheduledPublishing($obj);
}
if (isset($_GET['commentson'])) {
    XSRFdefender('update');
    $obj = new ZenpageNews(sanitize($_GET['titlelink']));
    $obj->setCommentsAllowed(sanitize_numeric($_GET['commentson']));
    $obj->save();
}
if (isset($_GET['hitcounter'])) {
    XSRFdefender('hitcounter');
    $obj = new ZenpageNews(sanitize($_GET['titlelink']));
    $obj->set('hitcounter', 0);
    $obj->save();
    $reports[] = '<p class="messagebox fade-message">' . gettext("Hitcounter reset") . '</p>';
}
printAdminHeader('news', 'articles');
zenpageJSCSS();
datepickerJS();
?>

<script type="text/javascript">
	//<!-- <![CDATA[
	var deleteArticle = "<?php 
echo gettext("Are you sure you want to delete this article? THIS CANNOT BE UNDONE!");
?>
";
	function confirmAction() {