[Vtigercrm-commits] [vtiger-commits] r5830 - in /vtigercrm/trunk/Smarty/templates: EmailContents.tpl EmailDetails.tpl Emails.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 10 09:16:40 EDT 2006
Author: richie
Date: Wed May 10 07:16:35 2006
New Revision: 5830
Log:
Multiple mailids option enabled for outgoing emails
Modified:
vtigercrm/trunk/Smarty/templates/EmailContents.tpl
vtigercrm/trunk/Smarty/templates/EmailDetails.tpl
vtigercrm/trunk/Smarty/templates/Emails.tpl
Modified: vtigercrm/trunk/Smarty/templates/EmailContents.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/EmailContents.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/EmailContents.tpl Wed May 10 07:16:35 2006
@@ -10,23 +10,23 @@
********************************************************************************/
-->*}
<div id="rssScroll">
- <table class="rssTable" cellspacing="0" cellpadding="0">
- <tr>
- <th width="5%"><input type="checkbox" name="selectall" onClick=toggleSelect(this.checked,"selected_id")></th>
- {foreach item=element from=$LISTHEADER}
- <th>{$element}</th>
- {/foreach}
- </tr>
- {foreach key=id item=row from=$LISTENTITY}
- <tr onmouseover="this.className='prvPrfHoverOn'" onmouseout="this.className='prvPrfHoverOff'">
- <td>
- <input type="checkbox" NAME="selected_id" value= '{$id}' onClick=toggleSelectAll(this.name,"selectall")>
+ <table class="rssTable" cellspacing="0" cellpadding="0">
+ <tr>
+ <th width="5%"><input type="checkbox" name="selectall" onClick=toggleSelect(this.checked,"selected_id")></th>
+ {foreach item=element from=$LISTHEADER}
+ <th>{$element}</th>
+ {/foreach}
+ </tr>
+ {foreach key=id item=row from=$LISTENTITY}
+ <tr onmouseover="this.className='prvPrfHoverOn'" onmouseout="this.className='prvPrfHoverOff'">
+ <td>
+ <input type="checkbox" name="selected_id" value= '{$id}' onClick=toggleSelectAll(this.name,"selectall")>
</td>
- {foreach item=row_values from=$row}
- <td><b>{$row_values}</b></td>
- {/foreach}
- </tr>
- {/foreach}
- </table>
- </div>
+ {foreach item=row_values from=$row}
+ <td><b>{$row_values}</b></td>
+ {/foreach}
+ </tr>
+ {/foreach}
+ </table>
+</div>
Modified: vtigercrm/trunk/Smarty/templates/EmailDetails.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/EmailDetails.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/EmailDetails.tpl Wed May 10 07:16:35 2006
@@ -10,42 +10,38 @@
********************************************************************************/
-->*}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td> </td>
- <td class="forwardBg">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="75%">
- <input type="button" name="Qualify2" value=" {$MOD.LBL_QUALIFY_BUTTON} " class="classWebBtn" />
+<tr>
+ <td class="forwardBg">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="75%">
<input type="button" name="reply" value=" {$MOD.LBL_REPLY_BUTTON} " class="classWebBtn" />
<input type="button" name="forward" value=" {$MOD.LBL_FORWARD_BUTTON} " class="classWebBtn" />
<input type="button" name="download" value=" {$MOD.LBL_DOWNLOAD_ATTCH_BUTTON} " class="classWebBtn" onclick="fnvshobj(this,'reportLay');" onmouseout="fninvsh('reportLay')" />
- </td>
+ </td>
<td width="25%" align="right"><input type="button" name="Button" value=" {$APP.LBL_DELETE_BUTTON} " class="classWebBtn" onClick="DeleteEmail('{$ID}')"/></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td> </td>
- <td height="300" bgcolor="#FFFFFF" valign="top" style="padding-top:10px;">
- {foreach item=row from=$BLOCKS}
-{foreach item=elements key=title from=$row}
-{if $title eq 'Subject'}
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ </tr>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td height="300" bgcolor="#FFFFFF" valign="top" style="padding-top:10px;">
+ {foreach item=row from=$BLOCKS}
+ {foreach item=elements key=title from=$row}
+ {if $title eq 'Subject'}
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="20%" align="right"><b>{$MOD.LBL_FROM}</b></td><td width="2%"> </td><td> </td></tr>
<tr><td align="right">{$MOD.LBL_CC}</td><td> </td><td> </td></tr>
<tr><td align="right"><b>{$MOD.LBL_SUBJECT}</b></td><td> </td><td>{$BLOCKS.3.Subject.value}</td></tr>
- <tr><td align="right" style="border-bottom:1px solid #666666;" colspan="3"> </td></tr>
+ <tr><td align="right" style="border-bottom:1px solid #666666;" colspan="3"> </td></tr>
+ </table>
+ {elseif $title eq 'Description'}
+ <div>
+ {$BLOCKS.4.Description.value}
+ </div>
+ {/if}
+ {/foreach}
+ {/foreach}
+ </td>
+</tr>
</table>
-{elseif $title eq 'Description'}
-<div>
-{$BLOCKS.4.Description.value}
-</div>
-{/if}
-{/foreach}
-{/foreach}
- </td>
- </tr>
-
-</table>
Modified: vtigercrm/trunk/Smarty/templates/Emails.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Emails.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Emails.tpl Wed May 10 07:16:35 2006
@@ -59,9 +59,9 @@
<script language="JavaScript" type="text/javascript" src="modules/Emails/Email.js"></script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
<tr>
- <td class="showPanelBg" valign="top" width="95%" style="padding-left:20px; "><br />
+ <td class="showPanelBg" valign="top" width="95%" style="padding-left:20px; "><br />
<span class="lvtHeaderText">{$CATEGORY} > {$MODULE} </span>
- <hr noshade="noshade" size="1" />
+ <hr noshade="noshade" size="1" />
</td>
<td width="5%" class="showPanelBg"> </td>
</tr>
@@ -69,121 +69,123 @@
<td width="95%" style="padding-left:20px;" valign="top">
<!-- module Select Table -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="7" height="6" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}top_left.jpg" align="top" /></td>
- <td bgcolor="#EBEBEB" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;height:6px;"></td>
- <td width="8" height="6" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}top_right.jpg" width="8" height="6" align="top" /></td>
- </tr>
- <tr>
- <td bgcolor="#EBEBEB" width="7"></td>
- <td bgcolor="#ECECEC" style="padding-left:10px;height:20px;vertical-align:middle;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="3" style="padding:10px;vertical-align:middle;">
- <table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
- <td width="10%" >
- <img src="{$IMAGE_PATH}check_mail.gif" align="absmiddle" />
+ <td width="7" height="6" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}top_left.jpg" align="top" /></td>
+ <td bgcolor="#EBEBEB" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;height:6px;"></td>
+ <td width="8" height="6" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}top_right.jpg" width="8" height="6" align="top" /></td>
+ </tr>
+ <tr>
+ <td bgcolor="#EBEBEB" width="7"></td>
+ <td bgcolor="#ECECEC" style="padding-left:10px;height:20px;vertical-align:middle;">
+ <form name="massdelete" method="POST">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td colspan="3" style="padding:10px;vertical-align:middle;">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td width="10%" >
+ <img src="{$IMAGE_PATH}check_mail.gif" align="absmiddle" />
<a href="#" class="webMnu" >{$MOD.LBL_CHK_MAIL}</a>
+ </td>
+ <td width="10%">
+ <img src="{$IMAGE_PATH}compose.gif" align="absmiddle" />
+ <a href="javascript:openPopUp('xComposeEmail',this,'index.php?module=Emails&action=EmailsAjax&file=EditView','createemailWin',655,652,'menubar=no,toolbar=no,location=no,status=no,resizable=no');" class="webMnu">{$MOD.LBL_COMPOSE}</a>
+ </td>
+ <td width="10%">
+ <img src="{$IMAGE_PATH}webmail_settings.gif" align="absmiddle" />
+ <a href="index.php?module=Settings&action=AddMailAccount&record={$USERID}" class="webMnu">{$MOD.LBL_SETTINGS}</a>
+ </td>
+ <td><img src="{$IMAGE_PATH}webmail_header.gif" align="right"/></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%" bgcolor="#949494"><span class="subHdr"><b>{$MOD.LBL_EMAIL_FOLDERS}</b></span> </td>
+ <td width="2%"> </td>
+ <td width="60%" class="subHdr"><strong>{$MOD.LBL_MAILS}</strong></td>
+ </tr>
+ <tr>
+ <td rowspan="6" valign="top" bgcolor="#FFFFFF" style="padding:10px; ">
+ <img src="{$IMAGE_PATH}webmail_root.gif" align="absmiddle" /> <b class="txtGreen">{$MOD.LBL_INBOX}</b>
+ <ul style="list-style-type:none;">
+ <li><img src="{$IMAGE_PATH}webmail_downarrow.gif" align="absmiddle" />
+ <a href="index.php?module=Webmails&action=index" class="webMnu">{$MOD.LBL_QUAL_CONTACT}</a> <b></b>
+ </li>
+ <li><img src="{$IMAGE_PATH}webmail_downarrow.gif" align="absmiddle" />
+ <a href="index.php?module=Webmails&action=index" class="webMnu">{$MOD.LBL_MY_MAILS}</a> <b></b>
+ </li>
+ </ul><br />
+ <img src="{$IMAGE_PATH}webmail_root.gif" align="absmiddle" /> <b class="txtGreen">{$MOD.LBL_SENT_MAILS}</b>
+ <ul style="list-style-type:none;">
+ <li><img src="{$IMAGE_PATH}webmail_uparrow.gif" align="absmiddle" />
+ <a href="javascript:;" onClick="ShowFolders('allmails')" class="webMnu">{$MOD.LBL_ALLMAILS}</a> <b></b>
+ <li><img src="{$IMAGE_PATH}webmail_uparrow.gif" align="absmiddle" />
+ <a href="javascript:;" onClick="ShowFolders('Contacts')" class="webMnu">{$MOD.LBL_TO_CONTACTS}</a> <b></b>
+ </li>
+ <li><img src="{$IMAGE_PATH}webmail_uparrow.gif" align="absmiddle" />
+ <a href="javascript:;" onClick="ShowFolders('Accounts')" class="webMnu">{$MOD.LBL_TO_ACCOUNTS}</a> <b></b>
+ </li>
+ <li><img src="{$IMAGE_PATH}webmail_uparrow.gif" align="absmiddle" />
+ <a href="javascript:;" onClick="ShowFolders('Leads')" class="webMnu">{$MOD.LBL_TO_LEADS}</a>
+ </li>
+ <li><img src="{$IMAGE_PATH}webmail_uparrow.gif" align="absmiddle" />
+ <a href="javascript:;" onClick="ShowFolders('Users')" class="webMnu">{$MOD.LBL_TO_USERS}</a>
+ </li>
+ </ul><br />
+ </td>
+ <td> </td>
+
+ <td class="delBg">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <input name="idlist" type="hidden">
+ <tr>
+ <td width="25%"><input type="button" name="Button2" value=" {$MOD.LBL_QUALIFY_BUTTON}" class="classWebBtn" onClick="return massDelete();"/>
+ </td>
+ <td width="75%" align="right">
+ <font color="#000000">{$APP.LBL_SEARCH}</font> <input type="text" name="srch" class="importBox" />
+ <select name="optionSel" class="importBox"><option selected>in Subject</option></select>
+ <input type="button" name="find" value=" {$APP.LBL_FIND_BUTTON} " class="classWebBtn" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td style="padding:1px;" align="left">
+ <div id="email_con">
+ {include file="EmailContents.tpl"}
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td height="5"></td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td class="mailHdr" id="subjectsetter"> </td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td valign="top">
+ <div id="EmailDetails">
+ {include file="EmailDetails.tpl"}
+ </div>
+ </td>
+ </tr>
+ </table>
+ </form>
</td>
- <td width="10%">
- <img src="{$IMAGE_PATH}compose.gif" align="absmiddle" />
- <a href="javascript:openPopUp('xComposeEmail',this,'index.php?module=Emails&action=EmailsAjax&file=EditView','createemailWin',655,652,'menubar=no,toolbar=no,location=no,status=no,resizable=no');" class="webMnu">{$MOD.LBL_COMPOSE}</a>
- </td>
- <td width="10%">
- <img src="{$IMAGE_PATH}webmail_settings.gif" align="absmiddle" />
- <a href="index.php?module=Settings&action=AddMailAccount&record={$USERID}" class="webMnu">{$MOD.LBL_SETTINGS}</a>
- </td>
- <td><img src="{$IMAGE_PATH}webmail_header.gif" align="right"/></td>
+ <td bgcolor="#EBEBEB" width="8"></td>
</tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="28%" bgcolor="#949494"><span class="subHdr"><b>{$MOD.LBL_EMAIL_FOLDERS}</b></span> </td>
- <td width="2%"> </td>
- <td width="60%" class="subHdr"><strong>{$MOD.LBL_MAILS}</strong></td>
- </tr>
- <tr>
- <td rowspan="6" valign="top" bgcolor="#FFFFFF" style="padding:10px; ">
- <img src="{$IMAGE_PATH}webmail_root.gif" align="absmiddle" /> <b class="txtGreen">{$MOD.LBL_INBOX}</b>
- <ul style="list-style-type:none;">
- <li><img src="{$IMAGE_PATH}webmail_downarrow.gif" align="absmiddle" />
- <a href="index.php?module=Webmails&action=index" class="webMnu">{$MOD.LBL_QUAL_CONTACT}</a> <b></b>
- </li>
- <li><img src="{$IMAGE_PATH}webmail_downarrow.gif" align="absmiddle" />
- <a href="index.php?module=Webmails&action=index" class="webMnu">{$MOD.LBL_MY_MAILS}</a> <b></b>
- </li>
- <li><img src="{$IMAGE_PATH}webmail_trash.gif" align="absmiddle" />
- <a href="#" class="webMnu">....</a>
- </li>
- </ul><br />
- <img src="{$IMAGE_PATH}webmail_root.gif" align="absmiddle" /> <b class="txtGreen">{$MOD.LBL_SENT_MAILS}</b>
- <ul style="list-style-type:none;">
- <li><img src="{$IMAGE_PATH}webmail_uparrow.gif" align="absmiddle" />
- <a href="index.php?module=Emails&action=ListView" class="webMnu">{$MOD.LBL_TO_LEADS}</a> <b></b>
- </li>
- <li><img src="{$IMAGE_PATH}webmail_uparrow.gif" align="absmiddle" />
- <a href="index.php?module=Emails&action=ListView" class="webMnu">{$MOD.LBL_TO_ACCOUNTS}</a> <b></b>
- </li>
- <li><img src="{$IMAGE_PATH}webmail_uparrow.gif" align="absmiddle" />
- <a href="index.php?module=Emails&action=ListView" class="webMnu">{$MOD.LBL_TO_CONTACTS}</a>
- </li>
- </ul><br />
- <img src="{$IMAGE_PATH}webmail_root.gif" align="absmiddle" /> <b class="txtGreen">{$MOD.LBL_TRASH}</b>
- <ul style="list-style-type:none;">
- <li><img src="{$IMAGE_PATH}webmail_trash.gif" align="absmiddle" />
- <a href="#" class="webMnu">{$MOD.LBL_JUNK_MAILS}</a> <b></b>
- </li>
- </ul>
- </td>
- <td> </td>
- <td class="delBg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <form name="massdelete" method="POST">
- <input name="idlist" type="hidden">
- <tr>
- <td width="25%"><input type="button" name="Button2" value=" {$APP.LBL_DELETE_BUTTON} " class="classWebBtn" onClick="return massDelete();"/>
- <input type="button" name="Qualify" value=" {$MOD.LBL_QUALIFY_BUTTON} " class="classWebBtn" />
- </td>
- <td width="75%" align="right">
- <font color="#000000">{$APP.LBL_SEARCH}</font> <input type="text" name="srch" class="importBox" />
- <select name="optionSel" class="importBox"><option selected>in Subject</option></select>
- <input type="button" name="find" value=" {$APP.LBL_FIND_BUTTON} " class="classWebBtn" />
- </td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td> </td>
- <td style="padding:1px;" align="left">
- <div id="email_con">
- {include file="EmailContents.tpl"}
- </div>
- </td>
- </tr>
- <tr>
- <td></td>
- <td height="5"></td>
- </tr>
- </form>
- <tr>
- <td> </td>
- <td class="mailHdr" id="subjectsetter"> </td>
- </tr>
- <tr><td colspan="2">
- <div id="EmailDetails">
- {include file="EmailDetails.tpl"}
- </div>
- </td></tr>
- </table>
- </td>
- <td bgcolor="#EBEBEB" width="8"></td>
- </tr>
- <tr>
- <td width="7" height="8" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}bottom_left.jpg" align="bottom" /></td>
- <td bgcolor="#ECECEC" height="8" style="font-size:1px;" ></td>
- <td width="8" height="8" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}bottom_right.jpg" align="bottom" /></td>
- </tr>
- </table><br />
+ <tr>
+ <td width="7" height="8" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}bottom_left.jpg" align="bottom" /></td>
+ <td bgcolor="#ECECEC" height="8" style="font-size:1px;" ></td>
+ <td width="8" height="8" style="font-size:1px;font-family:Arial, Helvetica, sans-serif;"><img src="{$IMAGE_PATH}bottom_right.jpg" align="bottom" /></td>
+ </tr>
+ </table><br />
</td>
<td> </td>
</tr>
More information about the vtigercrm-commits
mailing list