| 1 | <?php |
| 2 | /** |
| 3 | * This script shows system specification details. |
| 4 | * |
| 5 | * @copyright © 1999-2007 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 | * Include the SquirrelMail initialization file. |
| 14 | */ |
| 15 | require('../../include/init.php'); |
| 16 | |
| 17 | /** load plugin functions */ |
| 18 | include_once(SM_PATH.'plugins/bug_report/functions.php'); |
| 19 | |
| 20 | /** is bug_report plugin disabled or called by wrong user */ |
| 21 | if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) { |
| 22 | error_box(_("Plugin is disabled.")); |
| 23 | $oTemplate->display('footer.tpl'); |
| 24 | exit(); |
| 25 | } |
| 26 | ?> |
| 27 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 28 | "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> |
| 29 | <html> |
| 30 | <body> |
| 31 | <pre> |
| 32 | <?php |
| 33 | |
| 34 | include_once(SM_PATH . 'plugins/bug_report/system_specs.php'); |
| 35 | global $body; |
| 36 | echo $body; |
| 37 | |
| 38 | ?> |
| 39 | </pre> |
| 40 | </body> |
| 41 | </html> |