[Vtigercrm-commits] [vtiger-commits] r10260 - /vtigercrm/branches/5.0.3/modules/Webmails/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Feb 27 09:44:26 EST 2007
Author: saraj
Date: Tue Feb 27 07:44:22 2007
New Revision: 10260
Log:
webmail issues fixed
Modified:
vtigercrm/branches/5.0.3/modules/Webmails/ListView.php
Modified: vtigercrm/branches/5.0.3/modules/Webmails/ListView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/ListView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/ListView.php Tue Feb 27 07:44:22 2007
@@ -315,33 +315,16 @@
$_SESSION["mailboxes"][$tmpval] = $new_msgs;
if($numEmails==0) {$num=$numEmails;} else {$num=($numEmails-1);}
- $folders .= '<li class="tabUnSelected"
- style="padding-left:0px;"><img
- src="'.$image_path.'/'.$img.'"
- align="absmiddle" /> <a
- href="javascript:changeMbox(\''.$tmpval.'\');"
- class="webMnu"
- onmouseover="show_remfolder(\''.$tmpval.'\');"
- onmouseout="show_remfolder(\''.$tmpval.'\');">'.$tmpval.'</a> <span
- id="'.$tmpval.'_count"
- style="font-weight:bold">';
-if($new_msgs > 0)
- $folders .= '(<span id="'.$tmpval.'_unread">'.$new_msgs.'</span>)</span> <span id="remove_'.$tmpval.'" style="position:relative;display:none">Remove</span></li>';
+ $folders .= '<li class="tabUnSelected" style="padding-left:0px;"><img src="'.$image_path.'/'.$img.'"align="absmiddle" /> <a href="javascript:changeMbox(\''.$tmpval.'\');" class="webMnu" onmouseover="show_remfolder(\''.$tmpval.'\');" onmouseout="show_remfolder(\''.$tmpval.'\');">'.$tmpval.'</a> <span id="'.$tmpval.'_count" style="font-weight:bold">';
+ if($new_msgs > 0)
+ $folders .= '(<span id="'.$tmpval.'_unread">'.$new_msgs.'</span>)</span> <span id="remove_'.$tmpval.'" style="position:relative;display:none">Remove</span></li>';
} else {
$box = imap_status($MailBox->mbox, "{".$MailBox->imapServerAddress."}".$tmpval, SA_ALL);
$_SESSION["mailboxes"][$tmpval] = $box->unseen;
if($box->messages==0) {$num=$box->messages;} else {$num=($box->messages-1);}
$boxes .= '<option value="'.$tmpval.'">'.$tmpval;
- $folders .= '<li class="lvtColData"
- onmouseover="this.className=\'lvtColDataHover\'"
- onmouseout="this.className=\'lvtColData\'"><img
- src="'.$image_path.'/'.$img.'"
- align="absmiddle" /> <a
- href="javascript:changeMbox(\''.$tmpval.'\');"
- class="webMnu">'.$tmpval.'</a> <span
- id="'.$tmpval.'_count"
- style="font-weight:bold">';
+ $folders .= '<li class="lvtColData" onmouseover="this.className=\'lvtColDataHover\'" onmouseout="this.className=\'lvtColData\'"><img src="'.$image_path.'/'.$img.'" align="absmiddle" /> <a href="javascript:changeMbox(\''.$tmpval.'\');" class="webMnu">'.$tmpval.'</a> <span id="'.$tmpval.'_count" style="font-weight:bold">';
if($box->unseen > 0)
$folders .= '(<span id="'.$tmpval.'_unread">'.$box->unseen.'</span>)</span></li>';
}
More information about the vtigercrm-commits
mailing list