A start for a new change_password master plugin. This is not finished
[squirrelmail.git] / plugins / info / setup.php
1 <?php
2
3 /** setup file for the IMAP server info plugin
4 * Copyright (c) 1999-2003 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$
10 * @package plugins
11 * @subpackage info
12 */
13
14 /** @ignore */
15 require_once (SM_PATH . 'plugins/info/functions.php');
16
17 function squirrelmail_plugin_init_info() {
18 global $squirrelmail_plugin_hooks;
19 $squirrelmail_plugin_hooks['optpage_register_block']['info'] = 'info_opt';
20 }
21
22 function info_opt() {
23 global $optpage_blocks;
24
25 $optpage_blocks[] = array(
26 'name' => _("IMAP server information"),
27 'url' => '../plugins/info/options.php',
28 '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."),
29 'js' => false
30 );
31 }
32
33 ?>