aide formulaire

This commit is contained in:
Deltacms 2022-12-08 11:52:42 +01:00
parent ae6f293de3
commit fc79cd933e
5 changed files with 20 additions and 1 deletions

View File

@ -39,6 +39,8 @@ $text['form_view']['config'][35] = 'pdf';
$text['form_view']['config'][36] = 'zip';
$text['form_view']['config'][37] = 'txt';
$text['form_view']['config'][38] = 'Note in the label of the file field the type and size of files allowed. Checks are performed on jpg, png, pdf and zip files but not on txt files. Be careful!';
$text['form_view']['config'][39] = 'Help';
$text['form_view']['config'][40] = 'module/form/view/config/config.help_en.html';
$text['form_view']['data'][0] = 'Back';
$text['form_view']['data'][1] = 'Delete all';
$text['form_view']['data'][2] = 'CSV export';

View File

@ -39,6 +39,8 @@ $text['form_view']['config'][35] = 'pdf';
$text['form_view']['config'][36] = 'zip';
$text['form_view']['config'][37] = 'txt';
$text['form_view']['config'][38] = 'Notez dans le label du champ fichier le type et la taille des fichiers autorisés. Des contrôles sont effectués sur les fichiers jpg, png, pdf et zip mais pas sur les fichiers txt. Prudence !';
$text['form_view']['config'][39] = 'Aide';
$text['form_view']['config'][40] = 'module/form/view/config/config.help.html';
$text['form_view']['data'][0] = 'Retour';
$text['form_view']['data'][1] = 'Tout effacer';
$text['form_view']['data'][2] = 'Export CSV';

View File

@ -0,0 +1,2 @@
<h2>FORMULAIRE</h2>
<iframe title="form_FR" src="https://video.ploud.fr/videos/embed/d9f460d9-ab2f-40d3-9cb6-910a0a96fed9" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>

View File

@ -0,0 +1,2 @@
<h2>FORMULAIRE</h2>
<iframe title="form_EN" src="https://video.ploud.fr/videos/embed/fdf669e1-ee50-4be6-8a88-97cee552e479" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>

View File

@ -63,7 +63,14 @@ include('./module/form/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) .
'value' => $text['form_view']['config'][4]
]); ?>
</div>
<div class="col3 offset5" <?php if($this->getUser('group') < self::GROUP_MODERATOR) echo '<div style="display: none;">'; ?>>
<div class="col2">
<?php echo template::button('formIndexHelp', [
'class' => 'buttonHelp',
'ico' => 'help',
'value' => $text['form_view']['config'][39]
]); ?>
</div>
<div class="col3 offset3" <?php if($this->getUser('group') < self::GROUP_MODERATOR) echo '<div style="display: none;">'; ?>>
<?php echo template::button('formConfigData', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/data',
'value' => $text['form_view']['config'][5]
@ -75,6 +82,10 @@ include('./module/form/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) .
]); ?>
</div>
</div>
<!-- Aide à propos de la configuration de formulaire, view config -->
<div class="helpDisplayContent">
<?php echo file_get_contents( $text['form_view']['config'][40]) ;?>
</div>
<div class="row">
<div class="col12">
<div class="block">