mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update DisplayThemeConfig()
This commit is contained in:
parent
4378ff7add
commit
c16d48d2fe
@ -7,13 +7,11 @@ function DisplayThemeConfig(&$extraFooterScripts)
|
|||||||
{
|
{
|
||||||
$themes = [
|
$themes = [
|
||||||
"default" => "RaspAP (default)",
|
"default" => "RaspAP (default)",
|
||||||
"hackernews" => "HackerNews",
|
"hackernews" => "HackerNews"
|
||||||
"lightsout" => "Lights Out"
|
|
||||||
];
|
];
|
||||||
$themeFiles = [
|
$themeFiles = [
|
||||||
"default" => "custom.php",
|
"default" => "custom.php",
|
||||||
"hackernews" => "hackernews.css",
|
"hackernews" => "hackernews.css"
|
||||||
"lightsout" => "lightsout.css"
|
|
||||||
];
|
];
|
||||||
$selectedTheme = array_search($_COOKIE['theme'], $themeFiles);
|
$selectedTheme = array_search($_COOKIE['theme'], $themeFiles);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user