diff --git a/core/module/page/page.php b/core/module/page/page.php index 0afd8acd..52c91f84 100755 --- a/core/module/page/page.php +++ b/core/module/page/page.php @@ -34,7 +34,8 @@ class page extends common { 'blog' => 'Blog', 'form' => 'Formulaire', 'gallery' => 'Galerie', - 'redirection' => 'Redirection' + 'redirection' => 'Redirection', + 'research' => 'Rechercher' ]; public static $typeMenu = [ 'text' => 'Texte', diff --git a/module/rechercher/rechercher.php b/module/research/research.php similarity index 99% rename from module/rechercher/rechercher.php rename to module/research/research.php index 1d2a5d75..edd6eedc 100755 --- a/module/rechercher/rechercher.php +++ b/module/research/research.php @@ -17,7 +17,7 @@ // Module de recherche d'un mot ou d'une phrase clef -class rechercher extends common { +class research extends common { public static $actions = [ 'index' => self::GROUP_VISITOR @@ -29,6 +29,9 @@ class rechercher extends common { public static $resultTitle = ''; + const RESEARCH_VERSION = '1.1'; + + public function index() { if($this->isPost()) { //Initialisations variables diff --git a/module/rechercher/view/index/index.php b/module/research/view/index/index.php similarity index 100% rename from module/rechercher/view/index/index.php rename to module/research/view/index/index.php diff --git a/module/rechercher/view/result/result.php b/module/research/view/result/result.php similarity index 100% rename from module/rechercher/view/result/result.php rename to module/research/view/result/result.php