[Vtigercrm-commits] [vtiger-commits] r10492 - /vtigercrm/branches/5.0.3/index.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 20 06:13:41 EDT 2007


Author: richie
Date: Tue Mar 20 04:13:35 2007
New Revision: 10492

Log:
added check for the webmail image handling

Modified:
    vtigercrm/branches/5.0.3/index.php

Modified: vtigercrm/branches/5.0.3/index.php
==============================================================================
--- vtigercrm/branches/5.0.3/index.php (original)
+++ vtigercrm/branches/5.0.3/index.php Tue Mar 20 04:13:35 2007
@@ -282,7 +282,7 @@
 		(ereg("^dlAttachments",$action) && ereg("^Webmails",$module)) ||
 		(ereg("^DetailView",$action) &&	ereg("^Webmails",$module) ) ||
 		ereg("^savewordtemplate",$action) ||
-		ereg("^mailmergedownloadfile",$action))
+		ereg("^mailmergedownloadfile",$action) || ereg("^Webmails",$module) && ereg("^get_img",$action) || ereg("^download",$action) )
 	
 		
 	{
@@ -300,10 +300,12 @@
 			ereg("^chat",$action) ||
 			ereg("^vtchat",$action) ||
 			ereg("^massdelete", $action) ||
-			ereg("^mailmergedownloadfile",$action))
+			ereg("^mailmergedownloadfile",$action) || 	ereg("^get_img",$action) ||
+			ereg("^download",$action) ||
+			ereg("^massdelete", $action ))
 			$skipFooters=true;
 		//skip footers for all these invocations as they are mostly popups
-		if(ereg("^downloadfile", $action) || ereg("^fieldtypes",$action) || ereg("^mailmergedownloadfile",$action))
+		if(ereg("^downloadfile", $action) || ereg("^fieldtypes",$action) || ereg("^mailmergedownloadfile",$action)|| ereg("^get_img",$action))
 		{
 			$viewAttachment = true;
 		}





More information about the vtigercrm-commits mailing list