2024-03-13 18:45:06 +01:00
|
|
|
<?php echo template::formOpen('folderConfig'); ?>
|
2024-03-15 21:14:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('folderConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset9">
|
|
|
|
<?php echo template::submit('folderConfigSubmit'); ?>
|
2024-03-13 18:45:06 +01:00
|
|
|
</div>
|
2024-03-15 21:14:49 +01:00
|
|
|
</div>
|
|
|
|
<div class='row'>
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Paramètres'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('folderConfigPath', $module::$sharePath, [
|
|
|
|
'label' => 'Dossier',
|
|
|
|
'class' => 'filemanager',
|
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'path'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2024-03-15 20:13:58 +01:00
|
|
|
<?php echo template::text('folderConfigTitle', [
|
2024-03-15 21:14:49 +01:00
|
|
|
'label' => 'Titre',
|
|
|
|
'placeholder' => 'Répertoire',
|
|
|
|
'value' => empty ($this->getData(['module', $this->getUrl(0), 'title'])) ? 'Répertoire' : $this->getData(['module', $this->getUrl(0), 'title'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2024-03-16 08:36:52 +01:00
|
|
|
<div class="col3">
|
2024-03-15 21:14:49 +01:00
|
|
|
<?php echo template::checkbox('folderConfigSort', true, 'Trier les dossiers et les fichiers', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'sort'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2024-03-16 08:36:52 +01:00
|
|
|
<div class="col3">
|
2024-03-15 21:14:49 +01:00
|
|
|
<?php echo template::checkbox('folderConfigSubfolder', true, 'Descendre dans l\'arboresence', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'subfolder'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2024-03-16 08:36:52 +01:00
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('folderConfigDetails', true, 'Date et poids', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'details'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('folderConfigFolderState', true, 'Dossiers pliés', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'folderstate'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2024-03-15 21:14:49 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-13 18:45:06 +01:00
|
|
|
<?php echo template::formClose(); ?>
|
|
|
|
<div class="moduleVersion">Version n°
|
|
|
|
<?php echo $module::VERSION; ?>
|
|
|
|
</div>
|