function theme_post(App $a){
// non local users shall not pass
- if (! Session::getLocalUser()) {
+ if (!Session::getLocalUser()) {
return;
}
// if the one specific submit button was pressed then proceed
For this, have a look at the theme.php file of the *duepunto zero*.
There you'll find somethink alike
- $colorset = DI::pConfig()->get( Session::getLocalUser(), 'duepuntozero','colorset');
+ $colorset = DI::pConfig()->get(Session::getLocalUser(), 'duepuntozero','colorset');
if (!$colorset)
$colorset = DI::config()->get('duepuntozero', 'colorset');
if ($colorset) {