HTML output
This commit is contained in:
parent
c7b414770c
commit
1a40d5f4c5
@ -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 ;
|
||||
|
@ -3309,11 +3309,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