diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..88d9b065 --- /dev/null +++ b/.htaccess @@ -0,0 +1,8 @@ +# Cache le PHPSESSID de l'url +SetEnv SESSION_USE_TRANS_SID 0 + +# Bloque l'accès à la liste des fichiers +Options -Indexes + +# Attention, surtout ne rien modifier ci-dessous ! +# URL rewriting \ No newline at end of file diff --git a/core/core.php b/core/core.php index e1f2a90a..0dfffdb8 100644 --- a/core/core.php +++ b/core/core.php @@ -24,7 +24,7 @@ class common { const GROUP_MEMBER = 1; const GROUP_MODERATOR = 2; const GROUP_ADMIN = 3; - const ZWII_VERSION = '8.4.0'; + const ZWII_VERSION = '8.4.1'; public static $actions = []; public static $coreModuleIds = [ @@ -904,7 +904,7 @@ class common { $this->setData(['theme','footer','socialsPosition','1']); $this->setData(['theme','footer','textPosition','2']); $this->setData(['theme','footer','copyrightPosition','3']); - $this->setData(['config','ItemsperPage','10']); + $this->setData(['config','ItemsperPage',10]); $this->setData(['core', 'dataVersion', 840]); $this->SaveData(); } diff --git a/core/layout/common.css b/core/layout/common.css index 1f7d7d19..77f45837 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -76,8 +76,8 @@ ol { /* Image */ img { - max-width: 100%; - height: auto; + max-width: 100% !important; + height: auto !important; } img[align='left'] { margin-right: 10px; @@ -311,6 +311,11 @@ header .container { height: 100%; } +/* Bannière image responsive */ +.responsive-banner img { + display:block; width:100%; +} + /* Menu */ body > nav { margin: 0 -10px; @@ -1044,4 +1049,4 @@ th.col12 { } .colorOrange { color: #F39C12; -} \ No newline at end of file +} diff --git a/core/layout/main.php b/core/layout/main.php index fd3cd7dc..29256e26 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -25,8 +25,7 @@ @@ -244,4 +243,4 @@ showAnalytics(); ?> showScript(); ?> - \ No newline at end of file + diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index 081d32e9..4c37bc58 100755 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -38,6 +38,7 @@

Image

'Si vous souhaitez une bannière vraiment responsive, composez une image aux dimensions prévues par Zwii avec titre, logo, slogan, etc. et choisissez la position « Cachée ».', 'label' => 'Fond', 'type' => 1, 'value' => $this->getData(['theme', 'header', 'image'])