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
|
// include userdata.inc.php
|
||||||
require FROXLOR_INSTALL_DIR."/lib/userdata.inc.php";
|
require FROXLOR_INSTALL_DIR."/lib/userdata.inc.php";
|
||||||
|
|
||||||
|
// fallback
|
||||||
|
$theme = 'Sparkle';
|
||||||
|
|
||||||
// le format
|
// le format
|
||||||
if (isset($sql['root_user'])
|
if (isset($sql['root_user'])
|
||||||
&& isset($sql['root_password'])
|
&& isset($sql['root_password'])
|
||||||
|
|||||||
4
templates/Sparkle/misc/ownershiphint.tpl
vendored
4
templates/Sparkle/misc/ownershiphint.tpl
vendored
@@ -12,12 +12,12 @@
|
|||||||
<body>
|
<body>
|
||||||
<div class="loginpage">
|
<div class="loginpage">
|
||||||
|
|
||||||
<article class="login bradius">
|
<article class="errorbox bradius">
|
||||||
<header class="dark">
|
<header class="dark">
|
||||||
<img src="templates/Sparkle/assets/img/logo.png" alt="Froxlor Server Management Panel" />
|
<img src="templates/Sparkle/assets/img/logo.png" alt="Froxlor Server Management Panel" />
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="loginsec">
|
<section class="errorsec">
|
||||||
<div class="errorcontainer bradius">
|
<div class="errorcontainer bradius">
|
||||||
<div class="errortitle">Whoops!</div>
|
<div class="errortitle">Whoops!</div>
|
||||||
<div class="error">
|
<div class="error">
|
||||||
|
|||||||
Reference in New Issue
Block a user