Use $_SESSION['database']

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@181 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2007-07-16 11:41:49 +00:00
parent 12c42b156e
commit d99f4a7108
4 changed files with 7 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ $collations = collations();
<select name="Collation"><option value="">(<?php echo lang('collation'); ?>)</option><?php echo optionlist($collations, $row["Collation"]); ?></select>
<input type="submit" value="<?php echo lang('Save'); ?>" />
</p>
<?php $column_comments = edit_fields($row["fields"]); ?>
<?php $column_comments = edit_fields($row["fields"], $collations); ?>
<p><?php echo lang('Comment'); ?>: <input name="Comment" value="<?php echo htmlspecialchars($row["Comment"]); ?>" maxlength="60" />
<script type="text/javascript">
document.write('<label for="column_comments"><input type="checkbox" id="column_comments"<?php if ($column_comments) { ?> checked="checked"<?php } ?> onclick="column_comments_click(this.checked);" /><?php echo lang('Show column comments'); ?></label>');