[Vtigercrm-commits] [vtiger-commits] r10442 - /vtigercrm/branches/5.0.3/modules/Webmails/MailParse.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 15 07:49:41 EDT 2007
Author: richie
Date: Thu Mar 15 05:49:31 2007
New Revision: 10442
Log:
removed unwanted echos
Modified:
vtigercrm/branches/5.0.3/modules/Webmails/MailParse.php
Modified: vtigercrm/branches/5.0.3/modules/Webmails/MailParse.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/MailParse.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/MailParse.php Thu Mar 15 05:49:31 2007
@@ -81,12 +81,15 @@
}
// Set IMAP flag
- if($mails[$start_message]->flagged)
- $flags.='<span id="clear_td_'.$num.'"><a href="javascript:runEmailCommand(\'clear_flag\','.$num.');"><img src="modules/Webmails/images/stock_mail-priority-high.png" border="0" width="11" height="11" id="clear_flag_img_'.$num.'"title="Important"></a></span>';
- else
+ if($mails[$start_message]->flagged)
+ {
+ $flags.='<span id="clear_td_'.$num.'"><a href="javascript:runEmailCommand(\'clear_flag\','.$num.');"><img src="modules/Webmails/images/stock_mail-priority-high.png" border="0" width="11" height="11" id="clear_flag_img_'.$num.'"title="Important"></a></span>';
+ }
+ else
+ {
$flags.='<span id="set_td_'.$num.'"><a href="javascript:void(0);" onclick="runEmailCommand(\'set_flag\','.$num.');"><img src="modules/Webmails/images/plus.gif" border="0" width="11" height="11" id="set_flag_img_'.$num.'"title="Important"></a></span>';
-
+ }
$tmp=imap_mime_header_decode($mails[$start_message]->from);
$from = $tmp[0]->text;
More information about the vtigercrm-commits
mailing list