2020-11-11 19:48:07 +01:00
< ? php echo template :: formOpen ( 'translateForm' ); ?>
< div class = " row " >
2022-02-18 12:43:48 +01:00
< div class = " col1 " >
2020-11-11 19:48:07 +01:00
< ? php echo template :: button ( 'translateFormBack' , [
'class' => 'buttonGrey' ,
2020-11-14 14:52:18 +01:00
'href' => helper :: baseUrl (),
2022-02-18 12:43:48 +01:00
'value' => template :: ico ( 'left' )
2020-11-11 19:48:07 +01:00
]); ?>
</ div >
2022-02-18 12:43:48 +01:00
< div class = " col1 " >
2021-11-04 19:12:27 +01:00
< ? php echo template :: button ( 'translateHelp' , [
2021-11-04 18:59:53 +01:00
'href' => 'https://doc.zwiicms.fr/prise-en-charge-des-langues-etrangeres' ,
'target' => '_blank' ,
2022-02-18 12:43:48 +01:00
'value' => template :: ico ( 'help' ),
'class' => 'buttonHelp' ,
'help' => 'Consulter l\'aide en ligne'
2021-06-04 14:21:23 +02:00
]); ?>
</ div >
2022-02-18 12:43:48 +01:00
< div class = " col1 offset7 " >
2021-10-30 12:48:29 +02:00
< ? php echo template :: button ( 'translateButton' , [
2021-06-04 13:57:44 +02:00
'href' => helper :: baseUrl () . 'translate/copy' ,
2022-02-18 12:43:48 +01:00
'value' => template :: ico ( 'docs' ),
'disabled' => $module :: $siteTranslate ,
'help' => 'Copie de sites inter-langues'
2021-06-04 13:57:44 +02:00
]); ?>
</ div >
< div class = " col2 " >
2020-11-11 19:48:07 +01:00
< ? php echo template :: submit ( 'translateFormSubmit' ); ?>
</ div >
</ div >
2022-09-12 22:14:51 +02:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " id = " flagsWrapper " >
< h4 > Traduite ZwiiCMS </ h4 >
< div class = " row " >
< div class = " col3 " >
< ? php echo template :: select ( 'translateI18n' , $module :: $i18nFiles , [
'label' => 'Traductions installées' ,
'selected' => $this -> getData ([ 'config' , 'i18n' , 'default' ]),
]); ?>
</ div >
</ div >
</ div >
</ div >
</ div >
2021-06-04 13:57:44 +02:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " id = " flagsWrapper " >
2022-08-29 22:04:57 +02:00
< h4 > Activation des langues du contenu </ h4 >
2021-06-04 13:57:44 +02:00
< div class = " row " >
2021-10-03 17:26:05 +02:00
< div class = " col3 " >
2021-06-04 13:57:44 +02:00
< ? php echo template :: select ( 'translateFR' , [ 'none' => 'Drapeau masqué' , 'site' => 'Drapeau affiché' ], [
2021-10-03 17:26:05 +02:00
'label' => template :: flag ( '' , '30px' ),
'selected' => $this -> getData ([ 'config' , 'i18n' , 'fr' ]),
2021-06-04 13:57:44 +02:00
]); ?>
</ div >
2021-10-03 17:26:05 +02:00
< div class = " col3 " >
< div class = " col12 " >
2021-06-04 13:57:44 +02:00
< ? php echo template :: select ( 'translateDE' , $module :: $translateOptions [ 'de' ], [
2021-10-03 17:26:05 +02:00
'label' => template :: flag ( 'de' , '30px' ),
2021-06-04 13:57:44 +02:00
'class' => 'translateFlagSelect' ,
'selected' => $this -> getData ([ 'config' , 'i18n' , 'de' ])
2020-11-25 14:04:04 +01:00
]); ?>
</ div >
2021-10-03 17:26:05 +02:00
< div class = " col12 " >
2021-06-04 13:57:44 +02:00
< ? php echo template :: select ( 'translateEN' , $module :: $translateOptions [ 'en' ], [
2021-10-03 17:26:05 +02:00
'label' => template :: flag ( 'en' , '30px' ),
2021-06-04 13:57:44 +02:00
'class' => 'translateFlagSelect' ,
'selected' => $this -> getData ([ 'config' , 'i18n' , 'en' ])
2020-11-25 14:04:04 +01:00
]); ?>
</ div >
2021-10-03 17:26:05 +02:00
</ div >
< div class = " col3 " >
< div class = " col12 " >
2021-06-04 13:57:44 +02:00
< ? php echo template :: select ( 'translateES' , $module :: $translateOptions [ 'es' ], [
2021-10-03 17:26:05 +02:00
'label' => template :: flag ( 'es' , '30px' ),
2021-06-04 13:57:44 +02:00
'class' => 'translateFlagSelect' ,
'selected' => $this -> getData ([ 'config' , 'i18n' , 'es' ])
2021-05-20 21:52:09 +02:00
]); ?>
</ div >
2021-10-03 17:26:05 +02:00
< div class = " col12 " >
2021-06-04 13:57:44 +02:00
< ? php echo template :: select ( 'translateIT' , $module :: $translateOptions [ 'it' ], [
2021-10-03 17:26:05 +02:00
'label' => template :: flag ( 'it' , '30px' ),
2021-06-04 13:57:44 +02:00
'class' => 'translateFlagSelect' ,
'selected' => $this -> getData ([ 'config' , 'i18n' , 'it' ])
2020-11-25 14:04:04 +01:00
]); ?>
</ div >
2021-10-03 17:26:05 +02:00
</ div >
< div class = " col3 " >
< div class = " col12 " >
2021-06-04 13:57:44 +02:00
< ? php echo template :: select ( 'translateNL' , $module :: $translateOptions [ 'nl' ], [
2021-10-03 17:26:05 +02:00
'label' => template :: flag ( 'nl' , '30px' ),
2021-06-04 13:57:44 +02:00
'class' => 'translateFlagSelect' ,
'selected' => $this -> getData ([ 'config' , 'i18n' , 'nl' ])
2020-11-25 14:04:04 +01:00
]); ?>
</ div >
2021-10-03 17:26:05 +02:00
< div class = " col12 " >
2021-06-04 13:57:44 +02:00
< ? php echo template :: select ( 'translatePT' , $module :: $translateOptions [ 'pt' ], [
2021-10-03 17:26:05 +02:00
'label' => template :: flag ( 'pt' , '30px' ),
2021-06-04 13:57:44 +02:00
'class' => 'translateFlagSelect' ,
'selected' => $this -> getData ([ 'config' , 'i18n' , 'pt' ])
2020-11-24 19:00:23 +01:00
]); ?>
2020-11-25 14:04:04 +01:00
</ div >
2020-11-24 13:44:31 +01:00
</ div >
</ div >
2020-11-22 13:32:20 +01:00
</ div >
2020-11-11 19:48:07 +01:00
</ div >
</ div >
2022-08-29 22:04:57 +02:00
< div class = " row " >
< div class = " col12 " >
< h1 > Configuration du contenu du site en < ? php echo template :: flag ( 'site' , '20px' ); ?> </h1>
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Identité du site
< span id = " localeHelpButton " class = " helpDisplayButton " title = " Cliquer pour consulter l'aide en ligne " >
< a href = " https://doc.zwiicms.fr/localisation-et-identite " target = " _blank " >
< ? php echo template :: ico ( 'help' , [ 'margin' => 'left' ]); ?>
</ a >
</ span >
</ h4 >
< div class = " row " >
< div class = " col12 " >
< ? php echo template :: text ( 'localeTitle' , [
'label' => 'Titre du site' ,
'value' => $this -> getData ([ 'locale' , 'title' ]),
'help' => 'Il apparaît dans la barre de titre et les partages sur les réseaux sociaux.'
]); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< ? php echo template :: textarea ( 'localeMetaDescription' , [
'label' => 'Description du site' ,
'value' => $this -> getData ([ 'locale' , 'metaDescription' ]),
'help' => 'La description d\'une page participe à son référencement, chaque page doit disposer d\'une description différente.'
]); ?>
</ div >
</ div >
</ div >
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Assignation des pages spéciales
< span id = " localeHelpButton " class = " helpDisplayButton " title = " Cliquer pour consulter l'aide en ligne " >
< a href = " https://doc.zwiicms.fr/localisation-et-identite " target = " _blank " >
< ? php echo template :: ico ( 'help' , [ 'margin' => 'left' ]); ?>
</ a >
</ span >
</ h4 >
< div class = " row " >
< div class = " col4 " >
< ? php echo template :: select ( 'localeHomePageId' , helper :: arrayColumn ( $module :: $pagesList , 'title' , 'SORT_ASC' ), [
'label' => 'Accueil du site' ,
'selected' => $this -> getData ([ 'locale' , 'homePageId' ]),
'help' => 'La première page que vos visiteurs verront.'
]); ?>
</ div >
< div class = " col4 " >
< ? php echo template :: select ( 'localePage403' , array_merge ([ 'none' => 'Page par défaut' ], helper :: arrayColumn ( $module :: $orphansList , 'title' , 'SORT_ASC' )), [
'label' => 'Accès interdit, erreur 403' ,
'selected' => $this -> getData ([ 'locale' , 'page403' ]),
'help' => 'Cette page ne doit pas apparaître dans l\'arborescence du menu. Créez une page orpheline.'
]); ?>
</ div >
< div class = " col4 " >
< ? php echo template :: select ( 'localePage404' , array_merge ([ 'none' => 'Page par défaut' ], helper :: arrayColumn ( $module :: $orphansList , 'title' , 'SORT_ASC' )), [
'label' => 'Page inexistante, erreur 404' ,
'selected' => $this -> getData ([ 'locale' , 'page404' ]),
'help' => 'Cette page ne doit pas apparaître dans l\'arborescence du menu. Créez une page orpheline.'
]); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col4 " >
< ? php echo template :: select ( 'localeLegalPageId' , array_merge ([ 'none' => 'Aucune' ] , helper :: arrayColumn ( $module :: $pagesList , 'title' , 'SORT_ASC' ) ) , [
'label' => 'Mentions légales' ,
'selected' => $this -> getData ([ 'locale' , 'legalPageId' ]),
'help' => 'Les mentions légales sont obligatoires en France. Une option du pied de page ajoute un lien discret vers cette page.'
]); ?>
</ div >
< div class = " col4 " >
< ? php echo template :: select ( 'localeSearchPageId' , array_merge ([ 'none' => 'Aucune' ] , helper :: arrayColumn ( $module :: $pagesList , 'title' , 'SORT_ASC' ) ) , [
'label' => 'Recherche dans le site' ,
'selected' => $this -> getData ([ 'locale' , 'searchPageId' ]),
'help' => 'Sélectionnez une page contenant le module \'Recherche\'. Une option du pied de page ajoute un lien discret vers cette page.'
]); ?>
</ div >
< div class = " col4 " >
< ? php
echo template :: select ( 'localePage302' , array_merge ([ 'none' => 'Page par défaut' ], helper :: arrayColumn ( $module :: $orphansList , 'title' , 'SORT_ASC' )), [
'label' => 'Site en maintenance' ,
'selected' => $this -> getData ([ 'locale' , 'page302' ]),
'help' => 'Cette page ne doit pas apparaître dans l\'arborescence du menu. Créez une page orpheline.'
]); ?>
</ div >
</ div >
</ div >
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Etiquettes des pages spéciales
< span id = " labelHelpButton " class = " helpDisplayButton " title = " Cliquer pour consulter l'aide en ligne " >
< a href = " https://doc.zwiicms.fr/etiquettes-des-pages-speciales " target = " _blank " >
< ? php echo template :: ico ( 'help' , [ 'margin' => 'left' ]); ?>
</ a >
</ span >
</ h4 >
< div class = " row " >
< div class = " col6 " >
< ? php echo template :: text ( 'localeLegalPageLabel' , [
'label' => 'Mentions légales' ,
'placeholder' => 'Mentions légales' ,
'value' => $this -> getData ([ 'locale' , 'legalPageLabel' ])
]); ?>
</ div >
< div class = " col6 " >
< ? php echo template :: text ( 'localeSearchPageLabel' , [
'label' => 'Rechercher' ,
'placeholder' => 'Rechercher' ,
'value' => $this -> getData ([ 'locale' , 'searchPageLabel' ])
]); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col6 " >
< ? php echo template :: text ( 'localeSitemapPageLabel' , [
'label' => 'Plan du site' ,
'placeholder' => 'Plan du site' ,
'value' => $this -> getData ([ 'locale' , 'sitemapPageLabel' ]),
]); ?>
</ div >
< div class = " col6 " >
< ? php echo template :: text ( 'localeCookiesFooterText' , [
'label' => 'Cookies' ,
'value' => $this -> getData ([ 'locale' , 'cookies' , 'cookiesFooterText' ]),
'placeHolder' => 'Cookies'
]); ?>
</ div >
</ div >
</ div >
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Message d ' acceptation des Cookies
< span id = " specialeHelpButton " class = " helpDisplayButton " title = " Cliquer pour consulter l'aide en ligne " >
< a href = " https://doc.zwiicms.fr/cookies " target = " _blank " >
< ? php echo template :: ico ( 'help' , [ 'margin' => 'left' ]); ?>
</ a >
</ span >
</ h4 >
< div class = " row " >
< div class = " col6 " >
< ? php echo template :: text ( 'localeCookiesTitleText' , [
'help' => 'Saisissez le titre de la fenêtre de gestion des cookies.' ,
'label' => 'Titre de la fenêtre' ,
'value' => $this -> getData ([ 'locale' , 'cookies' , 'titleLabel' ]),
'placeHolder' => 'Gérer les cookies'
]); ?>
</ div >
< div class = " col6 " >
< ? php echo template :: text ( 'localeCookiesButtonText' , [
'label' => 'Bouton de validation' ,
'value' => $this -> getData ([ 'locale' , 'cookies' , 'buttonValidLabel' ]),
'placeHolder' => 'J\'ai compris'
]); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col8 " >
< ? php echo template :: textarea ( 'localeCookiesZwiiText' , [
'help' => 'Saisissez le message pour les cookies déposés par ZwiiCMS, nécessaires au fonctionnement et qui ne nécessitent pas de consentement.' ,
'label' => 'Cookies Zwii' ,
'value' => $this -> getData ([ 'locale' , 'cookies' , 'mainLabel' ]),
'placeHolder' => 'Ce site utilise des cookies nécessaires à son fonctionnement, ils permettent de fluidifier son fonctionnement par exemple en mémorisant les données de connexion, la langue que vous avez choisie ou la validation de ce message.'
]); ?>
</ div >
< div class = " col4 " >
< ? php echo template :: text ( 'localeCookiesLinkMlText' , [
'help' => 'Saisissez le texte du lien vers les mentions légales,la page doit être définie dans la configuration du site.' ,
'label' => 'Lien page des mentions légales.' ,
'value' => $this -> getData ([ 'locale' , 'cookies' , 'linkLegalLabel' ]),
'placeHolder' => 'Consulter les mentions légales'
]); ?>
</ div >
</ div >
</ div >
</ div >
</ div >
2021-06-17 11:34:22 +02:00
< ? php echo template :: formClose (); ?>