[Vtigercrm-commits] [vtiger-commits] r6597 - in /vtigercrm/trunk: Smarty/templates/Webmails.tpl modules/Webmails/ListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sun May 28 04:08:12 EDT 2006


Author: mmbrich
Date: Sun May 28 02:08:11 2006
New Revision: 6597

Log:
show real account name

Modified:
    vtigercrm/trunk/Smarty/templates/Webmails.tpl
    vtigercrm/trunk/modules/Webmails/ListView.php

Modified: vtigercrm/trunk/Smarty/templates/Webmails.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Webmails.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Webmails.tpl Sun May 28 02:08:11 2006
@@ -62,23 +62,21 @@
                   <tr>
                     <td width="22%" bgcolor="#949494" style="overflow:auto"><span class="subHdr"><b>{$MOD.LBL_EMAIL_FOLDERS}</b></span> </td>
                     <td width="2%">&nbsp;</td>
-					 <td width="60%" class="subHdr"><span style="float:left"><strong>{$MOD.LBL_MAILS} {$ACCOUNT} &gt; {$MAILBOX} </strong></span> <span style="float:right">{$NAVIGATION}</span></td>
+					 <td width="60%" class="subHdr"><span style="float:left"><strong>{$ACCOUNT} &gt; {$MAILBOX} </strong></span> <span style="float:right">{$NAVIGATION}</span></td>
                   </tr>
                   <tr>
                     <td rowspan="6" valign="top" bgcolor="#FFFFFF" style="padding:10px; ">
 							<img src="{$IMAGE_PATH}webmail_root.gif" align="absmiddle" />&nbsp;<span onmouseover="show_addfolder();" onmouseout="show_addfolder();" style="cursor:pointer;"><b class="txtGreen">{$MOD.LBL_MY_MAILS}</b>&nbsp;&nbsp;<span id="folderOpts" style="position:absolute;display:none">Add Folder[X]</span></span>
+
 							<ul style="list-style-type:none;">
-
 
                                                   {foreach item=row from=$BOXLIST}
                                                         {foreach item=row_values from=$row}
-                                {$row_values}
+                                				{$row_values}
                                                         {/foreach}
                                                   {/foreach}
-
-
-
 							</ul><br />
+
 							<img src="{$IMAGE_PATH}webmail_root.gif" align="absmiddle" />&nbsp;<b class="txtGreen">{$MOD.LBL_SENT_MAILS}</b>
 							<ul style="list-style-type:none;">
 								<li><img src="{$IMAGE_PATH}webmail_uparrow.gif" align="absmiddle" />&nbsp;&nbsp;

Modified: vtigercrm/trunk/modules/Webmails/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/ListView.php (original)
+++ vtigercrm/trunk/modules/Webmails/ListView.php Sun May 28 02:08:11 2006
@@ -33,6 +33,7 @@
 $mails_per_page=$temprow["mails_per_page"];
 $mail_protocol=$temprow["mail_protocol"];
 $account_name=$temprow["account_name"];
+$display_name=$temprow["display_name"];
 $show_hidden=$_REQUEST["show_hidden"];
 
 $degraded_service='false';
@@ -308,7 +309,7 @@
 $smarty->assign("FOLDER_SELECT", $boxes);
 $smarty->assign("NUM_EMAILS", $numEmails);
 $smarty->assign("MAILBOX", $mailbox);
-$smarty->assign("ACCOUNT", $account_name);
+$smarty->assign("ACCOUNT", $display_name);
 $smarty->assign("BOXLIST",$folders);
 $smarty->assign("DEGRADED_SERVICE",$degraded_service);
 $smarty->display("Webmails.tpl");





More information about the vtigercrm-commits mailing list