removed debug code
This commit is contained in:
@@ -13,6 +13,9 @@ $Source$
|
|||||||
* db_datadict.php: Patch #950726 (minor CSS fixes) thanks to
|
* db_datadict.php: Patch #950726 (minor CSS fixes) thanks to
|
||||||
Adam Shantz (musus).
|
Adam Shantz (musus).
|
||||||
* lang/german-*.inc.php: Updates.
|
* 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>
|
2004-05-09 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_properties_operations.php, lang/*: InnoDB table defragmentation
|
* tbl_properties_operations.php, lang/*: InnoDB table defragmentation
|
||||||
|
@@ -318,7 +318,7 @@ else {
|
|||||||
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
<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; ?> />
|
<input type="checkbox" name="selected_tbl[]" value="<?php echo $table_encoded; ?>" id="checkbox_tbl_<?php echo $i; ?>"<?php echo $checked; ?> />
|
||||||
</td>
|
</td>
|
||||||
<td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap" <?php //echo $click_mouse; ?>>
|
<td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap" <?php echo $click_mouse; ?>>
|
||||||
<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> </b>
|
<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> </b>
|
||||||
</td>
|
</td>
|
||||||
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
||||||
@@ -346,17 +346,17 @@ else {
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
||||||
<a href="tbl_change.php?<?php echo $tbl_url_query; ?>">
|
<a href="tbl_change.php?<?php echo $tbl_url_query; ?>">
|
||||||
<?php echo $titles['Insert']; ?></a>
|
<?php echo $titles['Insert']; ?></a>
|
||||||
</td>
|
</td>
|
||||||
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
||||||
<a href="tbl_properties_structure.php?<?php echo $tbl_url_query; ?>">
|
<a href="tbl_properties_structure.php?<?php echo $tbl_url_query; ?>">
|
||||||
<?php echo $titles['Properties']; ?></a>
|
<?php echo $titles['Properties']; ?></a>
|
||||||
</td>
|
</td>
|
||||||
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
||||||
<a href="sql.php?<?php echo $tbl_url_query; ?>&reload=1&purge=1&sql_query=<?php echo urlencode('DROP TABLE ' . PMA_backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
|
<a href="sql.php?<?php echo $tbl_url_query; ?>&reload=1&purge=1&sql_query=<?php echo urlencode('DROP TABLE ' . PMA_backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
|
||||||
onclick="return confirmLink(this, 'DROP TABLE <?php echo PMA_jsFormat($table); ?>')">
|
onclick="return confirmLink(this, 'DROP TABLE <?php echo PMA_jsFormat($table); ?>')">
|
||||||
<?php echo $titles['Drop']; ?></a>
|
<?php echo $titles['Drop']; ?></a>
|
||||||
</td>
|
</td>
|
||||||
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
|
||||||
<?php
|
<?php
|
||||||
|
2
main.php
2
main.php
@@ -171,7 +171,7 @@ if ($server > 0) {
|
|||||||
// defined in the "common.lib.php" library)
|
// defined in the "common.lib.php" library)
|
||||||
// Note: if no controluser is defined, $dbh contains $userlink
|
// Note: if no controluser is defined, $dbh contains $userlink
|
||||||
|
|
||||||
$is_create_priv = true;
|
$is_create_priv = FALSE;
|
||||||
$is_process_priv = TRUE;
|
$is_process_priv = TRUE;
|
||||||
$is_reload_priv = FALSE;
|
$is_reload_priv = FALSE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user