removed debug code

This commit is contained in:
Alexander M. Turek
2004-05-09 19:01:05 +00:00
parent ab435f590d
commit 6aa1cf45c8
3 changed files with 16 additions and 13 deletions

View File

@@ -13,6 +13,9 @@ $Source$
* db_datadict.php: Patch #950726 (minor CSS fixes) thanks to
Adam Shantz (musus).
* lang/german-*.inc.php: Updates.
* db_details_structure.php, main.php:
- coding standards;
- removed debug code.
2004-05-09 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties_operations.php, lang/*: InnoDB table defragmentation

View File

@@ -318,7 +318,7 @@ else {
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<input type="checkbox" name="selected_tbl[]" value="<?php echo $table_encoded; ?>" id="checkbox_tbl_<?php echo $i; ?>"<?php echo $checked; ?> />
</td>
<td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap" <?php //echo $click_mouse; ?>>
<td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap" <?php echo $click_mouse; ?>>
&nbsp;<b><label onclick="(document.getElementById('checkbox_tbl_<?php echo $i; ?>') ? return false : return true)" for="checkbox_tbl_<?php echo $i; ?>" title="<?php echo $alias; ?>"><?php echo $truename; ?></label>&nbsp;</b>&nbsp;
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
@@ -346,17 +346,17 @@ else {
?>
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<a href="tbl_change.php?<?php echo $tbl_url_query; ?>">
<?php echo $titles['Insert']; ?></a>
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<a href="tbl_properties_structure.php?<?php echo $tbl_url_query; ?>">
<?php echo $titles['Properties']; ?></a>
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<a href="sql.php?<?php echo $tbl_url_query; ?>&amp;reload=1&amp;purge=1&amp;sql_query=<?php echo urlencode('DROP TABLE ' . PMA_backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
onclick="return confirmLink(this, 'DROP TABLE <?php echo PMA_jsFormat($table); ?>')">
<?php echo $titles['Drop']; ?></a>
<a href="tbl_change.php?<?php echo $tbl_url_query; ?>">
<?php echo $titles['Insert']; ?></a>
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<a href="tbl_properties_structure.php?<?php echo $tbl_url_query; ?>">
<?php echo $titles['Properties']; ?></a>
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<a href="sql.php?<?php echo $tbl_url_query; ?>&amp;reload=1&amp;purge=1&amp;sql_query=<?php echo urlencode('DROP TABLE ' . PMA_backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
onclick="return confirmLink(this, 'DROP TABLE <?php echo PMA_jsFormat($table); ?>')">
<?php echo $titles['Drop']; ?></a>
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<?php

View File

@@ -171,7 +171,7 @@ if ($server > 0) {
// defined in the "common.lib.php" library)
// Note: if no controluser is defined, $dbh contains $userlink
$is_create_priv = true;
$is_create_priv = FALSE;
$is_process_priv = TRUE;
$is_reload_priv = FALSE;