dev2 déplacer le chemin de fer

This commit is contained in:
Fred Tempez 2020-05-24 15:55:40 +02:00
parent 5f1e9a4412
commit 81f55490d3

View File

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