Nettoyage avant de définir la page d'accueil dans le masque de la page

This commit is contained in:
fredtempez 2019-09-29 19:52:12 +02:00
parent e03bfd90ad
commit 9283d7a1b4
2 changed files with 2 additions and 38 deletions

View File

@ -50,6 +50,7 @@
</div>
</div>
</div>
<!--
<div class="row">
<div class="col4">
<?php echo template::select('i18nHomePageId', helper::arrayCollumn($this->getData(['page']), 'title', 'SORT_ASC'), [
@ -58,4 +59,5 @@
]); ?>
</div>
</div>
-->
<?php echo template::formClose(); ?>

View File

@ -1,38 +0,0 @@
<?php echo template::formOpen('i18nIndex'); ?>
<div class="row">
<div class="col2">
<?php echo template::button('configBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(false),
'ico' => 'home',
'value' => 'Accueil'
]); ?>
</div>
<!--
<div class="col2 offset6">
<?php echo template::button('configBack', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
'value' => 'Langues'
]); ?>
</div>
-->
<div class="col2">
<?php echo template::submit('configSubmit'); ?>
</div>
</div>
<div class="row">
<div class="col12">
<div class="block">
<h4>Informations langue :
<?php echo $this->geti18n();?></h4>
<div class="row">
<div class="col4">
<?php echo template::select('pagei18nHomePageId', helper::arrayCollumn($this->getData(['page']), 'title', 'SORT_ASC'), [
'label' => 'Page d\'accueil',
'selected' => $this->getData(['page', 'homePageId'])
]); ?>
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>