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:
@@ -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();");
|
||||
|
Reference in New Issue
Block a user