make ownership-hint a bit larger like the db-error-page; add theme-fallback to database-error-function to avoid this stupid 'we are sorry, but a MySQL - error occurred'-message
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -332,6 +332,9 @@ class Database {
|
||||
// include userdata.inc.php
|
||||
require FROXLOR_INSTALL_DIR."/lib/userdata.inc.php";
|
||||
|
||||
// fallback
|
||||
$theme = 'Sparkle';
|
||||
|
||||
// le format
|
||||
if (isset($sql['root_user'])
|
||||
&& isset($sql['root_password'])
|
||||
|
||||
4
templates/Sparkle/misc/ownershiphint.tpl
vendored
4
templates/Sparkle/misc/ownershiphint.tpl
vendored
@@ -12,12 +12,12 @@
|
||||
<body>
|
||||
<div class="loginpage">
|
||||
|
||||
<article class="login bradius">
|
||||
<article class="errorbox bradius">
|
||||
<header class="dark">
|
||||
<img src="templates/Sparkle/assets/img/logo.png" alt="Froxlor Server Management Panel" />
|
||||
</header>
|
||||
|
||||
<section class="loginsec">
|
||||
<section class="errorsec">
|
||||
<div class="errorcontainer bradius">
|
||||
<div class="errortitle">Whoops!</div>
|
||||
<div class="error">
|
||||
|
||||
Reference in New Issue
Block a user