projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switched doctype to standard compliance mode
[squirrelmail.git]
/
plugins
/
bug_report
/
show_system_specs.php
diff --git
a/plugins/bug_report/show_system_specs.php
b/plugins/bug_report/show_system_specs.php
index 020dd518c1f0a32dd4d993b89ab6f7bff44a67f9..20b9bbe5bddcc39696ef4964e9f8e28c2c4debd1 100644
(file)
--- a/
plugins/bug_report/show_system_specs.php
+++ b/
plugins/bug_report/show_system_specs.php
@@
-1,13
+1,9
@@
<?php
<?php
-
/**
/**
- * This shows system specification details.
- *
- * 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.
+ * This script shows system specification details.
*
*
+ * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage bug_report
* @version $Id$
* @package plugins
* @subpackage bug_report
@@
-17,9
+13,22
@@
* @ignore
*/
define('SM_PATH','../../');
* @ignore
*/
define('SM_PATH','../../');
+/** load system functions */
include_once(SM_PATH . 'include/validate.php');
include_once(SM_PATH . 'include/validate.php');
+/** load error_box() function */
+include_once(SM_PATH . 'functions/display_messages.php');
+/** load plugin functions */
+include_once(SM_PATH.'plugins/bug_report/functions.php');
+/** is bug_report plugin disabled or called by wrong user */
+if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
+ error_box(_("Plugin is disabled."),$color);
+ echo "\n</body></html>\n";
+ exit();
+}
?>
?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<body>
<pre>
<html>
<body>
<pre>