thicker border
[squirrelmail.git] / plugins / bug_report / show_system_specs.php
index 83e22b039b478c319ad534277746c2a853eb5e72..16d51d8b672ea6847b6494bb4337f8cd20b31ade 100644 (file)
@@ -3,24 +3,32 @@
 /**
  * This shows system specification details.
  *
- * Copyright (c) 1999-2004 The SquirrelMail development team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * This is a standard SquirrelMail 1.2 API for plugins.
  *
- * This is a standard Squirrelmail-1.2 API for plugins.
- *
- * $Id$
+ * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage bug_report
  */
 
-
+/**
+ * @ignore
+ */
 define('SM_PATH','../../');
 include_once(SM_PATH . 'include/validate.php');
 
-
+/** is bug_report plugin disabled */
+if (! is_plugin_enabled('bug_report')) {
+    error_box(_("Plugin is disabled."),$color);
+    echo "\n</body></html>\n";
+    exit();
+}
 ?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <body>
 <pre>
-
 <?php
 
 include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
@@ -30,4 +38,4 @@ echo $body;
 ?>
 </pre>
 </body>
-</html>
+</html>
\ No newline at end of file