[Vtigercrm-commits] [vtiger-commits] r7209 - in /vtigercrm/trunk/modules: Accounts/CallRelatedList.php Activities/CallRelatedList.php Campaigns/CallRelatedList.php Contacts/CallRelatedList.php Emails/CallRelatedList.php HelpDesk/CallRelatedList.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Jun 17 03:15:11 EDT 2006


Author: saraj
Date: Sat Jun 17 01:15:02 2006
New Revision: 7209

Log:
changes made to fix the issue 1040

Modified:
    vtigercrm/trunk/modules/Accounts/CallRelatedList.php
    vtigercrm/trunk/modules/Activities/CallRelatedList.php
    vtigercrm/trunk/modules/Campaigns/CallRelatedList.php
    vtigercrm/trunk/modules/Contacts/CallRelatedList.php
    vtigercrm/trunk/modules/Emails/CallRelatedList.php
    vtigercrm/trunk/modules/HelpDesk/CallRelatedList.php

Modified: vtigercrm/trunk/modules/Accounts/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Accounts/CallRelatedList.php Sat Jun 17 01:15:02 2006
@@ -39,7 +39,9 @@
 if(isset($_REQUEST['isDuplicate']) && $_REQUEST['isDuplicate'] == 'true') {
         $focus->id = "";
 }
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
  if(!$_SESSION['rlvs'][$module])
  {
        unset($_SESSION['rlvs']);

Modified: vtigercrm/trunk/modules/Activities/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Activities/CallRelatedList.php Sat Jun 17 01:15:02 2006
@@ -41,7 +41,9 @@
 $smarty->assign("APP", $app_strings);
 $smarty->assign("UPDATEINFO",updateInfo($focus->id));
 if (isset($focus->name)) $smarty->assign("NAME", $focus->name);
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 $related_array = getRelatedLists("Activities", $focus);
 $smarty->assign("id",$focus->id);
 $smarty->assign("RELATEDLISTS", $related_array);

Modified: vtigercrm/trunk/modules/Campaigns/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Campaigns/CallRelatedList.php Sat Jun 17 01:15:02 2006
@@ -41,7 +41,9 @@
 if(isset($_REQUEST['isDuplicate']) && $_REQUEST['isDuplicate'] == 'true') {
         $focus->id = "";
 }
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 if (isset($focus->name)) $smarty->assign("NAME", $focus->name);
 $related_array=getRelatedLists($currentModule,$focus);
 $smarty->assign("RELATEDLISTS", $related_array);

Modified: vtigercrm/trunk/modules/Contacts/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Contacts/CallRelatedList.php Sat Jun 17 01:15:02 2006
@@ -53,6 +53,9 @@
 if(isset($_request['isduplicate']) && $_request['isduplicate'] == 'true') {
         $focus->id = "";
 }
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 $parent_email = getEmailParentsList('Contacts',$_REQUEST['record']);
         $smarty->assign("HIDDEN_PARENTS_LIST",$parent_email);
 $category = getparenttab();

Modified: vtigercrm/trunk/modules/Emails/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Emails/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Emails/CallRelatedList.php Sat Jun 17 01:15:02 2006
@@ -42,7 +42,9 @@
 $related_array=getRelatedLists($currentModule,$focus);
 $category = getParentTab();
 $smarty->assign("CATEGORY",$category);
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+        $smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 $smarty->assign("id",$focus->id);
 $smarty->assign("RELATEDLISTS", $related_array);
 $smarty->assign("ID",$RECORD );

Modified: vtigercrm/trunk/modules/HelpDesk/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/HelpDesk/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/HelpDesk/CallRelatedList.php Sat Jun 17 01:15:02 2006
@@ -41,7 +41,9 @@
 if(isset($_REQUEST['isDuplicate']) && $_REQUEST['isDuplicate'] == 'true') {
         $focus->id = "";
 }
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+        $smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 if (isset($focus->name)) $smarty->assign("NAME", $focus->name);
 $related_array=getRelatedLists($currentModule,$focus);
 $smarty->assign("RELATEDLISTS", $related_array);





More information about the vtigercrm-commits mailing list