wip
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,4 +17,5 @@ logs/*
|
|||||||
!templates/Sparkle/
|
!templates/Sparkle/
|
||||||
!templates/misc/
|
!templates/misc/
|
||||||
templates/Froxlor/assets/img/logo_custom.png
|
templates/Froxlor/assets/img/logo_custom.png
|
||||||
|
templates/Froxlor/assets/img/logo_custom_login.png
|
||||||
vendor/
|
vendor/
|
||||||
|
|||||||
@@ -380,11 +380,14 @@ if (! array_key_exists('variants', $_themeoptions) || ! array_key_exists($themev
|
|||||||
|
|
||||||
// check for custom header-graphic
|
// check for custom header-graphic
|
||||||
$hl_path = 'templates/' . $theme . '/assets/img';
|
$hl_path = 'templates/' . $theme . '/assets/img';
|
||||||
$header_logo = $hl_path . '/logo.png';
|
$header_logo = $header_logo_login = $hl_path . '/logo.png';
|
||||||
|
|
||||||
if (file_exists($hl_path . '/logo_custom.png')) {
|
if (file_exists($hl_path . '/logo_custom.png')) {
|
||||||
$header_logo = $hl_path . '/logo_custom.png';
|
$header_logo = $hl_path . '/logo_custom.png';
|
||||||
}
|
}
|
||||||
|
if (file_exists($hl_path . '/logo_custom_login.png')) {
|
||||||
|
$header_logo_login = $hl_path . '/logo_custom_login.png';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Redirects to index.php (login page) if no session exists
|
* Redirects to index.php (login page) if no session exists
|
||||||
|
|||||||
2
templates/Sparkle/2fa/entercode.tpl
vendored
2
templates/Sparkle/2fa/entercode.tpl
vendored
@@ -1,7 +1,7 @@
|
|||||||
$header
|
$header
|
||||||
<article class="login bradius">
|
<article class="login bradius">
|
||||||
<header class="dark">
|
<header class="dark">
|
||||||
<img src="{$header_logo}" alt="Froxlor Server Management Panel" />
|
<img src="{$header_logo_login}" alt="Froxlor Server Management Panel" />
|
||||||
</header>
|
</header>
|
||||||
<section class="loginsec">
|
<section class="loginsec">
|
||||||
<form method="post" action="{$filename}" enctype="application/x-www-form-urlencoded">
|
<form method="post" action="{$filename}" enctype="application/x-www-form-urlencoded">
|
||||||
|
|||||||
2
templates/Sparkle/login/fpwd.tpl
vendored
2
templates/Sparkle/login/fpwd.tpl
vendored
@@ -1,7 +1,7 @@
|
|||||||
$header
|
$header
|
||||||
<article class="login bradius">
|
<article class="login bradius">
|
||||||
<header class="dark">
|
<header class="dark">
|
||||||
<img src="{$header_logo}" alt="Froxlor Server Management Panel" />
|
<img src="{$header_logo_login}" alt="Froxlor Server Management Panel" />
|
||||||
</header>
|
</header>
|
||||||
<if $message != ''>
|
<if $message != ''>
|
||||||
<div class="errorcontainer bradius">
|
<div class="errorcontainer bradius">
|
||||||
|
|||||||
2
templates/Sparkle/login/login.tpl
vendored
2
templates/Sparkle/login/login.tpl
vendored
@@ -1,7 +1,7 @@
|
|||||||
$header
|
$header
|
||||||
<article class="login bradius">
|
<article class="login bradius">
|
||||||
<header class="dark">
|
<header class="dark">
|
||||||
<img src="{$header_logo}" alt="Froxlor Server Management Panel" />
|
<img src="{$header_logo_login}" alt="Froxlor Server Management Panel" />
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<if $update_in_progress !== ''>
|
<if $update_in_progress !== ''>
|
||||||
|
|||||||
2
templates/Sparkle/login/login_ftp.tpl
vendored
2
templates/Sparkle/login/login_ftp.tpl
vendored
@@ -1,6 +1,6 @@
|
|||||||
<article class="login bradius">
|
<article class="login bradius">
|
||||||
<header class="dark">
|
<header class="dark">
|
||||||
<img src="{$header_logo}" alt="{t}Froxlor Server Management Panel{/t}" />
|
<img src="{$header_logo_login}" alt="{t}Froxlor Server Management Panel{/t}" />
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{if isset($successmessage)}
|
{if isset($successmessage)}
|
||||||
|
|||||||
2
templates/Sparkle/login/rpwd.tpl
vendored
2
templates/Sparkle/login/rpwd.tpl
vendored
@@ -1,7 +1,7 @@
|
|||||||
$header
|
$header
|
||||||
<article class="login bradius">
|
<article class="login bradius">
|
||||||
<header class="dark">
|
<header class="dark">
|
||||||
<img src="{$header_logo}" alt="Froxlor Server Management Panel" />
|
<img src="{$header_logo_login}" alt="Froxlor Server Management Panel" />
|
||||||
</header>
|
</header>
|
||||||
<if $message != ''>
|
<if $message != ''>
|
||||||
<div class="errorcontainer bradius">
|
<div class="errorcontainer bradius">
|
||||||
|
|||||||
Reference in New Issue
Block a user