mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
Add helper for <input type=hidden>
This commit is contained in:
@@ -35,7 +35,7 @@ class AdminerDesigns {
|
||||
function navigation($missing) {
|
||||
echo "<form action='' method='post' style='position: fixed; bottom: .5em; right: .5em;'>";
|
||||
echo Adminer\html_select("design", array("" => "(design)") + $this->designs, $_SESSION["design"], "this.form.submit();");
|
||||
echo '<input type="hidden" name="token" value="' . Adminer\get_token() . '">';
|
||||
echo Adminer\input_token();
|
||||
echo "</form>\n";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user