Moved the generic_header hook back to page_header.php. bug #554278
authorullgren <ullgren@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 10 Jul 2002 22:27:43 +0000 (22:27 +0000)
committerullgren <ullgren@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 10 Jul 2002 22:27:43 +0000 (22:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3082 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
functions/page_header.php
src/right_main.php

index b42a846..dedd4e0 100644 (file)
--- 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
 --------------------
index c4d8f3a..9d86831 100644 (file)
@@ -31,6 +31,10 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
         echo '<LINK REL="stylesheet" TYPE="text/css" HREF="' .
              $base_uri . 'themes/css/'.$custom_css.'">';
     }
+
+    if ($do_hook) {
+        do_hook ("generic_header");
+    }
     
     echo "\n<title>$title</title>$xtra</head>\n\n";
 }
index aee1acd..31f2ac1 100644 (file)
@@ -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);