| 1 | <?php |
| 2 | |
| 3 | /* setup file for the IMAP server info plugin |
| 4 | * Copyright (c) 1999-2002 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 | */ |
| 10 | |
| 11 | require_once ('../plugins/info/functions.php'); |
| 12 | |
| 13 | function squirrelmail_plugin_init_info() { |
| 14 | global $squirrelmail_plugin_hooks; |
| 15 | $squirrelmail_plugin_hooks['optpage_register_block']['info'] = 'info_opt'; |
| 16 | } |
| 17 | |
| 18 | function info_opt() { |
| 19 | global $optpage_blocks; |
| 20 | |
| 21 | $optpage_blocks[] = array( |
| 22 | 'name' => _("IMAP server information"), |
| 23 | 'url' => '../plugins/info/options.php', |
| 24 | '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."), |
| 25 | 'js' => false |
| 26 | ); |
| 27 | } |
| 28 | |
| 29 | ?> |