* a button to show the bug report mail message in order to actually
* send it.
*
- * Copyright (c) 1999-2005 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.
*
+ * @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
require_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();
+}
+
// loading form functions
-require_once(SM_PATH . 'functions/forms.php');
+include_once(SM_PATH . 'functions/forms.php');
displayPageHeader($color, 'None');
<?php
echo $warning_html;
+echo '<p><a href="show_system_specs.php" target="_blank">';
+echo _("Show System Specifications");
+echo "</a></p>\n\n";
echo '<p><big>';
echo _("Before you send your bug report, please make sure to check this checklist for any common problems.");
echo "</big></p>\n";