Codding standards

This commit is contained in:
Loïc Chapeaux
2002-07-06 22:10:32 +00:00
parent 4e257f3873
commit b93a2a2650
15 changed files with 632 additions and 520 deletions

View File

@@ -251,7 +251,7 @@ if ($server > 0) {
$db_to_create = '';
}
$common_url_query = 'lang=' . $lang . '&server=' . $server . '&convcharset=' . $convcharset;
$common_url_query = 'lang=' . $lang . '&convcharset=' . $convcharset . '&server=' . $server;
if ($is_superuser) {
$cfg['ShowMysqlInfo'] = TRUE;
@@ -446,8 +446,8 @@ if (empty($cfg['Lang'])) {
<td valign="baseline"><img src="<?php echo $item_img; ?>" width="7" height="7" alt="item" /></td>
<td nowrap="nowrap">
<form method="post" action="index.php3" target="_parent">
<input type="hidden" name="server" value="<?php echo $server; ?>" />
<input type="hidden" name="convcharset" value="<?php echo $convcharset; ?>" />
<input type="hidden" name="server" value="<?php echo $server; ?>" />
Language <a href="./translators.html" target="documentation">(*)</a>:
<select name="lang" dir="ltr" onchange="this.form.submit();">
<?php
@@ -488,11 +488,11 @@ if (empty($cfg['Lang'])) {
</tr>
<?php
}
echo "\n";
?>
<?php
if (isset($cfg['AllowAnywhereRecoding']) && $cfg['AllowAnywhereRecoding'] && $allow_recoding) {
?>
if (isset($cfg['AllowAnywhereRecoding']) && $cfg['AllowAnywhereRecoding']
&& $allow_recoding) {
echo "\n";
?>
<!-- Charset Selection -->
<tr>
<td valign="baseline"><img src="<?php echo $item_img; ?>" width="7" height="7" alt="item" /></td>
@@ -521,8 +521,8 @@ if (isset($cfg['AllowAnywhereRecoding']) && $cfg['AllowAnywhereRecoding'] && $al
</td>
</tr>
<?php
echo "\n";
}
echo "\n";
?>
<!-- Documentation -->
@@ -566,12 +566,14 @@ echo "\n";
<?php
if ($DisplayPmaAbsoluteUriWarning) {
echo '<p class="warning">'. $strPmaUriError . '</p>' . "\n";
/**
* Displays the "empty $cfg['PmaAbsoluteUri'] warning"
*/
if ($display_pmaAbsoluteUri_warning) {
echo '<p class="warning">' . $strPmaUriError . '</p>' . "\n";
}
/**
* Displays the footer
*/