forked from ZwiiCMS-Team/ZwiiCMS
Annulation modif pour module code
This commit is contained in:
parent
e8e2129e82
commit
9316d9bca0
@ -1972,17 +1972,16 @@ class layout extends common {
|
|||||||
* Affiche le contenu
|
* Affiche le contenu
|
||||||
*/
|
*/
|
||||||
public function showContent() {
|
public function showContent() {
|
||||||
if(
|
if(
|
||||||
$this->core->output['title']
|
$this->core->output['title']
|
||||||
AND (
|
AND (
|
||||||
$this->getData(['page', $this->getUrl(0)]) === null
|
$this->getData(['page', $this->getUrl(0)]) === null
|
||||||
OR $this->getData(['page', $this->getUrl(0), 'hideTitle']) === false
|
OR $this->getData(['page', $this->getUrl(0), 'hideTitle']) === false
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
echo '<h1 id="sectionTitle">' . $this->core->output['title'] . '</h1>';
|
echo '<h1 id="sectionTitle">' . $this->core->output['title'] . '</h1>';
|
||||||
}
|
|
||||||
echo $this->core->output['content'];
|
|
||||||
}
|
}
|
||||||
|
echo $this->core->output['content'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user