</script> <?php exit; } } } $articlePublishObj = new ArticlePublish(); $articlePublishObj->create(); $articlePublishObj->setArticleNumber($tmpArticle->getArticleNumber()); $articlePublishObj->setLanguageId($tmpArticle->getLanguageId()); $articlePublishObj->setActionTime($publishTime); if ($f_publish_action == "P" || $f_publish_action == "U") { $articlePublishObj->setPublishAction($f_publish_action); } if ($f_front_page_action == "S" || $f_front_page_action == "R") { $articlePublishObj->setFrontPageAction($f_front_page_action); } if ($f_section_page_action == "S" || $f_section_page_action == "R") { $articlePublishObj->setSectionPageAction($f_section_page_action); } Log::ArticleMessage($tmpArticle, getGS('Scheduled action added'), $g_user->getUserId(), 37); } if ($f_mode == "multi") { $args = $_REQUEST; unset($args["f_article_code"]); $argsStr = camp_implode_keys_and_values($args, "=", "&"); camp_html_add_msg(getGS("Scheduled action added."), "ok"); camp_html_goto_page("/{$ADMIN}/articles/index.php?" . $argsStr); } else { ?> <script type="text/javascript">