Annulation du commit amélioration du code

This commit is contained in:
fredtempez 2019-02-14 19:10:25 +01:00
parent 27e691e6f8
commit 881ed55ca1
1 changed files with 7 additions and 5 deletions

View File

@ -154,11 +154,13 @@
}
// Page pleine pour la configuration des modules et l'édition des pages
if (sizeof($blocks) === 1 ||
$this->getUrl(1) === '' ||
$this->getData(['page', $this->getUrl(2), 'moduleId']) == ''
) {
?><?php $layout->showContent();?><?php
} else {
($this->getData(['page', $this->getUrl(2), 'moduleId']) == '' &&
$this->getUrl(1) == 'config' || // Configuration d'un module en page pleine
$this->getUrl(1) == 'data' || // données de formulaire en page pleine
$this->getUrl(1) == 'comment' // données des commentaires en page pleine
)) {
?><?php $layout->showContent();?><?php
} else {
?>
<div class="row">
<?php if ($blockleft !== "") :?> <div class="<?php echo $blockleft; ?>" id="contentleft">