a7b90f05 |
1 | <?php |
2 | |
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$ |
10 | * |
a7b90f05 |
11 | */ |
12 | |
e7aef88d |
13 | require_once (SM_PATH . 'plugins/info/functions.php'); |
a7b90f05 |
14 | |
15 | function squirrelmail_plugin_init_info() { |
16 | global $squirrelmail_plugin_hooks; |
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 | ?> |