X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fduepuntozero%2Ftheme.php;h=02882ca943ca91afe73c03c96a77e0f6d3e916e5;hb=f148dcabc45c2c793f28518aa2deec6d51826546;hp=d3378e49b8ac8dee1a78ce7c881346c9430d765c;hpb=d9c22c7f3e6a4bfff5814b59b266e2d72f0f71be;p=friendica.git
diff --git a/view/theme/duepuntozero/theme.php b/view/theme/duepuntozero/theme.php
index d3378e49b8..02882ca943 100644
--- a/view/theme/duepuntozero/theme.php
+++ b/view/theme/duepuntozero/theme.php
@@ -1,33 +1,30 @@
set_template_engine('smarty3');
-$colorset = get_pconfig( local_user(), 'duepuntozero','colorset');
-if (!$colorset) {
- $colorset = get_config('duepuntozero', 'colorset'); // user setting have priority, then node settings
-}
-if ($colorset) {
- if ($colorset == 'greenzero') {
- $a->page['htmlhead'] .= ''."\n";
- }
- if ($colorset == 'purplezero') {
- $a->page['htmlhead'] .= ''."\n";
- }
- if ($colorset == 'easterbunny') {
- $a->page['htmlhead'] .= ''."\n";
- }
- if ($colorset == 'darkzero') {
- $a->page['htmlhead'] .= ''."\n";
- }
- if ($colorset == 'comix') {
- $a->page['htmlhead'] .= ''."\n";
- }
- if ($colorset == 'slackr') {
- $a->page['htmlhead'] .= ''."\n";
- }
-}
+ $colorset = PConfig::get( local_user(), 'duepuntozero','colorset');
+ if (!$colorset)
+ $colorset = Config::get('duepuntozero', 'colorset'); // user setting have priority, then node settings
+ if ($colorset) {
+ if ($colorset == 'greenzero')
+ $a->page['htmlhead'] .= ''."\n";
+ if ($colorset == 'purplezero')
+ $a->page['htmlhead'] .= ''."\n";
+ if ($colorset == 'easterbunny')
+ $a->page['htmlhead'] .= ''."\n";
+ if ($colorset == 'darkzero')
+ $a->page['htmlhead'] .= ''."\n";
+ if ($colorset == 'comix')
+ $a->page['htmlhead'] .= ''."\n";
+ if ($colorset == 'slackr')
+ $a->page['htmlhead'] .= ''."\n";
+ }
$a->page['htmlhead'] .= <<< EOT