Browse Source

Version 24.5.B

feature/rotating_product
Guillaume Bourgeois 6 months ago
parent
commit
65082a6270
3 changed files with 32 additions and 3 deletions
  1. +1
    -1
      common/config/params.php
  2. +28
    -0
      common/versions/24.5.B.php
  3. +3
    -2
      common/versions/_macros.php

+ 1
- 1
common/config/params.php View File

*/ */


return [ return [
'version' => '24.5.A',
'version' => '24.5.B',
'maintenanceMode' => false, 'maintenanceMode' => false,
'siteName' => 'Souke', 'siteName' => 'Souke',
'tinyMcePlugins' => 'preview searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link lists wordcount help', 'tinyMcePlugins' => 'preview searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link lists wordcount help',

+ 28
- 0
common/versions/24.5.B.php View File

<?php

require_once dirname(__FILE__).'/_macros.php';

version(
'07/05/2024',
[
[
],
[
"[Administration] Communiquer > Email : correctif envois emails en masse (envois via nouveau prestataire : Brevo)"
]
],
[
[
"[Administration] Vue générale des utilisateurs",
"[Administration] Menu déroulant producteurs : ajout identifiant + entrée rapide avec la touche Entrée",
"[Administration] Support > tickets : notification par email pour l'admin quand une réponse est apportée à un ticket",
"[Administration] Utilisateurs > modifier : possibilité de définir un mot de passe manuellement"
],
[
"[Administration] Support admin : correctif count tickets dans le menu"
]
],
$userCurrent
);

?>

+ 3
- 2
common/versions/_macros.php View File



function features(array $featuresArray, array $featuresAdminArray, User $userCurrent) { function features(array $featuresArray, array $featuresAdminArray, User $userCurrent) {
$userModule = UserModule::getInstance(); $userModule = UserModule::getInstance();
if(count($featuresArray) > 0 || count($featuresAdminArray) > 0) {
$isGrantedAsUserCurrent = $userModule->getAuthorizationChecker()->isGrantedAsAdministrator($userCurrent);
if(count($featuresArray) > 0 || (count($featuresAdminArray) > 0 && $isGrantedAsUserCurrent)) {
$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>';
foreach($featuresArray as $feature) { foreach($featuresArray as $feature) {
$html .= '<li>'.$feature.'</li>'; $html .= '<li>'.$feature.'</li>';
} }
if($userModule->getAuthorizationChecker()->isGrantedAsAdministrator($userCurrent)) {
if($isGrantedAsUserCurrent) {
foreach($featuresAdminArray as $feature) { foreach($featuresAdminArray as $feature) {
$html .= '<li class="admin">'.$feature.'</li>'; $html .= '<li class="admin">'.$feature.'</li>';
} }

Loading…
Cancel
Save