1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 19:44:00 +02:00

Add plugin for switching designs

This commit is contained in:
Jakub Vrana
2018-01-23 12:15:38 +01:00
parent 81be5edb97
commit 6d774794c8
5 changed files with 30 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ class Adminer {
}
/** Print HTML code inside <head>
* @return bool true to link adminer.css if exists
* @return bool true to link favicon.ico and adminer.css if exists
*/
function head() {
?>
@@ -87,6 +87,18 @@ class Adminer {
return true;
}
/** Get URLs of the CSS files
* @return array of strings
*/
function css() {
$return = array();
$filename = "adminer.css";
if (file_exists($filename)) {
$return[] = $filename;
}
return $return;
}
/** Print login form
* @return null
*/