Source for file setup.php

Documentation is available at setup.php

  1. <?php
  2.  
  3. /* setup file for the IMAP server info plugin
  4.  * Copyright (c) 1999-2020 The SquirrelMail Project Team
  5.  * Licensed under the GNU GPL. For full terms see the file COPYING.
  6.  *   
  7.  * by: Jason Munro [email protected]
  8.  * 
  9.  * $Id: setup.php 14840 2020-01-07 07:42:38Z pdontthink $
  10.  * 
  11.  */
  12.  
  13. require_once (SM_PATH 'plugins/info/functions.php');
  14.  
  15.     global $squirrelmail_plugin_hooks;
  16.     $squirrelmail_plugin_hooks['optpage_register_block']['info''info_opt';
  17. }
  18.  
  19. function info_opt({
  20.     global $optpage_blocks;
  21.  
  22.     $optpage_blocks[array(
  23.         'name' => _("IMAP server information"),
  24.         'url'  => '../plugins/info/options.php',
  25.         'desc' => _("Run some test IMAP commands, displaying both the command and the result. These tests use the SquirrelMail IMAP commands and your current SquirrelMail configuration. Custom command strings can be used."),
  26.         'js'   => false
  27.     );
  28. }

Documentation generated on Mon, 13 Jan 2020 04:25:17 +0100 by phpDocumentor 1.4.3