1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 23:27:17 +02:00

Trim trailing whitespace

This commit is contained in:
Jakub Vrana
2025-02-21 13:53:18 +01:00
parent 7900062d4d
commit 6fe9827eea
59 changed files with 757 additions and 756 deletions

View File

@@ -9,14 +9,14 @@
class AdminerDesigns {
/** @access protected */
var $designs;
/**
* @param array URL in key, name in value
*/
function __construct($designs) {
$this->designs = $designs;
}
function headers() {
if (isset($_POST["design"]) && verify_token()) {
restart_session();
@@ -24,7 +24,7 @@ class AdminerDesigns {
redirect($_SERVER["REQUEST_URI"]);
}
}
function css() {
$return = array();
if (array_key_exists($_SESSION["design"], $this->designs)) {
@@ -32,7 +32,7 @@ class AdminerDesigns {
}
return $return;
}
function navigation($missing) {
echo "<form action='' method='post' style='position: fixed; bottom: .5em; right: .5em;'>";
echo html_select("design", array("" => "(design)") + $this->designs, $_SESSION["design"], "this.form.submit();");