From 7b07869d683882de4282c23702aba5973a0dd9ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Gur=C3=A1=C5=88?= Date: Mon, 7 Aug 2023 12:14:53 +0200 Subject: [PATCH] Added themes to settings --- includes/system.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/includes/system.php b/includes/system.php index 05735984..3bab0c3b 100755 --- a/includes/system.php +++ b/includes/system.php @@ -190,11 +190,15 @@ function DisplaySystem(&$extraFooterScripts) // theme options $themes = [ "default" => "RaspAP (default)", - "hackernews" => "HackerNews" + "hackernews" => "HackerNews", + "material-light" => "Material (light)", + "material-dark" => "Material (dark)" ]; $themeFiles = [ "default" => "custom.php", - "hackernews" => "hackernews.css" + "hackernews" => "hackernews.css", + "material-light" => "material-light.php", + "material-dark" => "material-dark.php" ]; $selectedTheme = array_search($_COOKIE['theme'], $themeFiles);