mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Added themes to settings
This commit is contained in:
		| @@ -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); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user