forked from ZwiiCMS-Team/ZwiiCMS
Encart devient barre latérale
This commit is contained in:
parent
fd1ab2efed
commit
899ba65b29
@ -2225,7 +2225,7 @@ class layout extends common {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$leftItems .= '<option value="">-------------------</option>';
|
$leftItems .= '<option value="">-------------------</option>';
|
||||||
$leftItems .= '<option value="' . helper::baseUrl() . 'page/block">Édition des encarts</option>';
|
$leftItems .= '<option value="' . helper::baseUrl() . 'page/block">Édition des barre latérales</option>';
|
||||||
$leftItems .= '</select></li>';
|
$leftItems .= '</select></li>';
|
||||||
$leftItems .= '<li><a href="' . helper::baseUrl() . 'page/add" title="Créer une page">' . template::ico('plus') . '</a></li>';
|
$leftItems .= '<li><a href="' . helper::baseUrl() . 'page/add" title="Créer une page">' . template::ico('plus') . '</a></li>';
|
||||||
if(
|
if(
|
||||||
|
@ -38,11 +38,11 @@ class page extends common {
|
|||||||
];
|
];
|
||||||
public static $pageBlocks = [
|
public static $pageBlocks = [
|
||||||
'12' => 'Pleine page',
|
'12' => 'Pleine page',
|
||||||
'4-8' => 'Encart 1/3 - Page 2/3',
|
'4-8' => 'Barre latérale 1/3 - Page 2/3',
|
||||||
'8-4' => 'Page 2/3 - Encart 1/3',
|
'8-4' => 'Page 2/3 - Barre latérale 1/3',
|
||||||
'3-9' => 'Encart 1/4 - Page 3/4',
|
'3-9' => 'Barre latérale 1/4 - Page 3/4',
|
||||||
'9-3' => 'Page 3/4 - Encart 1/4',
|
'9-3' => 'Page 3/4 - Barre latérale 1/4',
|
||||||
'3-6-3' => 'Encart 1/4 - Page 1/2 - Encart 1/4'
|
'3-6-3' => 'Barre latérale 1/4 - Page 1/2 - Barre latérale 1/4'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -187,7 +187,7 @@ class page extends common {
|
|||||||
|
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'title' => 'Édition des encarts',
|
'title' => 'Édition des barre latérales',
|
||||||
'vendor' => [
|
'vendor' => [
|
||||||
'tinymce'
|
'tinymce'
|
||||||
],
|
],
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class="col6">
|
<div class="col6">
|
||||||
<?php echo template::textarea('pageBlockLeftContent', [
|
<?php echo template::textarea('pageBlockLeftContent', [
|
||||||
'label' => 'Encart de gauche :',
|
'label' => 'Barre latérale de gauche :',
|
||||||
'class' => 'editorWysiwyg',
|
'class' => 'editorWysiwyg',
|
||||||
'value' => $this->getData(['page','blockLeft', 'content'])
|
'value' => $this->getData(['page','blockLeft', 'content'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col6">
|
<div class="col6">
|
||||||
<?php echo template::textarea('pageBlockRightContent', [
|
<?php echo template::textarea('pageBlockRightContent', [
|
||||||
'label' => 'Encart de droite :',
|
'label' => 'Barre latérale de droite :',
|
||||||
'class' => 'editorWysiwyg',
|
'class' => 'editorWysiwyg',
|
||||||
'value' => $this->getData(['page','blockRight', 'content'])
|
'value' => $this->getData(['page','blockRight', 'content'])
|
||||||
]); ?>
|
]); ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user