2022-02-18 12:43:48 +01:00
|
|
|
<?php echo template::formOpen('blogOption'); ?>
|
|
|
|
<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'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2023-01-19 13:53:02 +01:00
|
|
|
<h4><?php echo helper::translate('Index des articles');?></h4>
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="row">
|
2022-03-15 15:30:33 +01:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('blogOptionArticlesLenght', $module::$articlesLenght, [
|
2022-10-07 20:13:55 +02:00
|
|
|
'label' => 'Disposition',
|
2022-03-15 15:30:33 +01:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'config', 'articlesLenght'])
|
2022-02-18 12:43:48 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-03-15 15:30:33 +01:00
|
|
|
<div class="col6">
|
|
|
|
<?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>
|
2022-03-15 15:30:33 +01:00
|
|
|
|
2022-02-18 12:43:48 +01:00
|
|
|
</div>
|
2022-03-15 09:16:42 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-03-15 15:30:33 +01:00
|
|
|
<h4>Flux RSS</h4>
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="row">
|
2022-03-15 15:30:33 +01:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('blogOptionShowFeeds', true, 'Lien du flux RSS', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'feeds']),
|
2022-03-15 09:16:42 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-03-15 15:30:33 +01:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('blogOptionFeedslabel', [
|
|
|
|
'label' => 'Texte de l\'étiquette',
|
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'config', 'feedsLabel'])
|
2022-02-18 12:43:48 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|
|
|
|
<div class="moduleVersion">Version n°
|
|
|
|
<?php echo $module::VERSION; ?>
|
|
|
|
</div>
|
|
|
|
|