Icinga Web 2

$this->translate('Version: %s'), 'gitCommitID' => $this->translate('Git commit ID: %s'), 'gitCommitDate' => $this->translate('Git commit date: %s') ) as $key => $label) { if (array_key_exists($key, $version) && null !== ($value = $version[$key])) { $versionInfo[] = sprintf($label, htmlspecialchars($value)); } } } echo ( 0 === count($versionInfo) ? '

' . $this->translate( 'Can\'t determine Icinga Web 2\'s version' ) : '

' . nl2br(implode("\n", $versionInfo), false) ) . '

'; ?>