Source for file setup.php

Documentation is available at setup.php

  1. <?php
  2.  
  3. /**
  4.  * setup.php
  5.  *
  6.  * Copyright (c) 1999-2014 The SquirrelMail Project Team
  7.  * Licensed under the GNU GPL. For full terms see the file COPYING.
  8.  *
  9.  * This is a standard Squirrelmail-1.2 API for plugins.
  10.  *
  11.  * $Id: setup.php 14422 2014-01-01 20:59:43Z pdontthink $
  12.  */
  13.  
  14. /* This button fills out a form with your setup information already
  15.    gathered -- all you have to do is type. */
  16.  
  17.  
  18. /* Initialize the bug report plugin */
  19.     global $squirrelmail_plugin_hooks;
  20.  
  21.     $squirrelmail_plugin_hooks['menuline']['bug_report']
  22.         = 'bug_report_button';
  23.     $squirrelmail_plugin_hooks['optpage_loadhook_display']['bug_report']
  24.         = 'bug_report_block';
  25. }
  26.  
  27.  
  28. /* Show the button in the main bar */
  29. function bug_report_button({
  30.     include_once(SM_PATH 'plugins/bug_report/functions.php');
  31. }
  32.  
  33.  
  34. function bug_report_block({
  35.     include_once(SM_PATH 'plugins/bug_report/functions.php');
  36.     bug_report_block_do();
  37. }

Documentation generated on Sun, 23 Nov 2014 04:21:51 +0100 by phpDocumentor 1.4.3