forked from ZwiiCMS-Team/ZwiiCMS
Page de configuration du mode de recherche
This commit is contained in:
parent
59e42e81d8
commit
67707f36ed
@ -20,7 +20,8 @@
|
||||
class search extends common {
|
||||
|
||||
public static $actions = [
|
||||
'index' => self::GROUP_VISITOR
|
||||
'index' => self::GROUP_VISITOR,
|
||||
'config' => self::GROUP_MODERATOR
|
||||
];
|
||||
|
||||
public static $resultList = '';
|
||||
@ -35,6 +36,16 @@ class search extends common {
|
||||
|
||||
const SEARCH_VERSION = '1.1';
|
||||
|
||||
// Configuration vide
|
||||
public function config() {
|
||||
// Valeurs en sortie, affichage du formulaire
|
||||
$this->addOutput([
|
||||
'view' => 'config',
|
||||
'showBarEditButton' => true,
|
||||
'showPageContent' => true
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
public function index() {
|
||||
if($this->isPost()) {
|
||||
|
16
module/search/view/config/config.css
Normal file
16
module/search/view/config/config.css
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* This file is part of Zwii.
|
||||
*
|
||||
* For full copyright and license information, please see the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @author Rémi Jean <remi.jean@outlook.com>
|
||||
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||
* @license GNU General Public License, version 3
|
||||
* @link http://zwiicms.com/
|
||||
*/
|
||||
|
||||
|
||||
@import url("site/data/admin.css");
|
15
module/search/view/config/config.php
Normal file
15
module/search/view/config/config.php
Normal file
@ -0,0 +1,15 @@
|
||||
<div class="row">
|
||||
<div class="col2">
|
||||
<?php echo template::button('newsConfigBack', [
|
||||
'class' => 'buttonGrey',
|
||||
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
||||
'ico' => 'left',
|
||||
'value' => 'Retour'
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<h2 class="textAlignCenter">Aucun paramètre de configuration</h2>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user