2022-01-20 09:53:40 +01:00
|
|
|
<?php echo template::formOpen('blogOption'); ?>
|
2022-01-17 19:32:06 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
2022-01-20 09:53:40 +01:00
|
|
|
<?php echo template::button('blogOptionBack', [
|
2022-01-17 19:32:06 +01:00
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset8">
|
2022-01-20 09:53:40 +01:00
|
|
|
<?php echo template::submit('blogOptionSubmit'); ?>
|
2022-01-17 19:32:06 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Paramètres du module</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
2022-01-20 09:53:40 +01:00
|
|
|
<?php echo template::checkbox('blogOptionShowFeeds', true, 'Lien du flux RSS', [
|
2022-01-17 19:32:06 +01:00
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'feeds']),
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2022-01-20 09:53:40 +01:00
|
|
|
<?php echo template::text('blogOptionFeedslabel', [
|
2022-01-17 19:32:06 +01:00
|
|
|
'label' => 'Texte de l\'étiquette',
|
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'config', 'feedsLabel'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6 offset6">
|
2022-01-20 09:53:40 +01:00
|
|
|
<?php echo template::select('blogOptionItemsperPage', $module::$ItemsList, [
|
2022-01-17 19:32:06 +01:00
|
|
|
'label' => 'Articles par page',
|
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0),'config', 'itemsperPage'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|
|
|
|
<div class="moduleVersion">Version n°
|
|
|
|
<?php echo $module::VERSION; ?>
|
|
|
|
</div>
|
|
|
|
|