Happy New Year
[squirrelmail.git] / plugins / info / setup.php
1 <?php
2
3 /**
4 * setup file for the IMAP server info plugin
5 *
6 * @author Jason Munro <jason at stdbev.com>
7 * @copyright 1999-2020 The SquirrelMail Project Team
8 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
9 * @version $Id$
10 * @package plugins
11 * @subpackage info
12 */
13
14 /**
15 * Plugin init function
16 * @access private
17 */
18 function squirrelmail_plugin_init_info() {
19 global $squirrelmail_plugin_hooks;
20 $squirrelmail_plugin_hooks['optpage_register_block']['info'] = 'info_opt';
21 }
22
23 /**
24 * Plugin's block in option page
25 * @access private
26 */
27 function info_opt() {
28 global $optpage_blocks;
29
30 $optpage_blocks[] = array(
31 'name' => _("IMAP server information"),
32 'url' => '../plugins/info/options.php',
33 '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."),
34 'js' => false
35 );
36 }