From d22879f72426f0c0e42e383a95273dc61addc99a Mon Sep 17 00:00:00 2001 From: pdontthink Date: Thu, 22 Mar 2007 03:14:20 +0000 Subject: [PATCH] Re-add hook just removed; compose templates are so scattered, there is nowhere a plugin can add output to the bottom of the compose page except to output its own template on this hook -- must make sure plugins NEVER output directly here without using the template API (it is possible a plugin could slip this by us). Steve did his best with converting the compose page to templates, but it's a pretty big mess, with template chunks and still a lot of output coming directly from compose.php, especially things like the form tags and misc formatting - this must be cleaned out. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12345 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compose.php b/src/compose.php index 2201b18f..3f46038d 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1308,6 +1308,8 @@ function showInputForm ($session, $values=false) { $oTemplate->display('compose_newwin_close.tpl'); } + do_hook('compose_bottom', $null); + $oErrorHandler->setDelayedErrors(false); $oTemplate->display('footer.tpl'); } -- 2.25.1