From cdaf83380491dd3436b59804d36ae1cd6f1c66f5 Mon Sep 17 00:00:00 2001 From: ullgren Date: Wed, 10 Jul 2002 22:27:43 +0000 Subject: [PATCH] Moved the generic_header hook back to page_header.php. bug #554278 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3082 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 2 +- functions/page_header.php | 4 ++++ src/right_main.php | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b42a8465..dedd4e0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,7 +15,7 @@ Version 1.3.0-DEVEL -- CVS - Right to left languages implementation initiated - Enable people with file_uploads = off to still send mail. Patch from Seth E. Randall. - + - Moved the generic_header hook back to page_header.php. bug #554278 Version 1.2.7 -- CVS -------------------- diff --git a/functions/page_header.php b/functions/page_header.php index c4d8f3af..9d868311 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -31,6 +31,10 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE echo ''; } + + if ($do_hook) { + do_hook ("generic_header"); + } echo "\n$title$xtra\n\n"; } diff --git a/src/right_main.php b/src/right_main.php index aee1acd1..31f2ac14 100644 --- a/src/right_main.php +++ b/src/right_main.php @@ -102,9 +102,9 @@ else { } global $color; -if( isset($do_hook) && $do_hook ) { +/* if( isset($do_hook) && $do_hook ) { do_hook ("generic_header"); -} +}*/ sqimap_mailbox_select($imapConnection, $mailbox); -- 2.25.1