1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/includes/themes.php
2019-08-19 22:35:29 +02:00

27 lines
530 B
PHP
Executable File

<?php
/**
*
*
*/
function DisplayThemeConfig()
{
$cselected = '';
$hselected = '';
$tselected = '';
switch ($_COOKIE['theme']) {
case "custom.css":
$cselected = ' selected="selected"';
break;
case "hackernews.css":
$hselected = ' selected="selected"';
break;
case "terminal.css":
$tselected = ' selected="selected"';
break;
}
echo renderTemplate("themes", compact("cselected", "hselected", "tselected"));
}