X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fduepuntozero%2Ftheme.php;h=02882ca943ca91afe73c03c96a77e0f6d3e916e5;hb=0d8e5eace5af9ff55cf86b855bdf8c978b707d3f;hp=50d57f91e5759041f463284537ddcfcc1495ad9d;hpb=d30d13959b21eafc7ea35d26ccc6bf10a84f8541;p=friendica.git
diff --git a/view/theme/duepuntozero/theme.php b/view/theme/duepuntozero/theme.php
index 50d57f91e5..02882ca943 100644
--- a/view/theme/duepuntozero/theme.php
+++ b/view/theme/duepuntozero/theme.php
@@ -1,12 +1,16 @@
set_template_engine('smarty3');
+
+ $colorset = PConfig::get( local_user(), 'duepuntozero','colorset');
if (!$colorset)
- $colorset = get_config('duepuntozero', 'colorset'); // user setting have priority, then node settings
+ $colorset = Config::get('duepuntozero', 'colorset'); // user setting have priority, then node settings
if ($colorset) {
if ($colorset == 'greenzero')
$a->page['htmlhead'] .= ''."\n";
@@ -23,92 +27,77 @@ set_template_engine($a, 'smarty3');
}
$a->page['htmlhead'] .= <<< EOT
EOT;
}