|
|
@@ -18,7 +18,7 @@ function release_date(string $date) { |
|
|
|
|
|
|
|
function features(array $featuresArray, array $featuresAdminArray) { |
|
|
|
$userManager = UserManager::getInstance(); |
|
|
|
if(count($featuresArray) > 0) { |
|
|
|
if(count($featuresArray) > 0 || count($featuresAdminArray) > 0) { |
|
|
|
$html = '<div class="block block-features">'; |
|
|
|
$html .= '<h4><span class="glyphicon glyphicon-flash"></span> Évolutions</h4>'; |
|
|
|
$html .= '<ul>'; |
|
|
@@ -38,7 +38,7 @@ function features(array $featuresArray, array $featuresAdminArray) { |
|
|
|
|
|
|
|
function maintenance(array $maintenanceArray, array $maintenanceAdminArray) { |
|
|
|
$userManager = UserManager::getInstance(); |
|
|
|
if(count($maintenanceArray) > 0) { |
|
|
|
if(count($maintenanceArray) > 0 || count($maintenanceAdminArray) > 0) { |
|
|
|
$html = '<div class="block block-maintenance">'; |
|
|
|
$html .= '<h4><span class="glyphicon glyphicon-wrench"></span> Maintenance</h4>'; |
|
|
|
$html .= '<ul>'; |