![]() |
CMS
Version 3.9
|
Go to the source code of this file.
Functions | |
onPublishArticle ($form) | |
Variables | |
if(!Settings::checkPermission("settings", "editor_roles")) | $article = new Article() |
$article_id = checkNumeric($_GET["article_id"]) | |
$blog_id = checkNumeric($_GET["blog_id"]) | |
if($article_id) | else |
$article | publish_date = today() |
if($blog_id) | $form = ArticleManager::buildArticleForm($article) |
$form | action = "/action/article/edit?article_id={$article_id}" |
$script = $form->writeScript() | |
onPublishArticle | ( | $form | ) |
Definition at line 114 of file edit.inc.
if (!Settings::checkPermission("settings", "editor_roles")) $article = new Article() |
if ( $blog_id) $form = ArticleManager::buildArticleForm($article) |
$form action = "/action/article/edit?article_id={$article_id}" |
if ( $method=="POST") if ( $form->data->article_id) else |