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
|
||||
*/
|
||||
public function showContent() {
|
||||
if(
|
||||
$this->core->output['title']
|
||||
AND (
|
||||
$this->getData(['page', $this->getUrl(0)]) === null
|
||||
OR $this->getData(['page', $this->getUrl(0), 'hideTitle']) === false
|
||||
)
|
||||
) {
|
||||
echo '<h1 id="sectionTitle">' . $this->core->output['title'] . '</h1>';
|
||||
}
|
||||
echo $this->core->output['content'];
|
||||
if(
|
||||
$this->core->output['title']
|
||||
AND (
|
||||
$this->getData(['page', $this->getUrl(0)]) === null
|
||||
OR $this->getData(['page', $this->getUrl(0), 'hideTitle']) === false
|
||||
)
|
||||
) {
|
||||
echo '<h1 id="sectionTitle">' . $this->core->output['title'] . '</h1>';
|
||||
}
|
||||
echo $this->core->output['content'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user