';
$html .= '
Date de sortie
';
$html .= '';
$html .= '';
echo $html;
}
function features(array $featuresArray, array $featuresAdminArray, User $userCurrent) {
$userModule = UserModule::getInstance();
if(count($featuresArray) > 0 || count($featuresAdminArray) > 0) {
$html = '';
$html .= '
Évolutions
';
$html .= '
';
foreach($featuresArray as $feature) {
$html .= '- '.$feature.'
';
}
if($userModule->getAuthorizationChecker()->isGrantedAsAdministrator($userCurrent)) {
foreach($featuresAdminArray as $feature) {
$html .= '- '.$feature.'
';
}
}
$html .= '
';
$html .= '
';
echo $html;
}
}
function maintenance(array $maintenanceArray, array $maintenanceAdminArray, User $userCurrent) {
$userModule = UserModule::getInstance();
if(count($maintenanceArray) > 0 || count($maintenanceAdminArray) > 0) {
$html = '';
$html .= '
Maintenance
';
$html .= '
';
foreach($maintenanceArray as $maintenance) {
$html .= '- '.$maintenance.'
';
}
if($userModule->getAuthorizationChecker()->isGrantedAsAdministrator($userCurrent)) {
foreach ($maintenanceAdminArray as $maintenance) {
$html .= '- ' . $maintenance . '
';
}
}
$html .= '
';
$html .= '
';
echo $html;
}
}