commentaire

This commit is contained in:
Fred Tempez 2022-03-04 18:00:26 +01:00
parent 33086ee933
commit abdf47cd01
1 changed files with 2 additions and 1 deletions

View File

@ -2118,6 +2118,7 @@ class common {
* Affiche le style * Affiche le style
*/ */
public function showStyle() { public function showStyle() {
// Import des styles liés à la page
if($this->output['style']) { if($this->output['style']) {
echo '<base href="' . helper::baseUrl(true) .'">'; echo '<base href="' . helper::baseUrl(true) .'">';
if (strpos($this->output['style'], 'admin.css') >= 1 ) { if (strpos($this->output['style'], 'admin.css') >= 1 ) {
@ -2125,7 +2126,7 @@ class common {
} }
echo '<style type="text/css">' . helper::minifyCss($this->output['style']) . '</style>'; echo '<style type="text/css">' . helper::minifyCss($this->output['style']) . '</style>';
} }
// Import des fontes // Import des fontes liées au thème
if (file_exists(self::DATA_DIR.'fonts/fonts.html')) { if (file_exists(self::DATA_DIR.'fonts/fonts.html')) {
include_once(self::DATA_DIR.'fonts/fonts.html'); include_once(self::DATA_DIR.'fonts/fonts.html');
} }