met à jour le site map à l'ouverture de l'édition
This commit is contained in:
parent
8927026ee4
commit
022bc9ce7b
@ -68,10 +68,10 @@ class page extends common
|
|||||||
public static $userProfils = [];
|
public static $userProfils = [];
|
||||||
|
|
||||||
public static $navIconTemplate = [
|
public static $navIconTemplate = [
|
||||||
'dir' => 'Petit triangle',
|
'dir' => 'Petit triangle',
|
||||||
'open' => 'Grand triangle',
|
'open' => 'Grand triangle',
|
||||||
'big' => 'Flèche',
|
'big' => 'Flèche',
|
||||||
];
|
];
|
||||||
|
|
||||||
public static $navIconPosition = [
|
public static $navIconPosition = [
|
||||||
'none' => 'Masqué',
|
'none' => 'Masqué',
|
||||||
@ -539,6 +539,9 @@ class page extends common
|
|||||||
}
|
}
|
||||||
// Construction du formulaire
|
// Construction du formulaire
|
||||||
|
|
||||||
|
// Met à jour le sitemap
|
||||||
|
$this->updateSitemap();
|
||||||
|
|
||||||
// Création du sélecteur de modules
|
// Création du sélecteur de modules
|
||||||
self::$moduleIds = [];
|
self::$moduleIds = [];
|
||||||
foreach (helper::getModules() as $key => $values) {
|
foreach (helper::getModules() as $key => $values) {
|
||||||
@ -599,7 +602,8 @@ class page extends common
|
|||||||
$css = $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG);
|
$css = $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG);
|
||||||
// Enregistre le CSS
|
// Enregistre le CSS
|
||||||
$this->setData([
|
$this->setData([
|
||||||
'page', $this->getUrl(2),
|
'page',
|
||||||
|
$this->getUrl(2),
|
||||||
'css',
|
'css',
|
||||||
$css
|
$css
|
||||||
]);
|
]);
|
||||||
@ -633,7 +637,8 @@ class page extends common
|
|||||||
$js = $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG);
|
$js = $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG);
|
||||||
// Enregistre le JS
|
// Enregistre le JS
|
||||||
$this->setData([
|
$this->setData([
|
||||||
'page', $this->getUrl(2),
|
'page',
|
||||||
|
$this->getUrl(2),
|
||||||
'js',
|
'js',
|
||||||
$js
|
$js
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user