Annulation modif pour module code

This commit is contained in:
fredtempez 2019-01-27 18:28:29 +01:00
parent e8e2129e82
commit 9316d9bca0

View File

@ -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'];
}
/**