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$ $Source$
2002-02-08 Marc Delisle <lem9@users.sourceforge.net> 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> 2002-02-08 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* lang/bulgarian-*; lang/japanese.inc.php3: updated thanks to * lang/bulgarian-*; lang/japanese.inc.php3: updated thanks to
Georgi Georgiev. 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> 2002-02-05 Marc Delisle <lem9@users.sourceforge.net>
* sql.php3, bug 463683 state tracking problem * sql.php3, bug 463683 state tracking problem

View File

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

View File

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

View File

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

View File

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