Browse Source

using squirrelmail api for error message

tokul 20 years ago
parent
commit
9f54612227
1 changed files with 2 additions and 3 deletions
  1. 2 3
      plugins/info/options.php

+ 2 - 3
plugins/info/options.php

@@ -33,9 +33,8 @@ $mailbox = 'INBOX';
  * prevent use of plugin if it is not enabled
  * prevent use of plugin if it is not enabled
  */
  */
 if (! is_plugin_enabled('info')) {
 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;
     exit;
 }
 }