Allow unsent compose sessions to stay around, but remove them after successful send
[squirrelmail.git] / src / help.php
index 8490961a0611a6b79361e7bb66763cefee336bce..9e58e8c5d41ac97d95b3068400eaa8b361279cea 100644 (file)
@@ -5,18 +5,21 @@
  *
  * Displays help for the user
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
+/** This is the help page */
+define('PAGE_NAME', 'help');
+
 /**
  * Include the SquirrelMail initialization file.
  */
 require('../include/init.php');
 
-displayPageHeader($color, 'None' );
+displayPageHeader($color);
 
 $helpdir[0] = 'basic.hlp';
 $helpdir[1] = 'main_folder.hlp';
@@ -92,7 +95,7 @@ function get_info($doc, $pos) {
 
 /**************[ END HELP FUNCTIONS ]******************/
 
-do_hook('help_top');
+do_hook('help_top', $null);
 
 if (!isset($squirrelmail_language)) {
     $squirrelmail_language = 'en_US';
@@ -160,7 +163,7 @@ if ( $chapter == 0 || !isset( $helpdir[$chapter-1] ) ) {
     }
 
     // Provide hook for external help scripts.
-    do_hook('help_chapter');
+    do_hook('help_chapter', $null);
  
     $new_toc = array();
     foreach ($toc as $ch) {
@@ -234,7 +237,6 @@ if ( $chapter == 0 || !isset( $helpdir[$chapter-1] ) ) {
     $oTemplate->display('help_chapter.tpl');
 }
 
-do_hook('help_bottom');
+do_hook('help_bottom', $null);
 
 $oTemplate->display('footer.tpl');
-?>
\ No newline at end of file