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-2012 The SquirrelMail Project Team
  5.  * Licensed under the GNU GPL. For full terms see the file COPYING.
  6.  *   
  7.  * by: Jason Munro jason@stdbev.com
  8.  * 
  9.  * $Id: setup.php 14248 2012-01-02 00:18:17Z 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. }
  29.  
  30. ?>

Documentation generated on Fri, 24 May 2013 04:23:05 +0200 by phpDocumentor 1.4.3