Merge branch 'master' into 10400
This commit is contained in:
commit
3fe2e76741
@ -18,10 +18,17 @@
|
||||
- Traduction automatique dans la langue du navigateur.
|
||||
- Amélioration de la structure du flux RSS.
|
||||
|
||||
## Version 10.3.11
|
||||
Modification :
|
||||
- Message sur l'utilisation des cookies
|
||||
Coorection :
|
||||
- Recherche inopérante dans les articles des blogs.
|
||||
|
||||
## Version 10.3.10
|
||||
Corrections :
|
||||
- Conflit page inactive et droit d'un membre.
|
||||
- Module de recherche, correction dans les pages enfants.
|
||||
- Module formulaire, perte des données en cas d'édition du fomulaire ou des champs.
|
||||
Modification :
|
||||
- TinyMCE nettoyage init.js d'options non supportées.
|
||||
|
||||
|
@ -44,7 +44,7 @@ class common {
|
||||
const ACCESS_TIMER = 1800;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '10.4.00.009';
|
||||
const ZWII_VERSION = '10.4.00.010';
|
||||
const ZWII_UPDATE_CHANNEL = "v10";
|
||||
|
||||
public static $actions = [];
|
||||
@ -1929,9 +1929,9 @@ class core extends common {
|
||||
}
|
||||
// Empêcher l'accès aux page désactivée par URL directe
|
||||
if ( ( $this->getData(['page', $this->getUrl(0),'disable']) === true
|
||||
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
|
||||
) OR (
|
||||
$this->getData(['page', $this->getUrl(0),'disable']) === true
|
||||
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
|
||||
) OR (
|
||||
$this->getData(['page', $this->getUrl(0),'disable']) === true
|
||||
AND $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')
|
||||
AND $this->getUser('group') < self::GROUP_MODERATOR
|
||||
)
|
||||
@ -2297,7 +2297,7 @@ class layout extends common {
|
||||
* Affiche le script Google Analytics
|
||||
*/
|
||||
public function showAnalytics() {
|
||||
if($code = $this->getData(['config', 'analyticsId'])
|
||||
if($code = $this->getData(['config', 'analyticsId'])
|
||||
AND $this->getInput('ZWII_COOKIE_CONSENT') === 'true') {
|
||||
echo '<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id='. $code .'"></script>
|
||||
@ -2567,9 +2567,9 @@ class layout extends common {
|
||||
$itemsLeft .= '<li>';
|
||||
|
||||
if ( ( $this->getData(['page',$parentPageId,'disable']) === true
|
||||
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
|
||||
) OR (
|
||||
$this->getData(['page',$parentPageId,'disable']) === true
|
||||
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
|
||||
) OR (
|
||||
$this->getData(['page',$parentPageId,'disable']) === true
|
||||
AND $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')
|
||||
AND $this->getUser('group') < self::GROUP_MODERATOR
|
||||
)
|
||||
@ -2627,9 +2627,9 @@ class layout extends common {
|
||||
// Mise en page du sous-item
|
||||
$itemsLeft .= '<li>';
|
||||
if ( ( $this->getData(['page',$childKey,'disable']) === true
|
||||
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
|
||||
) OR (
|
||||
$this->getData(['page',$childKey,'disable']) === true
|
||||
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
|
||||
) OR (
|
||||
$this->getData(['page',$childKey,'disable']) === true
|
||||
AND $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')
|
||||
AND $this->getUser('group') < self::GROUP_MODERATOR
|
||||
)
|
||||
|
@ -126,8 +126,8 @@ class search extends common {
|
||||
foreach($childIds as $childId) {
|
||||
// Sous page
|
||||
if ($this->getData(['page', $childId, 'disable']) === false &&
|
||||
$this->getUser('group') >= $this->getData(['page', $childId, 'group']) &&
|
||||
$this->getData(['page', $childId, 'block']) !== 'bar') {
|
||||
$this->getUser('group') >= $this->getData(['page', $parentId, 'group']) &&
|
||||
$this->getData(['page', $parentId, 'block']) !== 'bar') {
|
||||
$url = $childId;
|
||||
$titre = $this->getData(['page', $childId, 'title']);
|
||||
$contenu = ' ' . $titre . ' ' . $this->getData(['page', $childId, 'content']);
|
||||
|
Loading…
Reference in New Issue
Block a user