drapeau trad auto membre connecté + homepage changement de langue
This commit is contained in:
parent
e9ed9aaa2e
commit
4a81c99b9a
@ -45,7 +45,7 @@ class common {
|
|||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
|
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
|
||||||
const ZWII_VERSION = '11.2.00.18';
|
const ZWII_VERSION = '11.2.00.19';
|
||||||
const ZWII_UPDATE_CHANNEL = "test";
|
const ZWII_UPDATE_CHANNEL = "test";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
@ -2120,6 +2120,7 @@ class common {
|
|||||||
OR (
|
OR (
|
||||||
$this->getData(['config', 'i18n','scriptGoogle']) === true
|
$this->getData(['config', 'i18n','scriptGoogle']) === true
|
||||||
AND $this->getData(['config', 'i18n', $key]) === 'script'
|
AND $this->getData(['config', 'i18n', $key]) === 'script'
|
||||||
|
AND $this->getUser('group') >= self::GROUP_MODERATOR
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
if (
|
if (
|
||||||
|
@ -199,7 +199,7 @@ class translate extends common {
|
|||||||
|
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'redirect' => helper::baseUrl() . $this->getUrl(4)
|
'redirect' => helper::baseUrl() . $this->getData(['locale', $this->getUrl(2), 'homePageId' ])
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user