removed tabs and/or trailing spaces

This commit is contained in:
Loïc Chapeaux
2002-02-10 09:31:41 +00:00
parent 579387e7c4
commit 7f919e6a86
54 changed files with 450 additions and 447 deletions

View File

@@ -5,11 +5,14 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-02-09 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* most of the scripts: removed tabs and/or trailing spaces.
2002-02-09 Marc Delisle <lem9@users.sourceforge.net>
* main.php3, libraries/auth/cookie.auth.lib.php3, Patch
495360 (cookie with domain), experimental, thanks to
Piotr Roszatycki (d3xter) and Christoph (certelt).
* tbl_properties.inc.php3: clarifications
* tbl_properties.inc.php3: clarifications.
* tbl_create.php3, tbl_addfield.php3, tbl_properties.inc.php3:
radio buttons for indexes.

View File

@@ -258,9 +258,9 @@ $strRowLength = '
$strRows = '<27><><EFBFBD><EFBFBD><EFBFBD>';
$strRowsFrom = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>';
$strRowSize = ' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> ';
$strRowsModeVertical=" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ";
$strRowsModeHorizontal=" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ";
$strRowsModeOptions="-<2D><> %s <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> %s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ";
$strRowsModeVertical = ' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ';
$strRowsModeHorizontal = ' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ';
$strRowsModeOptions = '-<2D><> %s <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> %s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ';
$strRowsStatistic = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
$strRunning = '<27><> %s';
$strRunQuery = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';

View File

@@ -188,7 +188,7 @@ $err_url = $goto
/**
* Set up default values for some variables and
* Set up default values for some variables
*/
$view_bookmark = 0;
$sql_bookmark = isset($sql_bookmark) ? $sql_bookmark : '';

View File

@@ -28,7 +28,7 @@ $err_url = 'tbl_properties.php3'
if (isset($submit)) {
$query = '';
// transform the radio button field_key into 3 arrays
// Transforms the radio button field_key into 3 arrays
$field_cnt = count($field_name);
for ($i = 0; $i < $field_cnt; ++$i) {
if (${'field_key_' . $i} == 'primary_' . $i) {
@@ -40,7 +40,7 @@ if (isset($submit)) {
if (${'field_key_' . $i} == 'unique_' . $i) {
$field_unique[] = $i;
}
}
} // end for
// Builds the field creation statement and alters the table
for ($i = 0; $i < $field_cnt; ++$i) {
if (get_magic_quotes_gpc()) {

View File

@@ -34,7 +34,7 @@ mysql_select_db($db);
if (isset($submit)) {
$sql_query = $query_cpy = '';
// transform the radio button field_key into 3 arrays
// Transforms the radio button field_key into 3 arrays
$field_cnt = count($field_name);
for ($i = 0; $i < $field_cnt; ++$i) {
if (${'field_key_' . $i} == 'primary_' . $i) {
@@ -46,7 +46,7 @@ if (isset($submit)) {
if (${'field_key_' . $i} == 'unique_' . $i) {
$field_unique[] = $i;
}
}
} // end for
// Builds the fields creation statements
for ($i = 0; $i < $field_cnt; $i++) {
if (empty($field_name[$i])) {

View File

@@ -34,9 +34,9 @@ $is_backup = ($action != 'tbl_create.php3' && $action != 'tbl_addfield.php3');
<th><?php echo $strDefault; ?></th>
<th><?php echo $strExtra; ?></th>
<?php
// We could remove this 'if' and let the key information be shown and
// editable. However, for this to work, tbl_alter must be modified
// to use the key fields, as tbl_addfield does.
// lem9: We could remove this 'if' and let the key information be shown and
// editable. However, for this to work, tbl_alter must be modified to use the
// key fields, as tbl_addfield does.
if (!$is_backup) {
echo " <th>$strPrimary</th>\n";
@@ -210,7 +210,7 @@ for ($i = 0 ; $i < $num_fields; $i++) {
</select>
</td>
<?php
// See my other comment about removing this 'if'.
// lem9: See my other comment about removing this 'if'.
if (!$is_backup) {
if (isset($row) && isset($row['Key']) && $row['Key'] == 'PRI') {
$checked_primary = ' checked="checked"';