| [ Index ] |
PHP Cross Reference of MantisBT |
[Summary view] [Print] [Text view]
1 <?php 2 # MantisBT - A PHP based bugtracking system 3 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. 8 # 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. 13 # 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/>. 16 17 /** 18 * @package MantisBT 19 * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org 20 * @copyright Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net 21 * @link http://www.mantisbt.org 22 */ 23 /** 24 * MantisBT Core API's 25 */ 26 require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' ); 27 require_once ( 'schema.php' ); 28 29 access_ensure_global_level( config_get_global( 'admin_site_threshold' ) ); 30 31 html_page_top( 'MantisBT Administration' ); 32 33 function print_info_row( $p_description, $p_value ) { 34 echo '<tr ' . helper_alternate_class() . '>'; 35 echo '<th class="category">' . $p_description . '</th>'; 36 echo '<td>' . $p_value . '</td>'; 37 echo '</tr>'; 38 } 39 ?> 40 <br /> 41 42 <div> 43 <p>[ <a href="check/index.php">Check your installation</a> ]</p> 44 <?php if ( count($upgrade) - 1 != config_get( 'database_version' ) ) { ?> 45 <p>[ <a href="upgrade_warning.php"><strong>Upgrade your installation</strong></a> ]</p> 46 <?php } ?> 47 <p>[ <a href="system_utils.php">System Utilities</a> ]</p> 48 <p>[ <a href="test_icons.php">Test Icons</a> ]</p> 49 <p>[ <a href="test_langs.php">Test Langs</a> ]</p> 50 <p>[ <a href="test_email.php">Test Email</a> ]</p> 51 <p>[ <a href="email_queue.php">Email Queue</a> ]</p> 52 </div> 53 54 <table class="width75" cellspacing="1"> 55 <tr> 56 <td class="form-title" width="30%" colspan="2"><?php echo lang_get( 'install_information' ) ?></td> 57 </tr> 58 <?php 59 $t_version_suffix = config_get_global( 'version_suffix' ); 60 print_info_row( lang_get( 'mantis_version' ), MANTIS_VERSION, ( $t_version_suffix ? " $t_version_suffix" : '' ) ); 61 print_info_row( 'php_version', phpversion()); 62 ?> 63 <tr> 64 <td class="form-title" width="30%" colspan="2"><?php echo lang_get( 'database_information' ) ?></td> 65 </tr> 66 <?php 67 print_info_row( lang_get( 'schema_version' ), config_get( 'database_version' ) ); 68 print_info_row( 'adodb_version', $g_db->Version() ); 69 ?> 70 <tr> 71 <td class="form-title" width="30%" colspan="2"><?php echo lang_get( 'path_information' ) ?></td> 72 </tr> 73 <?php 74 print_info_row( lang_get( 'site_path' ), config_get( 'absolute_path' ) ); 75 print_info_row( lang_get( 'core_path' ), config_get( 'core_path' ) ); 76 print_info_row( lang_get( 'plugin_path' ), config_get( 'plugin_path' ) ); 77 ?> 78 </table> 79 <?php 80 html_page_bottom();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |