switched doctype to standard compliance mode
[squirrelmail.git] / plugins / bug_report / show_system_specs.php
1 <?php
2 /**
3 * This script shows system specification details.
4 *
5 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
6 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
7 * @version $Id$
8 * @package plugins
9 * @subpackage bug_report
10 */
11
12 /**
13 * @ignore
14 */
15 define('SM_PATH','../../');
16 /** load system functions */
17 include_once(SM_PATH . 'include/validate.php');
18 /** load error_box() function */
19 include_once(SM_PATH . 'functions/display_messages.php');
20 /** load plugin functions */
21 include_once(SM_PATH.'plugins/bug_report/functions.php');
22
23 /** is bug_report plugin disabled or called by wrong user */
24 if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
25 error_box(_("Plugin is disabled."),$color);
26 echo "\n</body></html>\n";
27 exit();
28 }
29 ?>
30 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
31 "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
32 <html>
33 <body>
34 <pre>
35 <?php
36
37 include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
38 global $body;
39 echo $body;
40
41 ?>
42 </pre>
43 </body>
44 </html>