forked from ZwiiCMS-Team/ZwiiCMS
48 lines
1.4 KiB
PHP
48 lines
1.4 KiB
PHP
|
<?php echo template::formOpen('blogLayout'); ?>
|
||
|
<div class="row">
|
||
|
<div class="col2">
|
||
|
<?php echo template::button('blogLayoutBack', [
|
||
|
'class' => 'buttonGrey',
|
||
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
||
|
'ico' => 'left',
|
||
|
'value' => 'Retour'
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col2 offset8">
|
||
|
<?php echo template::submit('blogLayoutSubmit'); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col12">
|
||
|
<div class="block">
|
||
|
<h4>Paramètres du module</h4>
|
||
|
<div class="row">
|
||
|
<div class="col6">
|
||
|
<?php echo template::checkbox('blogLayoutShowFeeds', true, 'Lien du flux RSS', [
|
||
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'feeds']),
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col6">
|
||
|
<?php echo template::text('blogLayoutFeedslabel', [
|
||
|
'label' => 'Texte de l\'étiquette',
|
||
|
'value' => $this->getData(['module', $this->getUrl(0), 'config', 'feedsLabel'])
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col6 offset6">
|
||
|
<?php echo template::select('blogLayoutItemsperPage', $module::$ItemsList, [
|
||
|
'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>
|
||
|
|