Adding reminder
[squirrelmail.git] / plugins / message_details / setup.php
index 7977da8c24cfe140a63a8bdffe0df00646f51f26..2346b5dcf16c0665734a675e12b17d0c6f1be074 100644 (file)
@@ -1,27 +1,33 @@
 <?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 &copy; 2002 Marc Groot Koerkamp, The Netherlands
+ * @copyright Copyright &copy; 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
+ * @access private
  */
 function squirrelmail_plugin_init_message_details()
 {
   global $squirrelmail_plugin_hooks;
 
-  do_hook('read_body_header_right');
   $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;
@@ -47,9 +53,9 @@ function show_message_details() {
                 "  }\n" .
                 "// -->\n" .
                 "</script>\n" .
-                "&nbsp;|&nbsp;<A HREF=\"javascript:MessageSource();\">$print_text</A>\n";
+                "&nbsp;|&nbsp;<a href=\"javascript:MessageSource();\">$print_text</a>\n";
     } 
     echo $result;
 }
  
-?>
+?>
\ No newline at end of file