2022-03-06 13:35:21 +01:00
|
|
|
<?php
|
|
|
|
// Lexique
|
2024-02-02 16:44:05 +01:00
|
|
|
$param='';
|
2022-09-11 09:42:42 +02:00
|
|
|
include('./core/module/config/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_config.php');
|
|
|
|
|
|
|
|
// drapeau pour la langue d'origine ou la langue en traduction rédigée
|
2022-03-18 07:50:13 +01:00
|
|
|
if( $this->getInput('DELTA_I18N_SITE') === '' || $this->getInput('DELTA_I18N_SITE')=== null || $this->getInput('DELTA_I18N_SITE') === 'base'){
|
2022-12-04 08:19:08 +01:00
|
|
|
$flag = $this->getData(['config', 'i18n', 'langBase']);
|
2022-03-18 07:50:13 +01:00
|
|
|
}
|
|
|
|
else{
|
|
|
|
$flag = $this->getInput('DELTA_I18N_SITE');
|
|
|
|
}
|
|
|
|
?>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div id="localeContainer">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-12-04 08:19:08 +01:00
|
|
|
<div class="blockTitle"><?php echo $text['core_config_view']['locale'][0]; ?></div>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2022-09-11 09:42:42 +02:00
|
|
|
<?php echo template::checkbox('localei18n', true, $text['core_config_view']['locale'][1], [
|
2022-01-31 09:10:49 +01:00
|
|
|
'checked' => $this->getData(['config', 'i18n', 'enable']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'help'=> $text['core_config_view']['locale'][2]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-12-04 08:19:08 +01:00
|
|
|
<div class="blockTitle"><?php echo $text['core_config_view']['locale'][3]; ?><?php echo template::flag($flag, '20px');?>
|
2022-01-31 09:10:49 +01:00
|
|
|
<span id="localeHelpButton" class="helpDisplayButton">
|
|
|
|
<a href="https://doc.deltacms.fr/localisation" target="_blank">
|
|
|
|
<?php echo template::ico('help', 'left');?>
|
|
|
|
</a>
|
|
|
|
</span>
|
2022-12-04 08:19:08 +01:00
|
|
|
</div>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col9">
|
|
|
|
<?php echo template::text('localeTitle', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['core_config_view']['locale'][4],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'title']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][5]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('localeVersion', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['core_config_view']['locale'][6],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => common::DELTA_VERSION,
|
|
|
|
'readonly' => true
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::textarea('localeMetaDescription', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['core_config_view']['locale'][7],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'metaDescription']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][8]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-12-04 08:19:08 +01:00
|
|
|
<div class="blockTitle"><?php echo $text['core_config_view']['locale'][9]; echo template::flag($flag, '20px');?>
|
2022-01-31 09:10:49 +01:00
|
|
|
<span id="localeHelpButton" class="helpDisplayButton">
|
|
|
|
<a href="https://doc.deltacms.fr/localisation#pages-speciales" target="_blank">
|
|
|
|
<?php echo template::ico('help', 'left');?>
|
|
|
|
</a>
|
|
|
|
</span>
|
2022-12-04 08:19:08 +01:00
|
|
|
</div>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('localeHomePageId', helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC'), [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['core_config_view']['locale'][10],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' =>$this->getData(['locale', 'homePageId']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][11]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2022-09-11 09:42:42 +02:00
|
|
|
<?php echo template::select('localePage403', array_merge(['none' => $text['core_config_view']['locale'][19]],helper::arrayCollumn($module::$orphansList, 'title', 'SORT_ASC')), [
|
|
|
|
'label' => $text['core_config_view']['locale'][12],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' =>$this->getData(['locale', 'page403']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][13]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2022-09-11 09:42:42 +02:00
|
|
|
<?php echo template::select('localePage404', array_merge(['none' => $text['core_config_view']['locale'][19]],helper::arrayCollumn($module::$orphansList, 'title', 'SORT_ASC')), [
|
|
|
|
'label' => $text['core_config_view']['locale'][14],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' =>$this->getData(['locale', 'page404']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][13]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2022-09-11 09:42:42 +02:00
|
|
|
<?php echo template::select('localeLegalPageId', array_merge(['none' => $text['core_config_view']['locale'][20]] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [
|
|
|
|
'label' => $text['core_config_view']['locale'][15],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['locale', 'legalPageId']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][16]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2022-09-11 09:42:42 +02:00
|
|
|
<?php echo template::select('localeSearchPageId', array_merge(['none' => $text['core_config_view']['locale'][20]] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [
|
|
|
|
'label' => $text['core_config_view']['locale'][17],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' => $this->getData(['locale', 'searchPageId']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][18]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php
|
2022-09-11 09:42:42 +02:00
|
|
|
echo template::select('localePage302', array_merge(['none' => $text['core_config_view']['locale'][19]],helper::arrayCollumn($module::$orphansList, 'title', 'SORT_ASC')), [
|
|
|
|
'label' => $text['core_config_view']['locale'][21],
|
2022-01-31 09:10:49 +01:00
|
|
|
'selected' =>$this->getData(['locale', 'page302']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][13]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-12-04 08:19:08 +01:00
|
|
|
<div class="blockTitle"><?php echo $text['core_config_view']['locale'][22]; echo template::flag($flag, '20px');?>
|
2022-01-31 09:10:49 +01:00
|
|
|
<span id="labelHelpButton" class="helpDisplayButton">
|
|
|
|
<a href="https://doc.deltacms.fr/localisation#etiquettes" target="_blank">
|
|
|
|
<?php echo template::ico('help', 'left');?>
|
|
|
|
</a>
|
|
|
|
</span>
|
2022-12-04 08:19:08 +01:00
|
|
|
</div>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
2023-09-01 09:01:47 +02:00
|
|
|
<div class="col3">
|
2022-01-31 09:10:49 +01:00
|
|
|
<?php echo template::text('localeLegalPageLabel', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['core_config_view']['locale'][15],
|
|
|
|
'placeholder' => $text['core_config_view']['locale'][15],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'legalPageLabel'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-09-01 09:01:47 +02:00
|
|
|
<div class="col3">
|
2022-01-31 09:10:49 +01:00
|
|
|
<?php echo template::text('localeSearchPageLabel', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['core_config_view']['locale'][23],
|
|
|
|
'placeholder' => $text['core_config_view']['locale'][23],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'searchPageLabel'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-09-01 09:01:47 +02:00
|
|
|
<div class="col3">
|
2022-01-31 09:10:49 +01:00
|
|
|
<?php echo template::text('localeSitemapPageLabel', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['core_config_view']['locale'][24],
|
|
|
|
'placeholder' => $text['core_config_view']['locale'][24],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'sitemapPageLabel']),
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-09-01 09:01:47 +02:00
|
|
|
<div class="col3">
|
2022-01-31 09:10:49 +01:00
|
|
|
<?php echo template::text('localeCookiesFooterText', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['core_config_view']['locale'][25],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'cookies', 'cookiesFooterText']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'placeHolder' => $text['core_config_view']['locale'][25]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-01 09:01:47 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<div class="blockTitle"><?php echo $text['core_config_view']['locale'][47]; echo template::flag($flag, '20px');?>
|
|
|
|
<span id="labelHelpButton" class="helpDisplayButton">
|
|
|
|
<a href="https://doc.deltacms.fr/localisation#etiquettes" target="_blank">
|
|
|
|
<?php echo template::ico('help', 'left');?>
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('localeVisitorLabel', [
|
|
|
|
'label' => $text['core_config_view']['locale'][48],
|
|
|
|
'placeholder' => $text['core_config_view']['locale'][48],
|
|
|
|
'value' => $this->getData(['locale', 'visitorLabel'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('localeMemberLabel', [
|
|
|
|
'label' => $text['core_config_view']['locale'][49],
|
|
|
|
'placeholder' => $text['core_config_view']['locale'][49],
|
|
|
|
'value' => $this->getData(['locale', 'memberLabel'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('localeEditorLabel', [
|
|
|
|
'label' => $text['core_config_view']['locale'][50],
|
|
|
|
'placeholder' => $text['core_config_view']['locale'][50],
|
|
|
|
'value' => $this->getData(['locale', 'editorLabel']),
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('localeModeratorLabel', [
|
|
|
|
'label' => $text['core_config_view']['locale'][51],
|
|
|
|
'value' => $this->getData(['locale', 'moderatorLabel']),
|
|
|
|
'placeHolder' => $text['core_config_view']['locale'][51]
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('localeAdministratorLabel', [
|
|
|
|
'label' => $text['core_config_view']['locale'][52],
|
|
|
|
'placeholder' => $text['core_config_view']['locale'][52],
|
|
|
|
'value' => $this->getData(['locale', 'administratorLabel'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-05 09:31:32 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-12-04 08:19:08 +01:00
|
|
|
<div class="blockTitle"><?php echo $text['core_config_view']['locale'][42]; echo template::flag($flag, '20px');?>
|
2022-11-05 09:31:32 +01:00
|
|
|
<span id="labelHelpButton" class="helpDisplayButton">
|
|
|
|
<a href="https://doc.deltacms.fr/localisation#captcha" target="_blank">
|
|
|
|
<?php echo template::ico('help', 'left');?>
|
|
|
|
</a>
|
|
|
|
</span>
|
2022-12-04 08:19:08 +01:00
|
|
|
</div>
|
2022-11-05 09:31:32 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('localeCaptchaSimpleText', [
|
|
|
|
'label' => $text['core_config_view']['locale'][43],
|
|
|
|
'placeholder' => $text['core_config_view']['locale'][44],
|
|
|
|
'value' => $this->getData(['locale', 'captchaSimpleText'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('localeCaptchaSimpleHelp', [
|
|
|
|
'label' => $text['core_config_view']['locale'][45],
|
|
|
|
'placeholder' => $text['core_config_view']['locale'][46],
|
|
|
|
'value' => $this->getData(['locale', 'captchaSimpleHelp'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-04 08:19:08 +01:00
|
|
|
</div>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-12-04 08:19:08 +01:00
|
|
|
<div class="blockTitle"><?php echo $text['core_config_view']['locale'][26]; echo template::flag($flag, '20px');?>
|
2022-01-31 09:10:49 +01:00
|
|
|
<span id="specialeHelpButton" class="helpDisplayButton">
|
|
|
|
<a href="https://doc.deltacms.fr/localisation#cookies" target="_blank">
|
|
|
|
<?php echo template::ico('help', 'left');?>
|
|
|
|
</a>
|
|
|
|
</span>
|
2022-12-04 08:19:08 +01:00
|
|
|
</div>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::text('localeCookiesTitleText', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][27],
|
|
|
|
'label' => $text['core_config_view']['locale'][28] ,
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'cookies', 'cookiesTitleText']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'placeHolder' => $text['core_config_view']['locale'][29]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col8">
|
|
|
|
<?php echo template::textarea('localeCookiesDeltaText', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][30],
|
|
|
|
'label' => $text['core_config_view']['locale'][31],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'cookies', 'cookiesDeltaText']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'placeHolder' => $text['core_config_view']['locale'][32]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('localeCookiesLinkMlText', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][33],
|
|
|
|
'label' => $text['core_config_view']['locale'][34],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'cookies', 'cookiesLinkMlText']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'placeHolder' => $text['core_config_view']['locale'][35]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col8">
|
|
|
|
<?php echo template::textarea('localeCookiesExtText', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][36],
|
|
|
|
'label' => $text['core_config_view']['locale'][37],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'cookies', 'cookiesExtText'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('localeCookiesCheckboxExtText', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'help' => $text['core_config_view']['locale'][38],
|
|
|
|
'label' => $text['core_config_view']['locale'][39],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'cookies', 'cookiesCheckboxExtText'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4 offset4">
|
|
|
|
<?php echo template::text('localeCookiesButtonText', [
|
2022-09-11 09:42:42 +02:00
|
|
|
'label' => $text['core_config_view']['locale'][40],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $this->getData(['locale', 'cookies', 'cookiesButtonText']),
|
2022-09-11 09:42:42 +02:00
|
|
|
'placeHolder' => $text['core_config_view']['locale'][41]
|
2022-12-04 08:19:08 +01:00
|
|
|
]); ?>
|
2022-01-31 09:10:49 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-04 08:19:08 +01:00
|
|
|
</div>
|