From: Jean Wainer <wainer@di...> - 2004-05-14 14:20:21
I am doing some modifications do squirrelmail, and I need an information I wasnt able to find it..
I need to get the sequential number for the message, so I can display within the message body (perhaps using the read_body_header_right hook or read_body_header) which message the user is viewing, so when he moves/deletes a message using the delete_move_next plugin he sees the next message number and so on.
How can I do that? Is there a function or a pre-set variable? I checked read_body.php and I got confused.
I have also changed the source code so it displays a sequential number within the message listing page.
I did a very simple change to mailbox_display.php:
Line 191: added $msgnum = $start_msg+$t;
Line 193: changed:
Do you consider this an "elegant" solution?
I really appreciate any input on this.. Thanks!
Get latest updates about Open Source Projects, Conferences and News.