diff --git a/CHANGES.md b/CHANGES.md index 512e6c25..06bdd834 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,15 @@ # Changelog +## Version 10.3.09 +Corrections : + - Configuration : persistance de l'ouverture des blocs. + - Réinitialisation du mot de passe : + - Remise à zéro du timer après renouvellement du mot de passe. + - Affichage de le fenêtrenouveau mot de passe en mode allégé. + - Redirection sur la page d'accueil. + - Modules news et blog : transparence icône RSS. + - Position de l'écran de configuration + ## Version 10.3.08 Corrections : - Notification de mise à jour d'update bloqué @@ -12,7 +22,7 @@ Corrections : ## version 10.3.06 - Correction : - Edition de page avec module, le changement de mise en page désactive le bouton d'option du module. -- Modification : +- Modification : - Modules News et Blog : ajout de l'option flux RSS. L'option est activée par défaut. ## version 10.3.05 diff --git a/core/core.php b/core/core.php index d36f3807..238e9bb2 100755 --- a/core/core.php +++ b/core/core.php @@ -40,7 +40,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.3.08'; + const ZWII_VERSION = '10.3.09'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; @@ -1602,7 +1602,7 @@ class core extends common { //$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}'; $css .= '.container{max-width:' . $this->getData(['theme', 'site', 'width']) . '}'; $margin = $this->getData(['theme', 'site', 'margin']) ? '0' : '20px'; - $css .= $this->getData(['theme', 'site', 'width']) === '100%' ? '#site.light{margin:150px auto !important;}#site{margin:0 auto !important;} body{margin:0 auto !important;} #bar{margin:0 auto !important;} body > header{margin:0 auto !important;} body > nav {margin: 0 auto !important;} body > footer {margin:0 auto !important;}': "#site.light{margin: 100px auto !important;}#site{margin: " . $margin . " auto !important;} body{margin:0px 10px;} #bar{margin: 0 -10px;} body > header{margin: 0 -10px;} body > nav {margin: 0 -10px;} body > footer {margin: 0 -10px;} "; + $css .= $this->getData(['theme', 'site', 'width']) === '100%' ? '#site.light{margin:60px auto !important;}#site{margin:0 auto !important;} body{margin:0 auto !important;} #bar{margin:0 auto !important;} body > header{margin:0 auto !important;} body > nav {margin: 0 auto !important;} body > footer {margin:0 auto !important;}': "#site.light{margin: 60px auto !important;}#site{margin: " . $margin . " auto !important;} body{margin:0px 10px;} #bar{margin: 0 -10px;} body > header{margin: 0 -10px;} body > nav {margin: 0 -10px;} body > footer {margin: 0 -10px;} "; $css .= $this->getData(['theme', 'site', 'width']) === '750px' ? '.button, button{font-size:0.8em;}' : ''; $css .= '#site{background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';border-radius:' . $this->getData(['theme', 'site', 'radius']) . ';box-shadow:' . $this->getData(['theme', 'site', 'shadow']) . ' #212223;}'; $css .= '.editorWysiwyg {background-color:' . $this->getData(['theme', 'site', 'backgroundColor']) . ';}'; diff --git a/core/module/user/user.php b/core/module/user/user.php index 9d8ce8e5..46a253d5 100755 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -522,16 +522,21 @@ class user extends common { $this->setData(['user', $this->getUrl(2), 'password', $newPassword]); // Réinitialise la date de la demande $this->setData(['user', $this->getUrl(2), 'forgot', 0]); + // Réinitialise le blocage + $this->setData(['user', $this->getUrl(2),'connectFail',0 ]); + $this->setData(['user', $this->getUrl(2),'connectTimeout',0 ]); // Valeurs en sortie $this->addOutput([ 'notification' => 'Nouveau mot de passe enregistré', - 'redirect' => helper::baseUrl() . 'user/login/' . str_replace('/', '_', $this->getUrl()), + //'redirect' => helper::baseUrl() . 'user/login/' . str_replace('/', '_', $this->getUrl()), + 'redirect' => helper::baseUrl(), 'state' => true ]); } } // Valeurs en sortie $this->addOutput([ + 'display' => self::DISPLAY_LAYOUT_LIGHT, 'title' => 'Réinitialisation du mot de passe', 'view' => 'reset' ]);