This modification provides another visual indicator for message flags. 

E.g. The standard Squirrelmail distribution indicates a new message by displaying 
the header info in BOLD in the mailbox listing. With this modification, a graphic 
envelope is placed in front of the message subject, a yellow envelope indicates a 
new message, a white one indicates a previously read message. The following flags 
are covered: new,read,reply,flagged,deleted,attachment.

****************************

To install the plugin:

  1.  Change to the plugins directory.

        $ cd plugins/

  2.  Unarchive the plugin.

        $ tar zxvf /your/path/to/msg_flags-x.x.tgz

  2.  This should create a msg_flags/ directory under plugins.

  3.  There are 2 ways to to apply the changes. The first is recommended
      for most users.
  
      a. Copy the modified mailbox_display.php to the functions dir.
         Copy move_messages.php and left_main.php to the src dir.
         You're done :-)

      If you'e using a CVS release of SM then you probably want to apply
      the changes using the diff file.
      
      b. Run the following command from the the msg_flags directory 
         to apply the patch:
      
         patch -p0 < ./msg_flags-squirrelmail-1.4.1.diff
	 
	 There is a patch command that will do the same thing for Windows in
	 this very handy toolkit: http://unxutils.sourceforge.net/
      

Possible enhancements:

- You tell me :-)


Any questions or problems, feel free to contact me:

Forum:
http://www.jaakke.com/index.php?mode=forum
The look for "Projects" 

E-mail:
R. Jaakke
Robert@jaakke.com

Special Thanks to Emil Broekmeulen for helping me with some coding issues. 

=======================
Revision history
=======================

09/04/02 - ver 0.1
- initial release

02/05/02 - ver 0.2
- Updated readme for SM 1.2.6
- Added mailbox_display.php and move_messages.php for SM 1.2.6
- Removed mailbox_display.php and move_messages.php for SM 1.2.5

07/05/02 - ver 0.3
- Moved the envelope icon to the flags cell instead of the subject line cell.
- Aligned the flags cell LEFT
- If a flag is not set a transparent image of the same width is placed instead to 
  align the flags vertically.
- Updated README -> Do it your self instructions.

08/05/02 - ver 0.4
- I had a bug reported and noticed that the case5 wasn't the same as included in SM 1.2.6
  So i took the fresh mailbox_display.php and move_messages.php from the SM 1.2.6 src and 
  modified these, so hopefully no more bugs now.
- Replaced the + and - in the folder list with images.
- Modified the envelope images. They now have the same width for better vertical alignment.
 
08/05/02 - ver 0.5
- Folder collapse wouldn't work after installing msg_flags 0.4, sorry for that, this version fixes it.

14/06/02 - ver 0.6
- After 1816 downloads someone noticed that the priority images were wrong.
  High prio was shown with a low prio image and low prio with the high prio image.
  Anyway this is what's fixed in this verion. If you are upgrading from ver 0.5 
  you can simply copy the mailbox_display.php from the archive since the rest is still the same.
  
26/06/02 - ver 0.7
- I updated the plugin to work with SM 1.2.7.
  First off all, my desktop died :-( so i had to work on my server and that delayed
  the work on Msg_Flags. But here it is :-)
- If you're using SM 1.2.6 there is no reason to upgrade this plugin since it's the same
  except the code might be a little different.
- The SM 1.2.7 tarball has the + and - images included in the image dir. This version of the 
  plugin uses them. If they're missing for some reason then copy the + and - img from the 
  Msg_flags dir to the SM image dir.

17/09/02 - ver 0.8
- I updated the plugin to work with SM 1.2.8 and it works with the register_globals set to off.
- Note! If you're using a version before SM 1.2.8 there is no reason to upgrade this plugin.

20/03/03 - ver 0.9
- I finally updated the plugin to work with SM 1.4.0rc2a :-)
- Removed the setup.php and moved the code into move_messages.php.
- Sorry for not updating for a long time. I was very busy with school but i finally got my Bachalor's Degree :-)

07/03/03 - ver 1.0
- Updated the plugin for SM 1.4 stable.
- New Images! Thnx to Joris Bruring. The old (smaller size) images are also included.
- Thnx to Paul Kremer for sending me de modified files for 1.4 stable. Saved me some time :-)

07/03/03 - ver 1.0.1
- Reduced the image size a little, they have a fixed width and height now which should improve speed a little
  when loading the page.

09/07/03 - ver 1.0.2
- Updated the plugin for SM 1.4.1 stable.
- Finally included a diff patch to apply the changes. Thnx Paul ;-)
- Removed old images dir.