diff options
author | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2006-04-25 19:21:33 +0400 |
---|---|---|
committer | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2006-04-25 19:21:33 +0400 |
commit | 7a19861b4b4b8e3c3cc22e769c8107b3c699e101 (patch) | |
tree | 3ffb7ee7e0f0f90d95476c020d59fe7b10327044 /server_variables.php | |
parent | aad17c30da7b01c1fc84aa50f4e43d8e383ce66c (diff) |
style upgrade
Diffstat (limited to 'server_variables.php')
-rw-r--r-- | server_variables.php | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/server_variables.php b/server_variables.php index ad24ec786d..f3482d587b 100644 --- a/server_variables.php +++ b/server_variables.php @@ -5,18 +5,18 @@ if ( ! defined( 'PMA_NO_VARIABLES_IMPORT' ) ) { define( 'PMA_NO_VARIABLES_IMPORT', true ); } -require_once('./libraries/common.lib.php'); +require_once './libraries/common.lib.php'; /** * Does the common work */ -require('./libraries/server_common.inc.php'); +require './libraries/server_common.inc.php'; /** * Displays the links */ -require('./libraries/server_links.inc.php'); +require './libraries/server_links.inc.php'; /** @@ -60,20 +60,19 @@ if (PMA_MYSQL_INT_VERSION >= 40003) { <tbody> <?php $odd_row = true; -$useBgcolorOne = TRUE; foreach ($serverVars as $name => $value) { ?> <tr class="<?php echo $odd_row ? 'odd' : 'even'; if (PMA_MYSQL_INT_VERSION >= 40003 - && $serverVarsGlobal[$name] !== $value ) { + && $serverVarsGlobal[$name] !== $value) { echo ' marked'; } ?>"> <th nowrap="nowrap"> <?php echo htmlspecialchars(str_replace('_', ' ', $name)); ?></th> <td class="value"><?php - if ( is_numeric($value) ) { + if (is_numeric($value)) { echo PMA_formatNumber($value, 0); $is_numeric = true; } else { @@ -83,7 +82,7 @@ foreach ($serverVars as $name => $value) { ?></td> <?php if (PMA_MYSQL_INT_VERSION >= 40003 - && $serverVarsGlobal[$name] !== $value ) { + && $serverVarsGlobal[$name] !== $value) { ?> </tr> <tr class="<?php @@ -91,7 +90,7 @@ foreach ($serverVars as $name => $value) { ?> marked"> <td>(<?php echo $strGlobalValue; ?>)</td> <td class="value"><?php - if ( $is_numeric ) { + if ($is_numeric) { echo PMA_formatNumber($serverVarsGlobal[$name], 0); } else { echo htmlspecialchars($serverVarsGlobal[$name]); @@ -111,6 +110,6 @@ foreach ($serverVars as $name => $value) { /** * Sends the footer */ -require_once('./libraries/footer.inc.php'); +require_once './libraries/footer.inc.php'; ?> |