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 f5d32035e45b2a22c309fe20c2ab55b1d2c6639b..a05a67096ae76fb64d8a11144f909834456c1ad1 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 826324aa5d6dea41ab26d310275e2e59553fa517..c8a6ed764d621c8e6c8a701d0ead84653cfaba4e 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" .