Revert "dev2 déplacer le chemin de fer"

This reverts commit 81f55490d3.
This commit is contained in:
Fred Tempez 2020-05-24 16:03:33 +02:00
parent 81f55490d3
commit 7e0574f277

View File

@ -36,7 +36,7 @@ class common {
const THUMBS_WIDTH = 640;
// Numéro de version
const ZWII_VERSION = '10.1.001.dev2';
const ZWII_VERSION = '10.1.001.dev1';
const ZWII_UPDATE_CHANNEL = "v10";
public static $actions = [];
@ -1636,12 +1636,6 @@ class core extends common {
}
}
// Importe la page
if(
$this->getData(['page', $this->getUrl(0)]) !== null
AND $this->getData(['page', $this->getUrl(0), 'moduleId']) === ''
AND $access
) {
// Breadcrumb
$title = $this->getData(['page', $this->getUrl(0), 'title']);
if (!empty($this->getData(['page', $this->getUrl(0), 'parentPageId'])) &&
@ -1653,7 +1647,13 @@ class core extends common {
'</a> &#8250; '.
$this->getData(['page', $this->getUrl(0), 'title']);
}
// Import de la page
// Importe la page
if(
$this->getData(['page', $this->getUrl(0)]) !== null
AND $this->getData(['page', $this->getUrl(0), 'moduleId']) === ''
AND $access
) {
$this->addOutput([
'title' => $title,
'content' => $this->getData(['page', $this->getUrl(0), 'content']),