SOAP API: do not try to unserialize an invalid filter
[mantis.git] / manage_overview_page.php
blob22d736d9eb1826d6bc70d02bb2300acfb14d09ee
1 <?php
2 # MantisBT - A PHP based bugtracking system
4 # MantisBT is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 2 of the License, or
7 # (at your option) any later version.
9 # MantisBT is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
17 /**
18 * @package MantisBT
19 * @copyright Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
20 * @link http://www.mantisbt.org
22 * @uses core.php
23 * @uses access_api.php
24 * @uses authentication_api.php
25 * @uses config_api.php
26 * @uses constant_inc.php
27 * @uses current_user_api.php
28 * @uses event_api.php
29 * @uses helper_api.php
30 * @uses html_api.php
31 * @uses lang_api.php
34 /**
35 * MantisBT Core API's
37 require_once( 'core.php' );
38 require_api( 'access_api.php' );
39 require_api( 'authentication_api.php' );
40 require_api( 'config_api.php' );
41 require_api( 'constant_inc.php' );
42 require_api( 'current_user_api.php' );
43 require_api( 'event_api.php' );
44 require_api( 'helper_api.php' );
45 require_api( 'html_api.php' );
46 require_api( 'lang_api.php' );
48 auth_reauthenticate();
49 access_ensure_global_level( config_get( 'manage_site_threshold' ) );
51 $t_version_suffix = config_get_global( 'version_suffix' );
53 html_page_top( lang_get( 'manage_link' ) );
55 print_manage_menu();
57 <div id="manage-overview-div" class="table-container">
58 <h2><?php echo lang_get( 'site_information' ) ?></h2>
59 <table id="manage-overview-table" cellspacing="1" cellpadding="5" border="1">
60 <tr <?php echo helper_alternate_class() ?>>
61 <th class="category"><?php echo lang_get( 'mantis_version' ) ?></th>
62 <td><?php echo MANTIS_VERSION, ( $t_version_suffix ? " $t_version_suffix" : '' ) ?></td>
63 </tr>
64 <tr <?php echo helper_alternate_class() ?>>
65 <th class="category"><?php echo lang_get( 'schema_version' ) ?></th>
66 <td><?php echo config_get( 'database_version' ) ?></td>
67 </tr>
68 <tr class="spacer">
69 <td colspan="2"></td>
70 </tr>
71 <?php
72 $t_is_admin = current_user_is_administrator();
73 if ( $t_is_admin ) {
75 <tr <?php echo helper_alternate_class() ?>>
76 <th class="category"><?php echo lang_get( 'site_path' ) ?></th>
77 <td><?php echo config_get( 'absolute_path' ) ?></td>
78 </tr>
79 <tr <?php echo helper_alternate_class() ?>>
80 <th class="category"><?php echo lang_get( 'core_path' ) ?></th>
81 <td><?php echo config_get( 'core_path' ) ?></td>
82 </tr>
83 <tr <?php echo helper_alternate_class() ?>>
84 <th class="category"><?php echo lang_get( 'plugin_path' ) ?></th>
85 <td><?php echo config_get( 'plugin_path' ) ?></td>
86 </tr>
87 <tr class="spacer">
88 <td colspan="2"></td>
89 </tr>
90 <?php
93 event_signal( 'EVENT_MANAGE_OVERVIEW_INFO', array( $t_is_admin ) )
95 </table>
96 </div>
97 <?php
98 html_page_bottom();