/** * @see \Ableron\Core\Controller\Page\PageInterface::assignVariables() */ public function assignVariables() { parent::assignVariables(); Application::getTemplateHandler()->getVariables()->setAll(array('documentTitle' => Application::getI18nHandler()->getTranslator()->translate('sysInfo.systemInfo.title'), 'ableronCoreVersion' => Application::getVersion(), 'ableronInstallationTime' => StringUtil::formatDateTime(Application::getInstallationTime()), 'databaseManagementSystem' => SystemInformation::getDatabaseManagementSystem(), 'operatingSystem' => SystemInformation::getOperatingSystem(), 'phpVersion' => SystemInformation::getPhpVersion(), 'phpServerApi' => SystemInformation::getPhpServerApi(), 'webServer' => SystemInformation::getWebServer(), 'zendEngineVersion' => SystemInformation::getZendEngineVersion())); }
/** * @see \Ableron\Core\Controller\Page\PageInterface::assignVariables() */ public function assignVariables() { parent::assignVariables(); Application::getTemplateHandler()->getVariables()->setAll(array('documentTitle' => Application::getI18nHandler()->getTranslator()->translate('core.backend.index.title'))); }
/** * @see \Ableron\Core\Controller\Page\PageInterface::assignVariables() */ public function assignVariables() { parent::assignVariables(); Application::getTemplateHandler()->getVariables()->setAll(array('documentTitle' => Application::getI18nHandler()->getTranslator()->translate('core.backend.login.title'), 'loginForm' => $this->loginForm, 'username' => $this->username)); }
/** * @see \Ableron\Core\Controller\Page\PageInterface::display() */ public function display() { try { Application::getTemplateHandler()->display(ABLERON_MODULE_DIR . $this->getTemplateFile(), $this->getResponseContentType()); } catch (SystemException $e) { throw new SystemException(sprintf('Unable to display template "%s"', $this->getTemplateFile()), 0, E_USER_ERROR, __FILE__, __LINE__, $e); } }
/** * @see \Ableron\Core\Controller\Page\PageInterface::assignVariables() */ public function assignVariables() { parent::assignVariables(); Application::getTemplateHandler()->getVariables()->setAll(array('documentTitle' => Application::getI18nHandler()->getTranslator()->translate('sysInfo.phpInfo.title'), 'phpInfo' => $this->getPhpInfo())); }