[9.1.08] validation du code html
This commit is contained in:
parent
1b3f54e49b
commit
10ba4df582
@ -2139,7 +2139,7 @@ class layout extends common {
|
||||
$items .= '<a href="' . helper::baseUrl() . $parentPageId . '"' . $active . $targetBlank . '>';
|
||||
}
|
||||
$items .= $this->getData(['page', $parentPageId, 'title']);
|
||||
$items .= '</a></li>';
|
||||
$items .= '</a>';
|
||||
}
|
||||
$itemsChildren = '';
|
||||
foreach($childrenPageIds as $childKey) {
|
||||
@ -2169,7 +2169,10 @@ class layout extends common {
|
||||
$items .= '<ul class="menuSideChild">';
|
||||
$items .= $itemsChildren;
|
||||
$items .= '</ul>';
|
||||
} else {
|
||||
$items .= '</li>';
|
||||
}
|
||||
|
||||
}
|
||||
if ($onlyChildren === false) {
|
||||
$items .= '</ul>';
|
||||
@ -2456,7 +2459,7 @@ class template {
|
||||
'href' => 'javascript:void(0);',
|
||||
'ico' => '',
|
||||
'id' => $nameId,
|
||||
'name' => $nameId,
|
||||
//'name' => $nameId,
|
||||
'target' => '',
|
||||
'uniqueSubmission' => false,
|
||||
'value' => 'Bouton'
|
||||
|
@ -160,7 +160,7 @@ echo template::formOpen('pageEditForm'); ?>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('pageEditHideTitle', true, 'Titre masquée', [
|
||||
<?php echo template::checkbox('pageEditHideTitle', true, 'Titre masqué', [
|
||||
'checked' => $this->getData(['page', $this->getUrl(2), 'hideTitle'])
|
||||
]); ?>
|
||||
</div>
|
||||
|
@ -157,7 +157,7 @@ class theme extends common {
|
||||
'hide' => 'Caché'
|
||||
];
|
||||
public static $radius = [
|
||||
'0' => 'Aucun',
|
||||
'0px' => 'Aucun',
|
||||
'5px' => 'Très léger',
|
||||
'10px' => 'Léger',
|
||||
'15px' => 'Moyen',
|
||||
@ -171,7 +171,7 @@ class theme extends common {
|
||||
'repeat' => 'Sur les deux axes'
|
||||
];
|
||||
public static $shadows = [
|
||||
'0' => 'Aucune',
|
||||
'0px' => 'Aucune',
|
||||
'1px 1px 5px' => 'Très légère',
|
||||
'1px 1px 10px' => 'Légère',
|
||||
'1px 1px 15px' => 'Moyenne',
|
||||
|
@ -5,7 +5,7 @@
|
||||
</div>
|
||||
|
||||
<?php if ($this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'hidePicture']) == false) {
|
||||
echo '<div class="blogArticlePicture"><img class="blogArticlePicture" src="' . helper::baseUrl(false) . self::FILE_DIR.'source/' . $this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'picture']) . '"></div>';
|
||||
echo '<div class="blogArticlePicture"><img class="blogArticlePicture" src="' . helper::baseUrl(false) . self::FILE_DIR.'source/' . $this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'picture']) . '" alt="' . $this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'picture']) . '"></div>';
|
||||
} ?>
|
||||
|
||||
<?php echo $this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'content']); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user