setRSSUrl($newRssUrl))
{
if($oRss->saveRSSUrl($newRssUrl,$setstarred,$rsscategory) == false)
{
echo "Unable to save the RSS Feed URL
" ;
}else
{
$jscript = "window.opener.location.href=window.opener.location.href;
window.self.close();";
}
}else
{
echo "Not a valid RSS Feed URL
" ;
}
}
function getRsscategory_html()
{
$oRss = new vtigerRSS();
$rsscategory = $oRss->getRsscategory();
//print_r($rsscategory);
if(isset($rsscategory))
{
for($i=0;$i$rsscategory[$i]";
}
}
return $shtml;
}
$save_rss_form=new XTemplate ("modules/Rss/Popup.html");
$save_rss_form->assign("MOD", $mod_strings);
$save_rss_form->assign("APP", $app_strings);
$save_rss_form->assign("IMAGE_PATH",$image_path);
$save_rss_form->assign("THEME_PATH",$theme_path);
$save_rss_form->assign("JAVASCRIPT",$jscript);
$save_rss_form->assign("RSS_CATEGORY",getRsscategory_html());
$save_rss_form->parse("main");
$save_rss_form->out("main");
?>