| 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 | * |
| 11 | */ |
| 12 | |
| 13 | require_once (SM_PATH . 'plugins/info/functions.php'); |
| 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 | ?> |