[imp] New messages in bold in message summary

hhoffman@r-u-i.com hhoffman@r-u-i.com
Sat, 17 Feb 2001 14:46:36 -0800 (PST)


Darryl,
    Works like a champ! My users are going to love it.
Thanks,
Harry

Quoting Darryl Ross <dross@syc.asn.au>:

> Quoting hhoffman@r-u-i.com:
> 
> > Darryl,
> >      Thanks, I'm making the changes now. It seems that the bold only
> > comes thru 
> > when I refresh the mailbox. I can see the new message when logging in
> > but it 
> > only becomes bold after a refresh of the INBOX. Any ideas??
> > Thanks again,
> > Harry
> 
> Yeah, I just noticed that as well. I'm thinking that it is something to
> do with
> the flag I am using to see if the message is a new message. I'm using
> the 'U'
> flag, which I presumed stands for unread. Should I be using something
> different?
> 
> Actually, just thinking. I only added:
> 
> <?php if ($h->Unseen  == 'U') { echo "<b>"; } ?>
> <?php if ($h->Unseen  == 'U') { echo "</b>"; } ?>
> 
> To the table cells. That should be 
> 
> <?php if ($h->Unseen  == 'U' || $h->Recent == 'N') { echo "<b>"; } ?>
> <?php if ($h->Unseen  == 'U' || $h->Recent == 'N') { echo "<b>"; } ?>
> 
> ??
> 
> Which matches if the message has been seen in the inbox but not read
> (ie, U) or
> if the message is a new message in the inbox (ie, N) ???
> 
> ** Sends self a quick test email **
> 
> Yep, that would seem to do it. Ok, I've updated the file at the URL I
> gave
> before: http://darryl.ross.wattle.id.au/message_summaries.inc.txt. If it
> doesn't
> refresh properly, try
> http://darryl.ross.wattle.id.au/message_summaries.inc.txt?
> (with the ? on the end).
> 
> Darryl
> 
> -- 
> 
> Darryl Ross
> Network and Systems Administrator
> Service to Youth Council, Inc
> http://www.syc.asn.au/
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 



---------------------------------
Harry Hoffman
Manager Information Technology
Restaurants Unlimited, Inc.
206.634.3082 x. 270
---------------------------------