X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Finfo%2Fsetup.php;h=93a981ec40740c9158472028e28ce86fc2f00297;hp=6adcf0745e87e62db1763c7fcecd5a46655f9d57;hb=a15b73a49b070358cf1e8ec699911df67e58ef9e;hpb=76911253eb850bacde3d86c8cb7b4af072e67ebe diff --git a/plugins/info/setup.php b/plugins/info/setup.php index 6adcf074..93a981ec 100644 --- a/plugins/info/setup.php +++ b/plugins/info/setup.php @@ -1,31 +1,36 @@ + * @copyright 1999-2010 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @version $Id$ + * @package plugins + * @subpackage info */ -require_once (SM_PATH . 'plugins/info/functions.php'); - +/** + * Plugin init function + * @access private + */ function squirrelmail_plugin_init_info() { global $squirrelmail_plugin_hooks; $squirrelmail_plugin_hooks['optpage_register_block']['info'] = 'info_opt'; } +/** + * Plugin's block in option page + * @access private + */ function info_opt() { global $optpage_blocks; $optpage_blocks[] = array( 'name' => _("IMAP server information"), 'url' => '../plugins/info/options.php', - '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."), + '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."), 'js' => false ); } - -?>