forked from ZwiiCMS-Team/ZwiiCMS
Bug nom de variable
This commit is contained in:
parent
eccb64356a
commit
21c1535343
@ -69,7 +69,7 @@ class theme extends common {
|
||||
'Ubuntu' => 'Ubuntu',
|
||||
'Vollkorn' => 'Vollkorn'
|
||||
];
|
||||
public static $widths = [
|
||||
public static $containerWidths = [
|
||||
'container' => 'Limitée au site',
|
||||
'none' => 'Etendue sur la page'
|
||||
];
|
||||
@ -229,7 +229,7 @@ class theme extends common {
|
||||
'uppercase' => 'Majuscules',
|
||||
'capitalize' => 'Majuscule à chaque mot'
|
||||
];
|
||||
public static $headerMenuWidths = [
|
||||
public static $siteWidths = [
|
||||
'750px' => 'Petite (750 pixels)',
|
||||
'960px' => 'Moyenne (960 pixels)',
|
||||
'1170px' => 'Grande (1170 pixels)',
|
||||
|
@ -63,7 +63,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::select('themeHeaderWidth', $module::$widths, [
|
||||
<?php echo template::select('themeHeaderWidth', $module::$containerWidths, [
|
||||
'label' => 'Largeur',
|
||||
'selected' => $this->getData(['theme', 'header', 'width'])
|
||||
]); ?>
|
||||
|
@ -41,7 +41,7 @@
|
||||
?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<?php echo template::select('themeMenuWidth', $module::$widths, [
|
||||
<?php echo template::select('themeMenuWidth', $module::$containerWidths, [
|
||||
'label' => 'Largeur',
|
||||
'selected' => $this->getData(['theme', 'menu', 'width'])
|
||||
]); ?>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<h4>Paramètres</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php echo template::select('themeSiteWidth', $module::$widths, [
|
||||
<?php echo template::select('themeSiteWidth', $module::$siteWidths, [
|
||||
'label' => 'Largeur du site',
|
||||
'selected' => $this->getData(['theme', 'site', 'width'])
|
||||
]); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user