assign('error', I18N::get('You have no permissions for this action!')); return; } $this->assign('success', I18N::get('The System will be rebooted now!')); $template->getCore()->setSettings('REBOOT', date('Y-m-d H:i:s', time())); $template->getCore()->getHooks()->runAction('SERVER_REBOOT', time()); break; } } $rebooting = $template->getCore()->getSettings('REBOOT', null); if(!empty($rebooting)) { $this->assign('success', I18N::get('The System will be rebooted now!') . sprintf('
%s
', $rebooting)); } ?>