adding error checking in deliver_sendmail class.
[squirrelmail.git] / plugins / info / options.php
index 421a16ee70c8fe34489dce5f8a794571bcf3b4ce..fcd0257120c90e3c040f88e7e0fb821ae995ac94 100644 (file)
@@ -1,13 +1,14 @@
 <?php
+
 /**
  * options page for IMAP info plugin
  *
  * This is where it all happens :)
  *
- * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @author Jason Munro <jason at stdbev.com>
+ * @copyright &copy; 1999-2005 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
- * @author Jason Munro jason@stdbev.com
  * @package plugins
  * @subpackage info
  */
@@ -33,9 +34,8 @@ $mailbox = 'INBOX';
  * prevent use of plugin if it is not enabled
  */
 if (! is_plugin_enabled('info')) {
-    echo '<p align="center"><big>'.
-         _("Plugin is disabled.").
-         '</big></p></body></html>';
+    error_box(_("Plugin is disabled."),$color);
+    echo '</body></html>';
     exit;
 }