diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 0a3ae17d..f5464ca0 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -40,6 +40,13 @@ class Adminer { header("X-XSS-Protection: 0"); // prevents introducing XSS in IE8 by removing safe parts of the page } + /** Print HTML code inside + * @return bool true to link adminer.css if exists + */ + function head() { + return true; + } + /** Print login form * @return null */ diff --git a/adminer/include/design.inc.php b/adminer/include/design.inc.php index 245efa88..1d5deec8 100644 --- a/adminer/include/design.inc.php +++ b/adminer/include/design.inc.php @@ -24,7 +24,7 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") { <?php echo $title_page; ?> - +head() && file_exists("adminer.css")) { ?> diff --git a/changes.txt b/changes.txt index d78b00e8..788178fc 100644 --- a/changes.txt +++ b/changes.txt @@ -7,15 +7,16 @@ Send forms by Ctrl+Enter on