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