forked from ZwiiCMS-Team/ZwiiCMS
(10.0.015.dev]
This commit is contained in:
parent
6144253853
commit
e87172682c
@ -34,7 +34,7 @@ class common {
|
|||||||
const TEMP_DIR = 'site/tmp/';
|
const TEMP_DIR = 'site/tmp/';
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.0.014.dev';
|
const ZWII_VERSION = '10.0.015.dev';
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
public static $coreModuleIds = [
|
public static $coreModuleIds = [
|
||||||
|
@ -25,7 +25,15 @@
|
|||||||
<h4>Informations générales</h4>
|
<h4>Informations générales</h4>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col4">
|
<div class="col4">
|
||||||
<?php echo template::select('configHomePageId', helper::arrayCollumn($this->getData(['page']), 'title', 'SORT_ASC'), [
|
<?php
|
||||||
|
$pages = $this->getData(['page']);
|
||||||
|
foreach($pages as $page => $pageId) {
|
||||||
|
if ($this->getData(['page',$page,'block']) === 'bar' ||
|
||||||
|
$this->getData(['page',$page,'disable']) === true) {
|
||||||
|
unset($pages[$page]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
echo template::select('configHomePageId', helper::arrayCollumn($pages, 'title', 'SORT_ASC'), [
|
||||||
'label' => 'Page d\'accueil',
|
'label' => 'Page d\'accueil',
|
||||||
'selected' =>$this->getData(['config', 'homePageId'])
|
'selected' =>$this->getData(['config', 'homePageId'])
|
||||||
]); ?>
|
]); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user