From 1411972c35809b94d9a499545e82e8a0b7a749b6 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 11 Dec 2006 21:07:32 +0000 Subject: [PATCH] Better hook placement git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12007 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/webmail.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/webmail.php b/src/webmail.php index 919f7ebf..a2bc1c2e 100644 --- a/src/webmail.php +++ b/src/webmail.php @@ -107,15 +107,16 @@ switch($right_frame) { break; } -displayHtmlHeader($org_title, '', false, true); $oErrorHandler->setDelayedErrors(true); -do_hook('webmail_top', $null); - $oTemplate->assign('nav_size', $left_size); $oTemplate->assign('nav_on_left', $location_of_bar=='left'); $oTemplate->assign('right_frame_url', $right_frame_url); +do_hook('webmail_top', $null); + +displayHtmlHeader($org_title, '', false, true); + $oTemplate->display('webmail.tpl'); $oTemplate->display('footer.tpl'); -- 2.25.1