[Vtigercrm-commits] [vtiger-commits] r5869 - in /vtigercrm/trunk/modules/Portal: Popup.php Portal.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu May 11 08:26:53 EDT 2006
Author: richie
Date: Thu May 11 06:26:45 2006
New Revision: 5869
Log:
Save Portal has been moved to Portal.php
Added:
vtigercrm/trunk/modules/Portal/Portal.php
Modified:
vtigercrm/trunk/modules/Portal/Popup.php
Modified: vtigercrm/trunk/modules/Portal/Popup.php
==============================================================================
--- vtigercrm/trunk/modules/Portal/Popup.php (original)
+++ vtigercrm/trunk/modules/Portal/Popup.php Thu May 11 06:26:45 2006
@@ -9,7 +9,7 @@
*
********************************************************************************/
-
+require_once('modules/Portal/Portal.php');
global $app_strings;
global $app_list_strings;
global $mod_strings;
@@ -39,15 +39,5 @@
echo $portal_inputs;
-function SavePortal($portalname,$portalurl)
-{
-global $adb;
-$portalid=$adb->getUniqueID('portal');
-$portal_name=$_REQUEST['portalname'];
-$portal_url=$_REQUEST['portalurl'];
-$query="insert into portal values(".$portalid.",'".$portal_name."','".$portal_url."',0)";
-$result=$adb->query($query);
-return $portalid;
-}
?>
More information about the vtigercrm-commits
mailing list