added a hook for Jimmy Conner
authorjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 10 Jun 2002 18:22:40 +0000 (18:22 +0000)
committerjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 10 Jun 2002 18:22:40 +0000 (18:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2934 7612ce4b-ef26-0410-bec9-ea0150e637f0

doc/plugin.txt
src/read_body.php

index f5d3203..a05a670 100644 (file)
@@ -137,6 +137,7 @@ List of hooks
   html_bottom                     src/read_body.php
   read_body_header                src/read_body.php
   read_body_header_right          src/read_body.php
+  read_body_after_from            src/read_body.php
   search_before_form              src/search.php
   search_after_form               src/search.php
   search_bottom                   src/search.php
index 826324a..c8a6ed7 100644 (file)
@@ -872,8 +872,9 @@ echo       '<TR>' .
              '<TD BGCOLOR="' . $color[0] . '" ALIGN="RIGHT">' .
     _("From:") .
              '</TD><TD BGCOLOR="' . $color[0] . '">' .
-                "<B>$from_name</B>&nbsp;\n" .
-             '</TD>' .
+                "<B>$from_name</B>&nbsp;\n";
+                do_hook("read_body_after_from");
+echo             '</TD>' .
           '</TR>';
 /** date **/
 echo       '<TR>' . "\n" .