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

27 lines
530 B
PHP
Raw Normal View History

2017-10-07 01:08:06 +02:00
<?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;
}
2019-08-19 00:35:58 +02:00
echo renderTemplate("themes", compact("cselected", "hselected", "tselected"));
2017-10-07 01:08:06 +02:00
}