2019-10-31 22:10:24 +01:00
|
|
|
<?php echo template::formOpen('i18nIndexForm'); ?>
|
2019-09-29 19:46:53 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
2019-10-22 08:49:20 +02:00
|
|
|
<?php echo template::button('i18nBack', [
|
2019-09-29 19:46:53 +02:00
|
|
|
'class' => 'buttonGrey',
|
2019-10-05 13:14:41 +02:00
|
|
|
'href' => helper::baseUrl(false),
|
|
|
|
'ico' => 'home',
|
|
|
|
'value' => 'Accueil'
|
2019-09-29 19:46:53 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2019-10-31 22:10:24 +01:00
|
|
|
<div class="col2 offset8">
|
|
|
|
<?php echo template::submit('galleryEditSubmit'); ?>
|
2019-09-29 19:46:53 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-07 09:50:34 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2019-09-29 19:46:53 +02:00
|
|
|
<div class="block">
|
2019-11-07 10:23:50 +01:00
|
|
|
<h4>Ajouter ou dupliquer une nouvelle langue</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php
|
|
|
|
$available = array ('' => 'Sélectionner');
|
|
|
|
$available = array_merge ($available, array_diff(self::$i18nList,$this->i18nInstalled()));
|
|
|
|
echo template::select('i18nLanguageAdd', $available, [
|
|
|
|
'label' => 'Nouvelle langue'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2019-10-31 22:10:24 +01:00
|
|
|
<?php echo template::select('i18nLanguageCopyFrom', $this->i18nInstalled(true), [
|
2019-11-07 10:23:50 +01:00
|
|
|
'label' => 'Site à copier',
|
2019-10-31 22:10:24 +01:00
|
|
|
'selected' => -1
|
2019-11-07 10:23:50 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col12">
|
|
|
|
<a href="./core/module/i18n/ressource/readme.html" data-lity>Aide à la gestion des langues</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-08-23 09:46:11 +02:00
|
|
|
</div>
|
2019-11-07 10:23:50 +01:00
|
|
|
</div>
|
2019-09-29 19:46:53 +02:00
|
|
|
</div>
|
2019-11-03 09:28:55 +01:00
|
|
|
|
2019-10-31 22:10:24 +01:00
|
|
|
<?php echo template::table([11, 1], $module::$languages, ['Langues installées', '']); ?>
|
2019-11-07 09:50:34 +01:00
|
|
|
<?php echo template::formClose(); ?>
|