forked from ZwiiCMS-Team/ZwiiCMS
ajustement des messages
This commit is contained in:
parent
617bf3b9f6
commit
0e73bf3cfe
@ -131,11 +131,11 @@
|
|||||||
break;
|
break;
|
||||||
case 2 : // 2 blocks
|
case 2 : // 2 blocks
|
||||||
if ($blocks[0] < $blocks[1]) { // détermine la position de la colonne
|
if ($blocks[0] < $blocks[1]) { // détermine la position de la colonne
|
||||||
$blockright = 'col'. $blocks[0];
|
$blockleft = 'col'. $blocks[0];
|
||||||
$content = 'col'. $blocks[1] ;
|
$content = 'col'. $blocks[1] ;
|
||||||
} else {
|
} else {
|
||||||
$content = 'col' . $blocks[0];
|
$content = 'col' . $blocks[0];
|
||||||
$blockleft = 'col' . $blocks[1];
|
$blockright = 'col' . $blocks[1];
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 3 : // 3 blocks
|
case 3 : // 3 blocks
|
||||||
|
@ -204,12 +204,12 @@ class theme extends common {
|
|||||||
];
|
];
|
||||||
|
|
||||||
public static $siteBlocks = [
|
public static $siteBlocks = [
|
||||||
'12' => 'Une colonne',
|
'12' => 'Un seul bloc, uniquement le site',
|
||||||
'4-8' => 'Deux colonnes : 1/3 - 2/3',
|
'4-8' => 'Deux blocs : 1/3 - 2/3',
|
||||||
'8-4' => 'Deux colonnes : 2/3 - 1/3',
|
'8-4' => 'Deux blocs : 2/3 - 1/3',
|
||||||
'3-9' => 'Deux colonnes : 1/4 - 3/4',
|
'3-9' => 'Deux blocs : 1/4 - 3/4',
|
||||||
'9-3' => 'Deux colonnes : 3/4 - 1/2',
|
'9-3' => 'Deux blocs : 3/4 - 1/2',
|
||||||
'3-6-3' => 'Trois colonnes : 1/4 - 1/2 - 1/4'
|
'3-6-3' => 'Trois blocs : 1/4 - 1/2 - 1/4'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
@ -133,24 +133,27 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<h4>Mise en page</h4>
|
<h4>Mise en page </h4>
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class="col3">
|
<div class="col3">
|
||||||
<?php echo template::select('themeSiteBlocks', $module::$siteBlocks, [
|
<?php echo template::select('themeSiteBlocks', $module::$siteBlocks, [
|
||||||
'label' => 'Colonnes',
|
'label' => 'Répartition des blocs :',
|
||||||
'selected' => $this->getData(['theme', 'site', 'blocks'])
|
'help' => 'Le bloc la plus large abrite le contenu du site',
|
||||||
]); ?>
|
'selected' => $this->getData(['theme', 'site', 'blocks'])
|
||||||
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class="col6">
|
<div class="col6">
|
||||||
<?php echo template::textarea('themeBlockContentLeft', [
|
<?php echo template::textarea('themeBlockContentLeft', [
|
||||||
|
'label' => 'Contenu du bloc à gauche :',
|
||||||
'class' => 'editorWysiwyg',
|
'class' => 'editorWysiwyg',
|
||||||
'value' => $this->getData(['theme','block', 'contentLeft'])
|
'value' => $this->getData(['theme','block', 'contentLeft'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col6">
|
<div class="col6">
|
||||||
<?php echo template::textarea('themeBlockContentRight', [
|
<?php echo template::textarea('themeBlockContentRight', [
|
||||||
|
'label' => 'Contenu du bloc à droite :',
|
||||||
'class' => 'editorWysiwyg',
|
'class' => 'editorWysiwyg',
|
||||||
'value' => $this->getData(['theme','block', 'contentRight'])
|
'value' => $this->getData(['theme','block', 'contentRight'])
|
||||||
]); ?>
|
]); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user