forked from ZwiiCMS-Team/ZwiiCMS
Revert "dev2 déplacer le chemin de fer"
This reverts commit 81f55490d3
.
This commit is contained in:
parent
81f55490d3
commit
7e0574f277
@ -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.dev2';
|
const ZWII_VERSION = '10.1.001.dev1';
|
||||||
const ZWII_UPDATE_CHANNEL = "v10";
|
const ZWII_UPDATE_CHANNEL = "v10";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
@ -1635,6 +1635,18 @@ class core extends common {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Breadcrumb
|
||||||
|
$title = $this->getData(['page', $this->getUrl(0), 'title']);
|
||||||
|
if (!empty($this->getData(['page', $this->getUrl(0), 'parentPageId'])) &&
|
||||||
|
$this->getData(['page', $this->getUrl(0), 'breadCrumb'])) {
|
||||||
|
$title = '<a href="' . helper::baseUrl() .
|
||||||
|
$this->getData(['page', $this->getUrl(0), 'parentPageId']) .
|
||||||
|
'">' .
|
||||||
|
ucfirst($this->getData(['page',$this->getData(['page', $this->getUrl(0), 'parentPageId']), 'title'])) .
|
||||||
|
'</a> › '.
|
||||||
|
$this->getData(['page', $this->getUrl(0), 'title']);
|
||||||
|
}
|
||||||
|
|
||||||
// Importe la page
|
// Importe la page
|
||||||
if(
|
if(
|
||||||
@ -1642,18 +1654,6 @@ class core extends common {
|
|||||||
AND $this->getData(['page', $this->getUrl(0), 'moduleId']) === ''
|
AND $this->getData(['page', $this->getUrl(0), 'moduleId']) === ''
|
||||||
AND $access
|
AND $access
|
||||||
) {
|
) {
|
||||||
// Breadcrumb
|
|
||||||
$title = $this->getData(['page', $this->getUrl(0), 'title']);
|
|
||||||
if (!empty($this->getData(['page', $this->getUrl(0), 'parentPageId'])) &&
|
|
||||||
$this->getData(['page', $this->getUrl(0), 'breadCrumb'])) {
|
|
||||||
$title = '<a href="' . helper::baseUrl() .
|
|
||||||
$this->getData(['page', $this->getUrl(0), 'parentPageId']) .
|
|
||||||
'">' .
|
|
||||||
ucfirst($this->getData(['page',$this->getData(['page', $this->getUrl(0), 'parentPageId']), 'title'])) .
|
|
||||||
'</a> › '.
|
|
||||||
$this->getData(['page', $this->getUrl(0), 'title']);
|
|
||||||
}
|
|
||||||
// Import de la page
|
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
'content' => $this->getData(['page', $this->getUrl(0), 'content']),
|
'content' => $this->getData(['page', $this->getUrl(0), 'content']),
|
||||||
|
Loading…
Reference in New Issue
Block a user