fsf changes, meant to be rebased on upstream
[squirrelmail.git] / plugins / info / setup.php
index 6d757c458791e45a50b9c12477bb6ffba095dbb5..d1af6a3c4a5ba6b6cc529cf66a2be608ded23e90 100644 (file)
@@ -1,29 +1,36 @@
 <?php
 
-/* setup file for the IMAP server info plugin
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *   
- * by: Jason Munro jason@stdbev.com
+/**
+ * setup file for the IMAP server info plugin
  *
+ * @author Jason Munro <jason at stdbev.com>
+ * @copyright 1999-2022 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
     );
 }
-
-?>