mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Update DisplayThemeConfig()
This commit is contained in:
parent
4378ff7add
commit
c16d48d2fe
1 changed files with 2 additions and 4 deletions
|
@ -7,13 +7,11 @@ function DisplayThemeConfig(&$extraFooterScripts)
|
|||
{
|
||||
$themes = [
|
||||
"default" => "RaspAP (default)",
|
||||
"hackernews" => "HackerNews",
|
||||
"lightsout" => "Lights Out"
|
||||
"hackernews" => "HackerNews"
|
||||
];
|
||||
$themeFiles = [
|
||||
"default" => "custom.php",
|
||||
"hackernews" => "hackernews.css",
|
||||
"lightsout" => "lightsout.css"
|
||||
"hackernews" => "hackernews.css"
|
||||
];
|
||||
$selectedTheme = array_search($_COOKIE['theme'], $themeFiles);
|
||||
|
||||
|
|
Loading…
Reference in a new issue