Fix for security token missing in newmail plugin (#2919418).
[squirrelmail.git] / plugins / message_details / setup.php
index 95f49d51a430fd858aa0c81025a337797b0da184..3d355a245d09e4873ce62b26de03f853d5478eca 100644 (file)
@@ -6,8 +6,8 @@
  * 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-2007 The SquirrelMail Project Team
+ * @copyright 2002 Marc Groot Koerkamp, The Netherlands
+ * @copyright 2002-2009 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -31,7 +31,7 @@ function squirrelmail_plugin_init_message_details()
  */
 function show_message_details(&$links) {
     global $passed_id, $mailbox, $passed_ent_id;
-    
+
     if (strlen(trim($mailbox)) < 1) {
         $mailbox = 'INBOX';
     }
@@ -40,20 +40,20 @@ function show_message_details(&$links) {
               '&mailbox=' . urlencode($mailbox) .
               '&passed_id=' . $passed_id;
 
-    $url = checkForJavascript() ? 'javascript:MessageSource();' : 
+    $url = checkForJavascript() ? 'javascript:MessageSource();' :
         '../plugins/message_details/message_details_main.php' .
         $params;
 
     /* Output the link. */
     $links[] = array('URL' => $url,
-        'Text' => _("View Message details") );
+        'Text' => _("View Message Details") );
 
     if (checkForJavascript()) {
         echo '<script type="text/javascript">' . "\n"
            . '<!--' . "\n"
            . "  function MessageSource() {\n"
-           . '    window.open("' 
-           . sqm_baseuri() 
+           . '    window.open("'
+           . sqm_baseuri()
            . 'plugins/message_details/message_details_main.php' .
                         $params . '","MessageDetails","width=800,height=600");' . "\n"
            . "  }\n"