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 = '