diff --git a/core/core.php b/core/core.php
index cff3145f..40ba2a8b 100644
--- a/core/core.php
+++ b/core/core.php
@@ -184,7 +184,7 @@ class common {
];
public static $fontsWebSafe = [
- 'arial' => [
+ 'arial' => [
'name' => 'Arial',
'font-family' => 'Arial, Helvetica, sans-serif',
'resource' => 'websafe'
@@ -1377,9 +1377,6 @@ class common {
*/
echo '
';
$this->showContent();
- if (file_exists(self::DATA_DIR . 'body.inc.html')) {
- include(self::DATA_DIR . 'body.inc.html');
- }
echo '
';
/**
* Barre droite
@@ -2162,6 +2159,14 @@ class common {
}
echo '';
}
+ // Import des fontes en ligne
+ if ( file_exists(self::DATA_DIR.'fonts/fonts.html') ){
+ include_once(self::DATA_DIR . 'fonts/fonts.html');
+ }
+ // Import des fontes locales
+ if (file_exists(self::DATA_DIR.'fonts/fonts.css')) {
+ echo '';
+ }
}
/**
diff --git a/core/layout/blank.php b/core/layout/blank.php
index db6b8727..6e2d1852 100644
--- a/core/layout/blank.php
+++ b/core/layout/blank.php
@@ -13,17 +13,8 @@
-
-
-
-
-
-
-
+
+
showContent(); ?>
showScript(); ?>
diff --git a/core/layout/light.php b/core/layout/light.php
index e8de5ea5..833cb19d 100644
--- a/core/layout/light.php
+++ b/core/layout/light.php
@@ -14,16 +14,6 @@
-
-
-
-
-
-
showNotification(); ?>
diff --git a/core/layout/main.php b/core/layout/main.php
index 1f19c331..f1c2fbbc 100644
--- a/core/layout/main.php
+++ b/core/layout/main.php
@@ -13,16 +13,7 @@
-
-
-
-
-
-
+
getData(['page', $this->getUrl(0), 'moduleId']) === 'blog'
OR $this->getData(['page', $this->getUrl(0), 'moduleId']) === 'news' )
@@ -30,6 +21,7 @@
showStyle(); ?>
+
@@ -196,6 +188,10 @@
showCookies(); ?>
showScript();?>
-
+
+