");
$oPage->add('
');
$oPage->add('
');
$oPage->add('');
$oPage->add(' ');
$oPage->add('');
$oPage->add($sVersionString.' ');
$oPage->add(Dict::S('UI:About:DataModel').': '.$sDataModelVersion.' ');
$oPage->add('MySQL: '.$sMySQLVersion.' ');
$oPage->add('PHP: '.$sPHPVersion.' ');
$oPage->add(' ');
$oPage->add(' ');
$oPage->add('
');
$oPage->add("
");
$oPage->add("
");
$oPage->add('
');
$oPage->add(''.Dict::S('UI:About:Licenses').' ');
$oPage->add('');
$index = 0;
foreach ($aLicenses as $oLicense) {
$oPage->add(''.$oLicense->product.' , © '.$oLicense->author.' is licensed under the '.$oLicense->license_type.' license . (Details )');
$oPage->add(''.$oLicense->text.'
');
$oPage->add_ready_script(<<add(' ');
$oPage->add(' ');
$oPage->add("
");
$oPage->add('
');
$oPage->add(''.Dict::S('UI:About:InstallationOptions').' ');
$oPage->add("");
$oPage->add('
');
require_once(APPROOT.'setup/extensionsmap.class.inc.php');
$oExtensionsMap = new iTopExtensionsMap();
$oExtensionsMap->LoadChoicesFromDatabase(MetaModel::GetConfig());
$aChoices = $oExtensionsMap->GetChoices();
foreach ($aChoices as $oExtension) {
$sDecorationClass = '';
switch ($oExtension->sSource) {
case iTopExtension::SOURCE_REMOTE:
$sSource = Dict::S('UI:About:RemoteExtensionSource');
$sDecorationClass = 'fc fc-chameleon-icon';
break;
case iTopExtension::SOURCE_MANUAL:
$sSource = Dict::S('UI:About:ManualExtensionSource');
$sDecorationClass = 'fas fa-folder';
break;
default:
$sSource = '';
}
$oPage->add(''.$oExtension->sLabel.' ');
}
$oPage->add(' ');
$oPage->add("
");
$oPage->add(' ');
// MUST NOT be localized, as the information given here will be sent to the support
$oPage->add("
".Dict::S('UI:About:Support')." \n");
$oPage->add("
");
$oPage->add('');
$oPage->add("
");
$oPage->add("
");
}
}