2019-11-15 17:32:34 +01:00
< ? php echo template :: formOpen ( 'i18nIndexForm' ); ?>
< div class = " notranslate " >
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-14 15:32:20 +01:00
< h4 > Ajouter une langue & nbsp ; < a href = " ./core/module/i18n/ressource/help.html " data - lity data - tippy - content = " Aide en ligne " < ? php echo template :: ico ( 'help' ); ?> </a></h4>
2019-11-07 10:23:50 +01:00
< div class = " row " >
< div class = " col6 " >
2019-11-14 17:46:55 +01:00
< div class = " row " >
2019-11-14 15:32:20 +01:00
< ? php
$available = array ( '' => 'Sélectionner' );
$available = array_merge ( $available , array_diff ( self :: $i18nList , $this -> i18nInstalled ()));
echo template :: select ( 'i18nLanguageAdd' , $available , [
'label' => 'Nouvelle langue'
2019-11-14 17:43:53 +01:00
]); ?>
2019-11-14 17:46:55 +01:00
</ div >
2019-11-14 10:09:29 +01:00
< div class = " row " >
2019-11-14 15:59:23 +01:00
< ? php echo template :: checkbox ( 'i18AutoTranslation' , true , 'Traduction automatique par Google' ); ?>
2019-11-14 17:43:53 +01:00
</ div >
2019-11-14 15:32:20 +01:00
</ div >
< div class = " col6 " >
< ? php echo template :: select ( 'i18nLanguageCopyFrom' , $this -> i18nInstalled ( true ), [
'label' => 'Site à dupliquer' ,
'selected' => - 1
]); ?>
2019-11-07 10:23:50 +01:00
</ 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-11-14 17:43:53 +01:00
< ? php echo template :: table ([ 5 , 2 , 2 , 1 ], $module :: $languages , [ 'Langues installées' , 'Chemins des drapeaux' , 'Traduction automatique' , '' ]); ?>
2019-11-15 17:32:34 +01:00
</ div >
2019-11-07 09:50:34 +01:00
< ? php echo template :: formClose (); ?>