squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

setup.php
Go to the documentation of this file.
1 <?php
2 
3 /* setup file for the IMAP server info plugin
4  * Copyright (c) 1999-2011 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 14084 2011-01-06 02:44:03Z pdontthink $
10  *
11  */
12 
13 require_once (SM_PATH . 'plugins/info/functions.php');
14 
17  $squirrelmail_plugin_hooks['optpage_register_block']['info'] = 'info_opt';
18 }
19 
20 function info_opt() {
21  global $optpage_blocks;
22 
23  $optpage_blocks[] = array(
24  'name' => _("IMAP server information"),
25  'url' => '../plugins/info/options.php',
26  '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."),
27  'js' => false
28  );
29 }
30 
31 ?>
squirrelmail_plugin_init_info
squirrelmail_plugin_init_info()
Definition: setup.php:15
$squirrelmail_plugin_hooks
global $squirrelmail_plugin_hooks
Definition: plugin.php:17
SM_PATH
const SM_PATH
Definition: decrypt_headers.php:16
_
_($str)
Definition: gettext.php:160
info_opt
info_opt()
Definition: setup.php:20