[10.0.100.dev] Exclure l'interface de la traduction WIP

This commit is contained in:
fredtempez 2019-11-15 17:32:34 +01:00
parent 4cefb749ac
commit f3adbe0c87
20 changed files with 547 additions and 512 deletions

View File

@ -32,7 +32,7 @@ class common {
const I18N_DIR = 'site/i18n/';
// Numéro de version
const ZWII_VERSION = '10.0.99.dev';
const ZWII_VERSION = '10.0.100.dev';
public static $actions = [];
public static $coreModuleIds = [
@ -2817,7 +2817,7 @@ class layout extends common {
$rightItems .= '<li><a href="' . helper::baseUrl() . 'user/edit/' . $this->getUser('id'). '/' . $_SESSION['csrf'] . '" data-tippy-content="Configurer mon compte">' . template::ico('user', 'right') . '<span id="displayUsername">' . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '</span></a></li>';
$rightItems .= '<li><a id="barLogout" href="' . helper::baseUrl() . 'user/logout" data-tippy-content="Se déconnecter">' . template::ico('logout') . '</a></li>';
// Barre de membre
echo '<div id="bar"><div class="container"><ul id="barLeft">' . $leftItems . '</ul><ul id="barRight">' . $rightItems . '</ul></div></div>';
echo '<div id="bar" class="notranslate"><div class="container"><ul id="barLeft">' . $leftItems . '</ul><ul id="barRight">' . $rightItems . '</ul></div></div>';
}
}

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('configForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('configBack', [
@ -291,4 +292,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('configManageForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('configManageBack', [
@ -95,4 +96,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('i18nIndexForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('i18nBack', [
@ -42,4 +43,5 @@
</div>
<?php echo template::table([5,2,2,1], $module::$languages, ['Langues installées', 'Chemins des drapeaux', 'Traduction automatique' ,'']); ?>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,6 +1,6 @@
<p><strong>Mise à jour de Zwii <?php echo self::ZWII_VERSION; ?> vers Zwii <?php echo $module::$newVersion; ?>.</strong></p>
<p>Afin d'assurer le bon fonctionnement de Zwii, veuillez ne pas fermer cette page avant la fin de l'opération.</p>
<div class="row">
<div class="row notranslate">
<div class="col9 verticalAlignMiddle">
<div id="installUpdateProgress">
<?php echo template::ico('spin', '', true); ?>

View File

@ -2,6 +2,7 @@
// Mise à jour de la liste des pages pour TinyMCE
$this->pages2Json();
echo template::formOpen('pageEditForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php $href = helper::baseUrl() . $this->getUrl(2); ?>
@ -222,4 +223,5 @@ echo template::formOpen('pageEditForm'); ?>
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('themeAdvancedForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('themeAdvancedBack', [
@ -28,4 +29,5 @@
]); ?>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('themeBodyForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('themeBodyBack', [
@ -67,4 +68,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('themeFooterForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('themeFooterBack', [
@ -199,4 +200,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('themeHeaderForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('themeHeaderBack', [
@ -165,4 +166,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,3 +1,4 @@
<div class="notranslate">
<?php if(
$this->getData(['theme', 'header', 'position']) === 'hide'
OR $this->getData(['theme', 'menu', 'position']) === 'hide'
@ -61,3 +62,5 @@
</div>
</div>
<?php endif; ?>
</div>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('themeManageForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('themeManageBack', [
@ -48,4 +49,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('themeMenuForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('themeMenuBack', [
@ -136,4 +137,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('themeSiteForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('themeSiteBack', [
@ -137,4 +138,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('userAddForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php echo template::button('userAddBack', [
@ -78,4 +79,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('userEditForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col2">
<?php if($this->getUrl(3)): ?>
@ -98,4 +99,5 @@
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('userForgotForm'); ?>
<div class="notranslate">
<?php echo template::text('userForgotId', [
'label' => 'Identifiant'
]); ?>
@ -17,4 +18,5 @@
]); ?>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,4 @@
<div class="row">
<div class="row notranslate">
<div class="col2">
<?php echo template::button('userAddBack', [
'class' => 'buttonGrey',

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('userLoginForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col6">
<?php echo template::text('userLoginId', [
@ -36,4 +37,5 @@
]); ?>
</div>
</div>
</div>
<?php echo template::formClose(); ?>

View File

@ -1,4 +1,5 @@
<?php echo template::formOpen('userResetForm'); ?>
<div class="notranslate">
<div class="row">
<div class="col6">
<?php echo template::password('userResetNewPassword', [
@ -18,4 +19,5 @@
]); ?>
</div>
</div>
</div>
<?php echo template::formClose(); ?>