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/>.
19 * @copyright Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
20 * @link http://www.mantisbt.org
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
29 * @uses helper_api.php
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' ) );
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
>
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
>
72 $t_is_admin = current_user_is_administrator();
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
>
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
>
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
>
93 event_signal( 'EVENT_MANAGE_OVERVIEW_INFO', array( $t_is_admin ) )