removed tabs and/or trailing spaces

This commit is contained in:
Loïc Chapeaux
2002-02-08 18:06:21 +00:00
parent 9d60390efa
commit 975e3b263a
5 changed files with 28 additions and 17 deletions

View File

@@ -6,12 +6,20 @@ $Id$
$Source$
2002-02-08 Marc Delisle <lem9@users.sourceforge.net>
* ukrainian updates thanks to Markijan Baran
* ukrainian updates thanks to Markijan Baran.
2002-02-08 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* lang/bulgarian-*; lang/japanese.inc.php3: updated thanks to
Georgi Georgiev.
* lang/japanese.inc.php3 : fixes by "Luc" <luc at ceres.dti.ne.jp>.
* lang/japanese.inc.php3: fixes by "Luc" <luc at ceres.dti.ne.jp>.
* left.php3: beautified the alignement of the generated xhtml code (it's
easier to find error this way ;)).
* sql.php3, line 76: replaced space characters by the "[[:space:]]" POSIX
expression.
* Documentation.html; tbl_properties.inc.php3: xhtml fix.
* user_details.php3; mult_submits.inc.php3; tbl_replace.php3;
tbl_properties.php3:
removed tabs and/or trailing spaces.
2002-02-05 Marc Delisle <lem9@users.sourceforge.net>
* sql.php3, bug 463683 state tracking problem

View File

@@ -1,6 +1,7 @@
<?php
/* $Id$ */
/**
* Confirmation form if required or include of other scripts
*/
@@ -14,10 +15,10 @@ if (!empty($submit_mult)
$selected = $selected_db;
$what = 'drop_db';
} else if (!empty($selected_tbl)) {
if ($submit_mult == $strPrintView) {
if ($submit_mult == $strPrintView) {
include('./tbl_printview.php3');
exit();
} else {
} else {
$selected = $selected_tbl;
switch ($submit_mult) {
case $strDrop:
@@ -160,11 +161,11 @@ else if ((get_magic_quotes_gpc() && stripslashes($mult_btn) == $strYes)
break;
} // end switch
// All "DROP TABLE","DROP FIELD" and "OPTIMIZE TABLE" statements
// will be run at once below
if ($query_type != 'drop_tbl'
&& $query_type != 'drop_fld'
&& $query_type != 'optimize_tbl') {
// All "DROP TABLE","DROP FIELD" and "OPTIMIZE TABLE" statements will
// be run at once below
if ($query_type != 'drop_tbl'
&& $query_type != 'drop_fld'
&& $query_type != 'optimize_tbl') {
$sql_query .= $a_query . ';' . "\n";
if ($query_type != 'drop_db') {
@@ -174,9 +175,9 @@ else if ((get_magic_quotes_gpc() && stripslashes($mult_btn) == $strYes)
} // end if
} // end for
if ($query_type == 'drop_tbl'
|| $query_type == 'drop_fld'
|| $query_type == 'optimize_tbl') {
if ($query_type == 'drop_tbl'
|| $query_type == 'drop_fld'
|| $query_type == 'optimize_tbl') {
mysql_select_db($db);
$result = @mysql_query($sql_query) or PMA_mysqlDie('', '', FALSE, $err_url);
}

View File

@@ -691,9 +691,8 @@ echo "\n";
</li>
<!-- Query box and bookmark support -->
<li>
<a name="querybox"></a>
<a name="querybox"></a>
<form method="post" action="read_dump.php3" enctype="multipart/form-data"
onsubmit="return checkSqlQuery(this)">
<input type="hidden" name="is_js_confirmed" value="0" />

View File

@@ -7,6 +7,8 @@
*/
require('./libraries/grab_globals.lib.php3');
require('./libraries/common.lib.php3');
/**
* Initializes some variables
*/
@@ -27,8 +29,8 @@ if (isset($after_insert) && $after_insert == 'new_insert') {
. '&disp_direction=' . $disp_direction
. '&repeat_cells=' . $repeat_cells
. (empty($sql_query) ? '' : '&sql_query=' . urlencode($sql_query));
} else if ($goto == 'sql.php3'
or ($goto == 'tbl_properties.php3' and !empty($sql_query))) {
} else if ($goto == 'sql.php3'
|| ($goto == 'tbl_properties.php3' && !empty($sql_query))) {
$goto = 'sql.php3?'
. 'lang=' . $lang
. '&server=' . $server

View File

@@ -1,6 +1,7 @@
<?php
/* $Id$*/
/**
* Gets some core libraries
*/