plugins/SpecialPageFuncs.php
changeset 1378 e58294b867c1
parent 1377 fa2b0825bbc5
equal deleted inserted replaced
1377:fa2b0825bbc5 1378:e58294b867c1
   484 				</td>
   484 				</td>
   485 			</tr>
   485 			</tr>
   486 			<tr><td style="width: 100px;" class="row1"><?php echo $lang->get('meta_enano_about_lbl_enanoversion'); ?></td><td class="row1"><?php echo enano_version(true) . ' (' . enano_codename() . ')'; ?></td></tr>
   486 			<tr><td style="width: 100px;" class="row1"><?php echo $lang->get('meta_enano_about_lbl_enanoversion'); ?></td><td class="row1"><?php echo enano_version(true) . ' (' . enano_codename() . ')'; ?></td></tr>
   487 			<tr><td style="width: 100px;" class="row2"><?php echo $lang->get('meta_enano_about_lbl_webserver'); ?></td><td class="row2"><?php if(isset($_SERVER['SERVER_SOFTWARE'])) echo $_SERVER['SERVER_SOFTWARE']; else echo 'Unable to determine web server software.'; ?></td></tr>
   487 			<tr><td style="width: 100px;" class="row2"><?php echo $lang->get('meta_enano_about_lbl_webserver'); ?></td><td class="row2"><?php if(isset($_SERVER['SERVER_SOFTWARE'])) echo $_SERVER['SERVER_SOFTWARE']; else echo 'Unable to determine web server software.'; ?></td></tr>
   488 			<tr><td style="width: 100px;" class="row1"><?php echo $lang->get('meta_enano_about_lbl_serverplatform'); ?></td><td class="row1"><?php echo $platform; ?></td></tr>
   488 			<tr><td style="width: 100px;" class="row1"><?php echo $lang->get('meta_enano_about_lbl_serverplatform'); ?></td><td class="row1"><?php echo $platform; ?></td></tr>
   489 			<tr><td style="width: 100px;" class="row2"><?php echo $lang->get('meta_enano_about_lbl_phpversion'); ?></td><td class="row2"><?php echo PHP_VERSION; ?></td></tr>
   489 			<tr><td style="width: 100px;" class="row2"><?php echo $lang->get('meta_enano_about_lbl_dbdriver'); ?></td><td class="row2"><?php echo $db->dbms_name; ?></td></tr>
       
   490 			<tr><td style="width: 100px;" class="row1"><?php echo $lang->get('meta_enano_about_lbl_phpversion'); ?></td><td class="row1"><?php echo PHP_VERSION; ?></td></tr>
   490 			<?php
   491 			<?php
   491 			switch(ENANO_DBLAYER)
   492 			switch(ENANO_DBLAYER)
   492 			{
   493 			{
   493 				case 'MYSQL':
   494 				case 'MYSQL':
   494 					?>
   495 					?>
   495 					<tr><td style="width: 100px;" class="row1"><?php echo $lang->get('meta_enano_about_lbl_mysqlversion'); ?></td><td class="row1"><?php echo $db->get_server_version(); ?></td></tr>
   496 					<tr><td style="width: 100px;" class="row2"><?php echo $lang->get('meta_enano_about_lbl_mysqlversion'); ?></td><td class="row2"><?php echo $db->get_server_version(); ?></td></tr>
   496 					<?php
   497 					<?php
   497 					break;
   498 					break;
   498 				case 'PGSQL':
   499 				case 'PGSQL':
   499 					$pg_serverdata = pg_version($db->_conn);
   500 					$pg_serverdata = pg_version($db->_conn);
   500 					$pg_version = $pg_serverdata['server'];
   501 					$pg_version = $pg_serverdata['server'];
   501 					?>
   502 					?>
   502 					<tr><td style="width: 100px;" class="row1"><?php echo $lang->get('meta_enano_about_lbl_pgsqlversion'); ?></td><td class="row1"><?php echo $pg_version; ?></td></tr>
   503 					<tr><td style="width: 100px;" class="row2"><?php echo $lang->get('meta_enano_about_lbl_pgsqlversion'); ?></td><td class="row2"><?php echo $pg_version; ?></td></tr>
   503 					<?php
   504 					<?php
   504 					break;
   505 					break;
   505 			}
   506 			}
   506 			?>
   507 			?>
   507 		</table>
   508 		</table>