Source for file setup.php
Documentation is available at setup.php
* Message Details plugin - main setup script
* Plugin to view the RFC822 raw message output and the bodystructure of a message
* @author Marc Groot Koerkamp
* @copyright Copyright © 2002 Marc Groot Koerkamp, The Netherlands
* @copyright Copyright © 2004-2006 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: setup.php,v 1.2.2.5 2006/02/03 22:27:52 jervfors Exp $
* @subpackage message_details
global $squirrelmail_plugin_hooks;
$squirrelmail_plugin_hooks['read_body_header_right']['message_details'] =
'show_message_details';
global $passed_id, $mailbox, $ent_num, $color,
$params =
'?passed_ent_id=' .
$ent_num .
'&passed_id=' .
$passed_id;
$print_text =
_("View Message details");
$result =
'<script type="text/javascript" language="javascript">' .
"\n" .
" function MessageSource() {\n" .
' window.open("../plugins/message_details/message_details_main.php' .
$params .
'","MessageDetails","width=800,height=600");' .
"\n".
" | <A HREF=\"javascript:MessageSource();\">$print_text</A>\n";
Documentation generated on Sat, 07 Oct 2006 16:33:25 +0300 by phpDocumentor 1.3.0RC6