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