[Vtigercrm-commits] [vtiger-commits] r9864 - in /vtigercrm/branches/5.0.3/modules/Webmails: MailParse.php webmails.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Nov 20 08:16:04 EST 2006
Author: richie
Date: Mon Nov 20 06:15:57 2006
New Revision: 9864
Log:
color-indication added for incoming and deleted mails
Modified:
vtigercrm/branches/5.0.3/modules/Webmails/MailParse.php
vtigercrm/branches/5.0.3/modules/Webmails/webmails.js
Modified: vtigercrm/branches/5.0.3/modules/Webmails/MailParse.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/MailParse.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/MailParse.php Mon Nov 20 06:15:57 2006
@@ -31,15 +31,15 @@
$displayed_msgs++;
if ($mails[$start_message]->deleted && !$show_hidden) {
- $flags = "<tr id='row_".$num."' class='deletedRow' style='display:none'><td width='2px'><input type='checkbox' name='checkbox_".$num."' class='msg_check'></td><td colspan='1'>";
+ $flags = "<tr id='row_".$num."' class='mailSelected' style='display:none'><td width='2px'><input type='checkbox' name='checkbox_".$num."' class='msg_check'></td><td colspan='1'>";
$displayed_msgs--;
} elseif ($mails[$start_message]->deleted && $show_hidden)
- $flags = "<tr id='row_".$num."' class='deletedRow'><td width='2px'><input type='checkbox' name='checkbox_".$num."' class='msg_check'></td><td colspan='1'>";
+ $flags = "<tr id='row_".$num."' class='mailSelected'><td width='2px'><input type='checkbox' name='checkbox_".$num."' class='msg_check'></td><td colspan='1'>";
elseif (!$mails[$start_message]->seen || $mails[$start_message]->recent) {
- $flags = "<tr class='unread_email' id='row_".$num."'><td width='2px'><input type='checkbox' name='checkbox_".$num."' class='msg_check'></td><td colspan='1'>";
+ $flags = "<tr class='mailSelected' id='row_".$num."'><td width='2px'><input type='checkbox' name='checkbox_".$num."' class='msg_check'></td><td colspan='1'>";
$new_msgs++;
} else
- $flags = "<tr id='row_".$num."'><td width='2px'><input type='checkbox' name='checkbox_".$num."' class='msg_check'></td><td colspan='1'>";
+ $flags = "<tr onmouseover='this.className=\"tabSelected\"' onmouseout='this.className=\"\"' id='row_".$num."'><td width='2px'><input type='checkbox' name='checkbox_".$num."' class='msg_check'></td><td colspan='1'>";
// Attachment Icons
if($msg_ob->has_attachments)
Modified: vtigercrm/branches/5.0.3/modules/Webmails/webmails.js
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/webmails.js (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/webmails.js Mon Nov 20 06:15:57 2006
@@ -73,6 +73,7 @@
$("full_view").removeChild($("full_view").firstChild);
$("full_view").appendChild(Builder.node('a',{href: 'javascript:;', onclick: 'OpenCompose('+mid+',\'full_view\')'},'Full Email View'));
+ node.className = 'mailSelected'
}
function displayAttachments(mid) {
var url = "index.php?module=Webmails&action=dlAttachments&mailid="+mid+"&mailbox="+mailbox;
@@ -439,7 +440,8 @@
var unread = parseInt($(mailbox+"_unread").innerHTML);
$(mailbox+"_unread").innerHTML = (unread-1);
}
- row.className = "deletedRow";
+ row.className = 'delete_email';
+ // row.className = "deletedRow";
Try.these (
function() {
More information about the vtigercrm-commits
mailing list