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