diff --git a/core/core.php b/core/core.php index 5e545193..45752493 100644 --- a/core/core.php +++ b/core/core.php @@ -40,10 +40,10 @@ class common { 'install', 'maintenance', 'page', + 'search', 'sitemap', 'theme', - 'user', - 'search' + 'user' ]; private $data = []; private $hierarchy = [ diff --git a/core/layout/main.php b/core/layout/main.php index 365a2744..8784e3dc 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -220,53 +220,53 @@
- - getData(['theme', 'footer', 'template'])) { - case '1' : - $class['left'] = "displayNone"; - $class['center'] = "col12"; - $class['right'] = "displayNone"; - break; - case '2' : - $class['left'] = "col6"; - $class['center'] = "displayNone"; - $class['right'] = "col6"; - break; - case '3' : - $class['left'] = "col4"; - $class['center'] = "col4"; - $class['right'] = "col4"; - break; - case '4' : - $class['left'] = "col12"; - $class['center'] = "col12"; - $class['right'] = "col12"; - break; - }?> -
-
- getData(['theme', 'footer', 'textPosition']) === 'left') { $layout->showFooterText(); } - if($this->getData(['theme', 'footer', 'socialsPosition']) === 'left') { $layout->showSocials(); } - if($this->getData(['theme', 'footer', 'copyrightPosition']) === 'left') {$layout->showCopyright(); } - ?> -
-
- getData(['theme', 'footer', 'textPosition']) === 'center') { $layout->showFooterText(); } - if($this->getData(['theme', 'footer', 'socialsPosition']) === 'center') { $layout->showSocials(); } - if($this->getData(['theme', 'footer', 'copyrightPosition']) === 'center') { $layout->showCopyright(); } - ?> -
-
- getData(['theme', 'footer', 'textPosition']) === 'right') { $layout->showFooterText(); } - if($this->getData(['theme', 'footer', 'socialsPosition']) === 'right') { $layout->showSocials(); } - if($this->getData(['theme', 'footer', 'copyrightPosition']) === 'right') { $layout->showCopyright(); } - ?> -
-
- -
+ + getData(['theme', 'footer', 'template'])) { + case '1' : + $class['left'] = "displayNone"; + $class['center'] = "col12"; + $class['right'] = "displayNone"; + break; + case '2' : + $class['left'] = "col6"; + $class['center'] = "displayNone"; + $class['right'] = "col6"; + break; + case '3' : + $class['left'] = "col4"; + $class['center'] = "col4"; + $class['right'] = "col4"; + break; + case '4' : + $class['left'] = "col12"; + $class['center'] = "col12"; + $class['right'] = "col12"; + break; + }?> +
+
+ getData(['theme', 'footer', 'textPosition']) === 'left') { $layout->showFooterText(); } + if($this->getData(['theme', 'footer', 'socialsPosition']) === 'left') { $layout->showSocials(); } + if($this->getData(['theme', 'footer', 'copyrightPosition']) === 'left') {$layout->showCopyright(); } + ?> +
+
+ getData(['theme', 'footer', 'textPosition']) === 'center') { $layout->showFooterText(); } + if($this->getData(['theme', 'footer', 'socialsPosition']) === 'center') { $layout->showSocials(); } + if($this->getData(['theme', 'footer', 'copyrightPosition']) === 'center') { $layout->showCopyright(); } + ?> +
+
+ getData(['theme', 'footer', 'textPosition']) === 'right') { $layout->showFooterText(); } + if($this->getData(['theme', 'footer', 'socialsPosition']) === 'right') { $layout->showSocials(); } + if($this->getData(['theme', 'footer', 'copyrightPosition']) === 'right') { $layout->showCopyright(); } + ?> +
+
+ +
showScript();?> - \ No newline at end of file + diff --git a/core/module/theme/view/footer/footer.php b/core/module/theme/view/footer/footer.php index f4a29265..87e55564 100755 --- a/core/module/theme/view/footer/footer.php +++ b/core/module/theme/view/footer/footer.php @@ -40,7 +40,7 @@
- $this->getData(['theme', 'footer','displayCopyright']) ]); ?>
@@ -148,7 +148,7 @@ 'Marges verticales', 'selected' => $this->getData(['theme', 'footer', 'height']), - 'help' => 'La hauteur du pied de page est dynmamique selon le contenu.Ces marges sont ajoutées au-dessus et en-dessous.' + 'help' => 'La hauteur du pied de page est dynmamique selon le contenu. Ces marges sont ajoutées
au-dessus et en-dessous.' ]); ?>