From 47268e2c4e32691fa7aee5177e66b9533dac11ca Mon Sep 17 00:00:00 2001 From: jmunro Date: Mon, 10 Jun 2002 18:22:40 +0000 Subject: [PATCH] added a hook for Jimmy Conner git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2934 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- doc/plugin.txt | 1 + src/read_body.php | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/plugin.txt b/doc/plugin.txt index f5d32035..a05a6709 100644 --- a/doc/plugin.txt +++ b/doc/plugin.txt @@ -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 diff --git a/src/read_body.php b/src/read_body.php index 826324aa..c8a6ed76 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -872,8 +872,9 @@ echo '' . '' . _("From:") . '' . - "$from_name \n" . - '' . + "$from_name \n"; + do_hook("read_body_after_from"); +echo '' . ''; /** date **/ echo '' . "\n" . -- 2.25.1