a7b90f05 |
1 | <?php |
2 | |
ea5f4b8e |
3 | /** setup file for the IMAP server info plugin |
76911253 |
4 | * Copyright (c) 1999-2003 The SquirrelMail Project Team |
a7b90f05 |
5 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
6 | * |
7 | * by: Jason Munro jason@stdbev.com |
6a85a764 |
8 | * |
9 | * $Id$ |
ea5f4b8e |
10 | * @package plugins |
11 | * @subpackage info |
a7b90f05 |
12 | */ |
13 | |
ea5f4b8e |
14 | /** @ignore */ |
e7aef88d |
15 | require_once (SM_PATH . 'plugins/info/functions.php'); |
a7b90f05 |
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 | ?> |