[Vtigercrm-commits] [vtiger-commits] r5042 - in /vtigercrm/trunk: Smarty/templates/DetailView.tpl modules/Webmails/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat Apr 8 08:36:10 EDT 2006
Author: mmbrich
Date: Sat Apr 8 06:36:08 2006
New Revision: 5042
Log:
added HTML mail capabilities to DetailView
Modified:
vtigercrm/trunk/Smarty/templates/DetailView.tpl
vtigercrm/trunk/modules/Webmails/DetailView.php
Modified: vtigercrm/trunk/Smarty/templates/DetailView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/DetailView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/DetailView.tpl Sat Apr 8 06:36:08 2006
@@ -357,7 +357,7 @@
</div>
</td>
{elseif $keyid eq 82} <!--Email Body-->
- <td colspan="3" width=100% class="dvtCellInfo" align="left"><div id="dtlview_{$label}" style="width:100%;height:200px;overflow:auto;border:1px solid gray" class="detailedViewTextBox" onmouseover="this.className='detailedViewTextBoxOn'" onmouseout="this.className='detailedViewTextBox'">{$keyval}</div>
+ <td colspan="3" width=100% class="dvtCellInfo" align="left"><div id="dtlview_{$label}" style="width:100%;height:200px;overflow:hidden;border:1px solid gray" class="detailedViewTextBox" onmouseover="this.className='detailedViewTextBoxOn'" onmouseout="this.className='detailedViewTextBox'">{$keyval}</div>
</td>
{elseif $keyid eq 80} <!--SalesOrderPopup-->
<td width=25% class="dvtCellInfo" align="left" id="mouseArea_{$label}" onmouseover="hndMouseOver({$keyid},'{$label}');" onmouseout="hide('crmspanid');"><span id="dtlview_{$label}"><a href="{$keyseclink}">{$keyval}</a></span>
Modified: vtigercrm/trunk/modules/Webmails/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/DetailView.php (original)
+++ vtigercrm/trunk/modules/Webmails/DetailView.php Sat Apr 8 06:36:08 2006
@@ -96,7 +96,7 @@
//$block["Email Information"][] = array("Related To:"=>array("value"=>$email->relationship['id']));
//$block["Email Information"][] = array("Email Body:"=>array("ui"=>19,,"value"=>'<iframe src="index.php?module=Webmails&action=body&mailid='.$mailid.'&login_username='.$login_username.'&secretkey='.$secretkey.'&imapServerAddress='.$imapServerAddress.'&mailbox='.$mailbox.'" width="100%" height="350">'.$body.'body</iframe>'));
-$block["Email Information"][] = array("Email Body:"=>array("ui"=>82,"value"=>$body));
+$block["Email Information"][] = array("Email Body:"=>array("ui"=>82,"value"=>'<iframe src="index.php?module=Webmails&action=body&mailid='.$mailid.'&mailbox='.$mailbox.'" width="100%" height="100%" frameborder="0">You must enabled iframes</iframe>'));
echo '<input type="hidden" name="mailid" value="'.$mailid.'">';
More information about the vtigercrm-commits
mailing list