[Vtigercrm-commits] [vtiger-commits] r7127 - /vtigercrm/trunk/Popup.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Jun 15 10:04:50 EDT 2006


Author: saraj
Date: Thu Jun 15 08:04:46 2006
New Revision: 7127

Log:
campaign popup has been integrated

Modified:
    vtigercrm/trunk/Popup.php

Modified: vtigercrm/trunk/Popup.php
==============================================================================
--- vtigercrm/trunk/Popup.php (original)
+++ vtigercrm/trunk/Popup.php Thu Jun 15 08:04:46 2006
@@ -48,6 +48,18 @@
 		if (isset($_REQUEST['select'])) $smarty->assign("SELECT",'enable');
 		$alphabetical = AlphabeticalSearch($currentModule,'Popup','lastname','true','basic',$popuptype,"","","");
 		break;
+	case 'Campaigns':
+		require_once("modules/$currentModule/Campaign.php");
+		$focus = new Campaign();
+		$log = LoggerManager::getLogger('campaign_list');
+		$comboFieldNames = Array('campaignstatus'=>'campaignstatus_dom',
+					 'campaigntype'=>'campaigntype_dom');
+		$comboFieldArray = getComboArray($comboFieldNames);
+		$smarty->assign("SINGLE_MOD",'Campaign');
+		if(isset($_REQUEST['return_module']) && $_REQUEST['return_module'] !='')
+			$smarty->assign("RETURN_MODULE",$_REQUEST['return_module']);
+		$alphabetical = AlphabeticalSearch($currentModule,'Popup','campaignname','true','basic',$popuptype,"","","");
+		break;
 	case 'Accounts':
 		require_once("modules/$currentModule/Account.php");
 		$focus = new Account();





More information about the vtigercrm-commits mailing list