Skip to content

Commit

Permalink
Filter databases
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Nov 18, 2022
1 parent 37dfb25 commit 769bcb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions adminer/filter.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
page_header(($name != "" ? lang('Alter filter') . ": " . h($name) : lang('Create filter')), $error, ["table" => $TABLE]);
?>

<form action="" method="post" id="form" style="width:40rem;">
<form action="" method="post" id="form" style="width:60rem;">
<p><?php echo lang('Name'); ?>: <input
name="Name"
value="<?php echo h($row["Name"]); ?>"
data-maxlength="64" autocapitalize="off">
<?php echo script("qs('#form')['Timing'].onchange();"); ?>
<p><?php monaco("Filter", $row["Filter"], 15, 40, "sql"); ?></p>
<p><?php monaco("Filter", $row["Filter"], 25, 60, "sql"); ?></p>
<p>
<input type="submit"
value="<?php echo lang('Save'); ?>">
Expand Down
2 changes: 1 addition & 1 deletion adminer/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function adminer_object() {

$plugins = array(
// specify enabled plugins here
new AdminerDatabaseHide(array('information_schema')),
new AdminerDatabaseHide(array('information_schema'), array('auditoria')),
new AdminerDumpJson,
new AdminerDumpBz2,
new AdminerDumpZip,
Expand Down

0 comments on commit 769bcb0

Please sign in to comment.