[Vtigercrm-commits] [vtiger-commits] r6044 - in /vtigercrm/trunk/Smarty/templates: EmailDetails.tpl Emails.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 16 07:37:03 EDT 2006


Author: richie
Date: Tue May 16 05:36:58 2006
New Revision: 6044

Log:
Qualified mail feature has been integrated

Modified:
    vtigercrm/trunk/Smarty/templates/EmailDetails.tpl
    vtigercrm/trunk/Smarty/templates/Emails.tpl

Modified: vtigercrm/trunk/Smarty/templates/EmailDetails.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/EmailDetails.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/EmailDetails.tpl Tue May 16 05:36:58 2006
@@ -17,7 +17,11 @@
 		{if $BLOCKS neq ''}
 			<td width="75%">
 			  	<input type="button" name="forward" value=" {$MOD.LBL_FORWARD_BUTTON} " class="classWebBtn" onClick=OpenCompose('{$ID}','forward')>&nbsp;
+				{if $EMAIL_FLAG neq 'WEBMAIL'}
 			  	<input type="button" name="Send" value=" {$MOD.LBL_SEND} " class="classWebBtn" onClick=OpenCompose('{$ID}','edit')>&nbsp;
+				{else}
+			  	<input type="button" name="Send" value=" {$MOD.LBL_REPLY_BUTTON} " class="classWebBtn" onClick=OpenCompose('{$ID}','edit')>&nbsp;
+				{/if}
 				{foreach item=row from=$BLOCKS}	
 				{foreach item=elements key=title from=$row}	
 					{if $title eq 'Attachment' && $elements.value != ''}
@@ -40,9 +44,13 @@
 	{foreach item=elements key=title from=$row}	
 		{if $title eq 'Subject'}
 		<table width="100%" border="0" cellpadding="0" cellspacing="0">
+	{if $EMAIL_FLAG neq 'WEBMAIL'}
 	<tr><td width="20%" align="right" valign="top"><b>{$MOD.LBL_TO}</b></td><td width="2%">&nbsp;</td><td>{$TO_MAIL}&nbsp;</td></tr>
 	<tr><td align="right" valign="top">{$MOD.LBL_CC}</td><td>&nbsp;</td><td>{$CC_MAIL}&nbsp;</td></tr>
 	<tr><td align="right" valign="top">{$MOD.LBL_BCC}</td><td>&nbsp;</td><td>{$BCC_MAIL}&nbsp;</td></tr>
+	{else}
+	<tr><td width="20%" align="right" valign="top"><b>{$MOD.LBL_FROM}</b></td><td width="2%">&nbsp;</td><td>{$TO_MAIL}&nbsp;</td></tr>
+	{/if}
 	<tr><td align="right"><b>{$MOD.LBL_SUBJECT}</b></td><td>&nbsp;</td><td>{$elements.value}&nbsp;</td></tr>
 			<tr><td align="right" style="border-bottom:1px solid #666666;" colspan="3">&nbsp;</td></tr>
 		</table>

Modified: vtigercrm/trunk/Smarty/templates/Emails.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Emails.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Emails.tpl Tue May 16 05:36:58 2006
@@ -65,6 +65,8 @@
 		case 5:
 			getObj('mail_fldrname').innerHTML = '{$MOD.LBL_TO_USERS}';
 			break;
+		case 6:
+			getObj('mail_fldrname').innerHTML = '{$MOD.LBL_QUAL_CONTACT}';
 	{rdelim}
     var urlstring ="module=Emails&ajax=true&action=EmailsAjax&file=ListView&folderid="+folderid;
    	ajaxObj.process("index.php?",urlstring);
@@ -94,7 +96,7 @@
 					<form name="massdelete" method="POST">
 						<table width="100%"  border="0" cellspacing="0" cellpadding="0">
 							<tr>
-								<td colspan="3" style="padding:10px;vertical-align:middle;">
+								<td colspan="3" style="vertical-align:middle;">
 									<table width="100%" cellpadding="0" cellspacing="0" border="0">
 										<tr>
 											<td width="10%" >
@@ -124,7 +126,7 @@
 							<img src="{$IMAGE_PATH}webmail_root.gif" align="absmiddle" />&nbsp;<b class="txtGreen">{$MOD.LBL_INBOX}</b>
 								<ul style="list-style-type:none;">
 									<li><img src="{$IMAGE_PATH}webmail_downarrow.gif" align="absmiddle" />&nbsp;&nbsp;
-										<a href="index.php?module=Webmails&action=index" class="webMnu">{$MOD.LBL_QUAL_CONTACT}</a>&nbsp;<b></b>
+										<a href="javascript:;" onClick="ShowFolders(6)" class="webMnu">{$MOD.LBL_QUAL_CONTACT}</a>&nbsp;<b></b>
 									</li>
 									<li><img src="{$IMAGE_PATH}webmail_downarrow.gif" align="absmiddle" />&nbsp;&nbsp;
 									<a href="index.php?module=Webmails&action=index" class="webMnu">{$MOD.LBL_MY_MAILS}</a>&nbsp;<b></b>





More information about the vtigercrm-commits mailing list