Example #1
0
 /**
  * @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()));
 }
Example #2
0
 /**
  * @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')));
 }
Example #3
0
 /**
  * @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));
 }
Example #4
0
 /**
  * @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);
     }
 }
Example #5
0
 /**
  * @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()));
 }