removed * from list prefix
[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 &copy; 1999-2005 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 /** @ignore */
15 require_once (SM_PATH . 'plugins/info/functions.php');
16
17 /**
18 * Plugin init function
19 * @access private
20 */
21 function squirrelmail_plugin_init_info() {
22 global $squirrelmail_plugin_hooks;
23 $squirrelmail_plugin_hooks['optpage_register_block']['info'] = 'info_opt';
24 }
25
26 /**
27 * Plugin's block in option page
28 * @access private
29 */
30 function info_opt() {
31 global $optpage_blocks;
32
33 $optpage_blocks[] = array(
34 'name' => _("IMAP server information"),
35 'url' => '../plugins/info/options.php',
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."),
37 'js' => false
38 );
39 }
40
41 ?>