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 2002 Marc Groot Koerkamp, The Netherlands
* @copyright 2002-2020 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: setup.php 14845 2020-01-07 08:09:34Z pdontthink $
* @subpackage message_details
function squirrelmail_plugin_init_message_details()
global $squirrelmail_plugin_hooks;
$squirrelmail_plugin_hooks['read_body_header_right']['message_details'] =
'show_message_details';
* Add message details link in message view
function show_message_details(&$links) {
global $passed_id, $mailbox, $passed_ent_id;
$params =
'?passed_ent_id=' .
$passed_ent_id .
'&passed_id=' .
$passed_id;
'../plugins/message_details/message_details_main.php' .
$links[] =
array('URL' =>
$url,
'Text' =>
_("View Message Details") );
echo
'<script type="text/javascript">' .
"\n"
.
" function MessageSource() {\n"
.
'plugins/message_details/message_details_main.php' .
$params .
'","MessageDetails","width=800,height=600");' .
"\n"
Documentation generated on Mon, 13 Jan 2020 04:23:32 +0100 by phpDocumentor 1.4.3