3 use Friendica\Core\Config;
4 use Friendica\Core\PConfig;
6 if (file_exists("$THEMEPATH/style.css")){
7 echo file_get_contents("$THEMEPATH/style.css");
9 $uid = get_theme_uid();
11 $s_colorset = Config::get('duepuntozero','colorset');
12 $colorset = PConfig::get( $uid, 'duepuntozero', 'colorset');
14 $colorset = $s_colorset;
17 if ($colorset == 'greenzero')
18 $setcss = file_get_contents('view/theme/duepuntozero/deriv/greenzero.css');
19 if ($colorset == 'purplezero')
20 $setcss = file_get_contents('view/theme/duepuntozero/deriv/purplezero.css');
21 if ($colorset == 'easterbunny')
22 $setcss = file_get_contents('view/theme/duepuntozero/deriv/easterbunny.css');
23 if ($colorset == 'darkzero')
24 $setcss = file_get_contents('view/theme/duepuntozero/deriv/darkzero.css');
25 if ($colorset == 'comix')
26 $setcss = file_get_contents('view/theme/duepuntozero/deriv/comix.css');
27 if ($colorset == 'slackr')
28 $setcss = file_get_contents('view/theme/duepuntozero/deriv/slackr.css');