bringing back forwarding functionality for message list when comp_in_new is turned...
[squirrelmail.git] / plugins / message_details / message_details_top.php
index 22c4d30cc1a47965f83b5418703734db9a0de306..1d2254ed5aa1a08e3478f5af4244093b1d71443d 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 /**
- * Message Details plugin - top frame with buttons  
+ * Message Details plugin - top frame with buttons
  *
  * Plugin to view the RFC822 raw message output and the bodystructure of a message
  *
  * @author Marc Groot Koerkamp
  * @copyright Copyright &copy; 2002 Marc Groot Koerkamp, The Netherlands
- * @copyright Copyright &copy; 2004 The SquirrelMail Project Team
+ * @copyright Copyright &copy; 2004-2005 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -18,8 +18,6 @@ define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/strings.php');
-require_once(SM_PATH . 'config/config.php');
 require_once(SM_PATH . 'functions/forms.php');
 
 displayHtmlHeader( _("Message Details"),
@@ -42,11 +40,11 @@ echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"
      addHidden('passed_id', $passed_id).
      addHidden('ent_id', '0').
      addHidden('absolute_dl', 'true').
-     '<input type="button" value="' . _("Print") . '" onClick="printPopup()" />&nbsp;&nbsp;'.
-     '<input type="button" value="' . _("Close Window") . '" onClick="window.parent.close()" />&nbsp;&nbsp;'.
+     '<input type="button" value="' . _("Print") . '" onclick="printPopup()" />&nbsp;&nbsp;'.
+     '<input type="button" value="' . _("Close Window") . '" onclick="window.parent.close()" />&nbsp;&nbsp;'.
      addSubmit(_("Save Message")).
      '</form>'.
      '</b>'.
      '</body>'.
      "</html>\n";
-?>
+?>
\ No newline at end of file