form 3.9 pages orphelines dans la redirection
This commit is contained in:
parent
4e6f05fd29
commit
b5911f609a
@ -1,3 +1,5 @@
|
||||
# Version 3.9
|
||||
- Redirection des pages orphelines
|
||||
# Version 3.8
|
||||
- Encode UTF-8 de l'objet du message, et des noms des champs.
|
||||
# Version 3.7
|
||||
|
@ -1 +1 @@
|
||||
{"name":"form","realName":"Formulaire","version":"3.7","update":"0.0","delete":true,"dataDirectory":""}
|
||||
{"name":"form","realName":"Formulaire","version":"3.9","update":"0.0","delete":true,"dataDirectory":""}
|
@ -17,7 +17,7 @@
|
||||
class form extends common
|
||||
{
|
||||
|
||||
const VERSION = '3.8';
|
||||
const VERSION = '3.9';
|
||||
const REALNAME = 'Formulaire';
|
||||
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||
|
||||
@ -207,7 +207,7 @@ class form extends common
|
||||
]);
|
||||
} else {
|
||||
// Liste des pages
|
||||
foreach ($this->getHierarchy(null, true, false) as $parentPageId => $childrenPageIds) {
|
||||
foreach ($this->getHierarchy(null, false, false) as $parentPageId => $childrenPageIds) {
|
||||
self::$pages[$parentPageId] = $this->getData(['page', $parentPageId, 'title']);
|
||||
foreach ($childrenPageIds as $childKey) {
|
||||
self::$pages[$childKey] = ' » ' . $this->getData(['page', $childKey, 'title']);
|
||||
|
Loading…
Reference in New Issue
Block a user