getMessages(); echo ' '.$pageTitle.' - '.tr('OpenSTAManager').' '; // CSS foreach (App::getAssets()['css'] as $style) { echo ' '; } // Print CSS foreach (App::getAssets()['print'] as $style) { echo ' '; } if (Auth::check()) { echo ' '; } else { echo ' '; } // JS foreach (App::getAssets()['js'] as $js) { echo ' '; } // Impostazioni di default per gli alert echo ' '; if (Auth::check()) { // Barra di debug if (App::debug()) { $debugbar = new DebugBar\DebugBar(); $debugbar->addCollector(new DebugBar\DataCollector\MemoryCollector()); $debugbar->addCollector(new DebugBar\DataCollector\PhpInfoCollector()); $debugbar->addCollector(new DebugBar\DataCollector\RequestDataCollector()); $debugbar->addCollector(new DebugBar\DataCollector\TimeDataCollector()); $debugbar->addCollector(new DebugBar\Bridge\MonologCollector($logger)); $debugbar->addCollector(new DebugBar\DataCollector\PDO\PDOCollector($dbo->getPDO())); $debugbarRenderer = $debugbar->getJavascriptRenderer(); $debugbarRenderer->setIncludeVendors(false); $debugbarRenderer->setBaseUrl($paths['assets'].'/php-debugbar'); echo $debugbarRenderer->renderHead(); } if (setting('Abilita esportazione Excel e PDF')) { echo ' '; } } $hide_sidebar = Auth::check() && setting('Nascondere la barra sinistra di default'); echo '
'; if (Auth::check()) { $calendar = ($_SESSION['period_start'] != date('Y').'-01-01' || $_SESSION['period_end'] != date('Y').'-12-31') ? 'red' : 'white'; echo '