From 63a309b5f1b98c40f7272b5aed3dd49ce4e931ea Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 10 Dec 2021 15:39:09 +0100 Subject: [PATCH] sitemap WIP --- core/module/sitemap/sitemap.php | 109 +++++++++++++++++++---- core/module/sitemap/view/index/index.css | 17 +++- core/module/sitemap/view/index/index.php | 78 +--------------- 3 files changed, 112 insertions(+), 92 deletions(-) diff --git a/core/module/sitemap/sitemap.php b/core/module/sitemap/sitemap.php index 61f885a7..60f9a082 100644 --- a/core/module/sitemap/sitemap.php +++ b/core/module/sitemap/sitemap.php @@ -13,21 +13,100 @@ * @link http://zwiicms.fr/ */ -class sitemap extends common { +class sitemap extends common +{ + public static $actions = [ + 'index' => self::GROUP_VISITOR + ]; - public static $actions = [ - 'index' => self::GROUP_VISITOR - ]; + public static $siteMap = ''; - /** - * Plan du site - */ - public function index() { - // Valeurs en sortie - $this->addOutput([ - 'title' => 'Plan du site', - 'view' => 'index' - ]); - } + /** + * Plan du site + */ + public function index() + { + $items = '