has(App\Mode::MAINTENANCEDISABLED)) {
$colorset = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'duepuntozero', 'colorset');
if (!$colorset)
$colorset = DI::config()->get('duepuntozero', 'colorset'); // user setting have priority, then node settings
}
if ($colorset) {
if ($colorset == 'greenzero')
DI::page()['htmlhead'] .= '' . "\n";
if ($colorset == 'purplezero')
DI::page()['htmlhead'] .= '' . "\n";
if ($colorset == 'easterbunny')
DI::page()['htmlhead'] .= '' . "\n";
if ($colorset == 'darkzero')
DI::page()['htmlhead'] .= '' . "\n";
if ($colorset == 'comix')
DI::page()['htmlhead'] .= '' . "\n";
if ($colorset == 'slackr')
DI::page()['htmlhead'] .= '' . "\n";
}
DI::page()['htmlhead'] .= <<< EOT
EOT;
}
/**
* @param int|null $uid
* @return null
* @see \Friendica\Core\Theme::getBackgroundColor()
* @TODO Implement this function
*/
function duepuntozero_get_background_color(int $uid = null)
{
return null;
}
/**
* @param int|null $uid
* @return null
* @see \Friendica\Core\Theme::getThemeColor()
* @TODO Implement this function
*/
function duepuntozero_get_theme_color(int $uid = null)
{
return null;
}