2022-02-18 12:43:48 +01:00
|
|
|
<?php echo template::formOpen('blogOption'); ?>
|
2023-03-24 16:56:04 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('blogOptionBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset9">
|
|
|
|
<?php echo template::submit('blogOptionSubmit'); ?>
|
2022-02-18 12:43:48 +01:00
|
|
|
</div>
|
2023-03-24 16:56:04 +01:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Paramètres'); ?>
|
|
|
|
</h4>
|
2024-10-15 14:40:13 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('blogOptionButtonBack', true, 'Bouton de retour', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'buttonBack'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('blogOptionShowPseudo', true, 'Signature', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'showPseudo'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-24 16:56:04 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2024-10-11 11:34:13 +02:00
|
|
|
<?php echo template::checkbox('blogOptionShowDate', true, 'Afficher la date', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'showDate']),
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('blogOptionDateFormat', $module::$dateFormats, [
|
|
|
|
'label' => 'Format des dates',
|
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'config', 'dateFormat'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2024-10-12 08:06:49 +02:00
|
|
|
<div class="col3 timeWrapper">
|
2024-10-11 11:34:13 +02:00
|
|
|
<?php echo template::checkbox('blogOptionShowTime', true, 'Afficher l\'heure', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'showTime']),
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2024-10-12 08:06:49 +02:00
|
|
|
<div class="col3 timeWrapper">
|
2024-10-11 11:34:13 +02:00
|
|
|
<?php echo template::select('blogOptionTimeFormat', $module::$timeFormats, [
|
|
|
|
'label' => 'Format des heures',
|
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'config', 'timeFormat'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-03-24 16:56:04 +01:00
|
|
|
<?php echo template::select('blogOptionArticlesLayout', $module::$articlesLayout, [
|
|
|
|
'label' => 'Disposition',
|
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'config', 'layout'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2024-10-11 11:34:13 +02:00
|
|
|
<div class="col4">
|
2022-03-15 15:30:33 +01:00
|
|
|
<?php echo template::select('blogOptionArticlesLenght', $module::$articlesLenght, [
|
2023-03-24 16:56:04 +01:00
|
|
|
'label' => 'Aperçus',
|
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'config', 'articlesLenght'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2024-10-11 11:34:13 +02:00
|
|
|
<div class="col4">
|
2023-03-24 16:56:04 +01:00
|
|
|
<?php echo template::select('blogOptionItemsperPage', $module::$ArticlesListed, [
|
|
|
|
'label' => 'Articles par page',
|
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'config', 'itemsperPage'])
|
|
|
|
]); ?>
|
2022-02-18 12:43:48 +01:00
|
|
|
</div>
|
2023-03-24 16:56:04 +01:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2024-10-15 14:40:13 +02:00
|
|
|
<div class="col6">
|
2023-03-24 16:56:04 +01:00
|
|
|
<?php echo template::checkbox('blogOptionShowFeeds', true, 'Lien du flux RSS', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'feeds']),
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-12-20 13:00:50 +01:00
|
|
|
<div class="col6">
|
2023-03-24 16:56:04 +01:00
|
|
|
<?php echo template::text('blogOptionFeedslabel', [
|
2024-10-11 11:34:13 +02:00
|
|
|
'label' => 'Texte de l\'étiquette RSS',
|
2023-03-24 16:56:04 +01:00
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'config', 'feedsLabel'])
|
|
|
|
]); ?>
|
2022-02-18 12:43:48 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-24 16:56:04 +01:00
|
|
|
</div>
|
2022-02-18 12:43:48 +01:00
|
|
|
<?php echo template::formClose(); ?>
|
|
|
|
<div class="moduleVersion">Version n°
|
|
|
|
<?php echo $module::VERSION; ?>
|
2023-03-24 16:56:04 +01:00
|
|
|
</div>
|