[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 <?php 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 require_once ('modules/Rss/Rss.php'); 12 require_once ('include/logging.php'); 13 14 if (isset($_REQUEST["rssurl"])) $newRssUrl = $_REQUEST["rssurl"]; 15 16 17 if(isset($_REQUEST['return_module']) && $_REQUEST['return_module'] != "") $return_module = $_REQUEST['return_module']; 18 else $return_module = "Rss"; 19 if(isset($_REQUEST['return_action']) && $_REQUEST['return_action'] != "") $return_action = $_REQUEST['return_action']; 20 else $return_action = "index"; 21 22 $oRss = new vtigerRSS(); 23 if($oRss->setRSSUrl($newRssUrl)) 24 { 25 if($oRss->saveRSSUrl($newRssUrl) == false) 26 { 27 echo "Unable to save the Url"; 28 }else 29 { 30 //header("Location: index.php?module=$return_module&action=$return_action"); 31 } 32 }else 33 { 34 echo "Not a valid RSS URL"; 35 } 36 //header("Location: index.php?module=$return_module&action=$return_action"); 37 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |