<?php
-
-/** Message Source
+/**
+ * Message Details plugin - bottom frame with message structure and rfc822 body
*
* Plugin to view the RFC822 raw message output and the bodystructure of a message
*
- * Copyright (c) 2002 Marc Groot Koerkamp, The Netherlands
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * $Id$
+ * @author Marc Groot Koerkamp
+ * @copyright Copyright © 2002 Marc Groot Koerkamp, The Netherlands
+ * @copyright Copyright © 2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
* @package plugins
* @subpackage message_details
*/
//session_unregister("entities");
if (count($content) > 0) {
- echo '<h2> Bodystructure </h2>'."\n\n";
+ echo '<h2>'._("Bodystructure")."</h2>\n\n";
echo '<table border="1" width="98%"><thead>'.
'<tr bgcolor="'.$color[7].'">'.
- '<td><b><font color="'.$color[5].'">Entity</font></b></td>'.
- '<td><b><font color="'.$color[5].'">Content-Type</font></b></td>'.
- '<td><b><font color="'.$color[5].'">Name</font></b></td>'.
- '<td><b><font color="'.$color[5].'">Encoding</font></b></td>'.
+ '<td><b><font color="'.$color[5].'">'._("Entity").'</font></b></td>'.
+ '<td><b><font color="'.$color[5].'">'._("Content-Type").'</font></b></td>'.
+ '<td><b><font color="'.$color[5].'">'._("Name").'</font></b></td>'.
+ '<td><b><font color="'.$color[5].'">'._("Encoding").'</font></b></td>'.
'</tr>'.
'</thead><tbody>';
for ($i = 0; $i < count($content);$i++) {
}
echo '</tbody></table><br />'."\n";
}
-echo '<h2> RFC822 Message body </h2>'."\n\n";
+echo '<h2>'._("RFC822 Message body")."</h2>\n\n";
echo '<div><div class="header">'."\n\n";
echo $message_body;
echo '</div></div></font></code></body></html>';
<?php
-/** Message Source
+/**
+ * Message Details plugin - main frame
*
* Plugin to view the RFC822 raw message output and the bodystructure of a message
*
- * Copyright (c) 2002 Marc Groot Koerkamp, The Netherlands
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * $Id$
+ * @author Marc Groot Koerkamp
+ * @copyright Copyright © 2002 Marc Groot Koerkamp, The Netherlands
+ * @copyright Copyright © 2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
* @package plugins
* @subpackage message_details
*/
<?php
-
-/** Message Source
+/**
+ * Message Details plugin - top frame with buttons
*
* Plugin to view the RFC822 raw message output and the bodystructure of a message
*
- * Copyright (c) 2002 Marc Groot Koerkamp, The Netherlands
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * $Id$
+ * @author Marc Groot Koerkamp
+ * @copyright Copyright © 2002 Marc Groot Koerkamp, The Netherlands
+ * @copyright Copyright © 2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
* @package plugins
* @subpackage message_details
*/
<?php
-/** Message Source
-*
-* Plugin to view the RFC822 raw message output and the bodystructure of a message
-*
-* Copyright (c) 2002 Marc Groot Koerkamp, The Netherlands
-* Licensed under the GNU GPL. For full terms see the file COPYING.
-*
-* $Id$
-* @package plugins
-* @subpackage message_details
-**/
+/**
+ * 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 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage message_details
+ **/
/**
* Initialize the plugin
$squirrelmail_plugin_hooks['read_body_header_right']['message_details'] = 'show_message_details';
}
+/**
+ * Add message details link in message view
+ * @access private
+ */
function show_message_details() {
global $passed_id, $mailbox, $ent_num, $color,
$javascript_on;