// default for new rss feed: $info["name"] = ''; $info["description"] = ''; $info["url"] = ''; $info["refresh"] = 1800; $info["showTitle"] = 'n'; $info["showPubDate"] = 'n'; } $smarty->assign('name', $info["name"]); $smarty->assign('description', $info["description"]); $smarty->assign('url', $info["url"]); $smarty->assign('refresh', $info["refresh"]); $smarty->assign('showTitle', $info["showTitle"]); $smarty->assign('showPubDate', $info["showPubDate"]); if (isset($_REQUEST["refresh"])) { $rsslib->refresh_rss_module($_REQUEST["refresh"]); } if (isset($_REQUEST['clear'])) { $rsslib->clear_rss_cache($_REQUEST['clear']); } if (isset($_REQUEST["remove"])) { $access->check_authenticity(); $rsslib->remove_rss_module($_REQUEST["remove"]); } if (isset($_REQUEST['article']) && $prefs['feature_articles'] == 'y') { if ($_SERVER['REQUEST_METHOD'] == 'POST') { $rsslib->set_article_generator($_REQUEST['article'], array('active' => isset($_POST['enable']), 'expiry' => $jitPost->expiry->int(), 'atype' => $jitPost->type->text(), 'topic' => $jitPost->topic->int(), 'future_publish' => $jitPost->future_publish->int(), 'categories' => (array) $jitPost->cat_categories->int(), 'rating' => $jitPost->rating->int(), 'submission' => isset($_POST['submission']))); $cookietab = 1; } else { $cookietab = 3; }