Merge branch '12305' into 12400
This commit is contained in:
commit
a87431fc9c
@ -1,4 +1,4 @@
|
||||
# ZwiiCMS 12.3.04
|
||||
# ZwiiCMS 12.3.05
|
||||
|
||||
Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# ZwiiCMS 12.3.04
|
||||
# ZwiiCMS 12.3.05
|
||||
|
||||
Zwii is a database-less (flat-file) CMS that allows you to easily create and manage a web site without any programming knowledge.
|
||||
|
||||
|
@ -178,9 +178,9 @@ class translate extends common
|
||||
// Check si la langue est bien disponible sinon la supprime de la BDD
|
||||
if ($installedUI) {
|
||||
foreach ($installedUI as $key => $value)
|
||||
if (file_exists(self::I18N_DIR . $key . '.json' ) === false ) {
|
||||
$this->deleteData(['languages', $key]);
|
||||
}
|
||||
if (file_exists(self::I18N_DIR . $key . '.json') === false) {
|
||||
$this->deleteData(['languages', $key]);
|
||||
}
|
||||
}
|
||||
|
||||
// Langues disponibles avec la mise à jour
|
||||
@ -276,10 +276,10 @@ class translate extends common
|
||||
'',
|
||||
/*
|
||||
template::button('translateContentLanguageUIEdit' . $file, [
|
||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $file,
|
||||
'value' => template::ico('pencil'),
|
||||
'help' => 'Éditer',
|
||||
'disabled' => 'fr_FR' === $file
|
||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $file,
|
||||
'value' => template::ico('pencil'),
|
||||
'help' => 'Éditer',
|
||||
'disabled' => 'fr_FR' === $file
|
||||
]),
|
||||
*/
|
||||
template::button('translateContentLanguageUIDownload' . $file, [
|
||||
|
Loading…
Reference in New Issue
Block a user