Merge branch '12300' into 12400
This commit is contained in:
commit
a5593535a0
@ -3,6 +3,7 @@
|
||||
## Version 12.3.00
|
||||
### Améliorations :
|
||||
- Prise en charge PHP 8.2
|
||||
- Nettoyage de la sortie HTML.
|
||||
- Envoi d'eMail, PHPMailer :
|
||||
- Mise à jour PHPMailer 6.7.1, support PHP 8 ;
|
||||
- Personnalisation de l'adresse de l'expéditeur ;
|
||||
|
@ -3310,11 +3310,18 @@ class core extends common
|
||||
break;
|
||||
// Layout allégé
|
||||
case self::DISPLAY_LAYOUT_LIGHT:
|
||||
ob_start();
|
||||
require 'core/layout/light.php';
|
||||
$content = preg_replace('/\s+/', ' ', ob_get_clean());
|
||||
echo $content;
|
||||
break;
|
||||
// Layout principal
|
||||
case self::DISPLAY_LAYOUT_MAIN:
|
||||
ob_start();
|
||||
require 'core/layout/main.php';
|
||||
// Supprime les espaces et les sauts de ligne inutiles
|
||||
$content = preg_replace('/\s+/', ' ', ob_get_clean());
|
||||
echo $content;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user