Replacing deprecated HTML "center" element.
[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>
47ccfad4 7 * @copyright &copy; 1999-2006 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
ea5f4b8e 14/** @ignore */
e7aef88d 15require_once (SM_PATH . 'plugins/info/functions.php');
a7b90f05 16
b11fe046 17/**
18 * Plugin init function
19 * @access private
20 */
a7b90f05 21function squirrelmail_plugin_init_info() {
22 global $squirrelmail_plugin_hooks;
23 $squirrelmail_plugin_hooks['optpage_register_block']['info'] = 'info_opt';
24}
25
b11fe046 26/**
27 * Plugin's block in option page
28 * @access private
29 */
a7b90f05 30function info_opt() {
31 global $optpage_blocks;
32
33 $optpage_blocks[] = array(
34 'name' => _("IMAP server information"),
35 'url' => '../plugins/info/options.php',
7fe5aa79 36 '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 37 'js' => false
38 );
39}
40
91e0dccc 41?>