aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-03-17 12:20:58 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-03-17 12:20:58 +0100
commitadb3d38893acb75b838fc6ccce5edb4321d08bf9 (patch)
tree04cef568f081bac8968b68d7014e6dd09b0d03f9 /app
parente32f2f1749c691f6c778261a8f8d300573895345 (diff)
downloadwcms-adb3d38893acb75b838fc6ccce5edb4321d08bf9.tar.gz
wcms-adb3d38893acb75b838fc6ccce5edb4321d08bf9.zip
move deepsearch into pages list
Diffstat (limited to 'app')
-rw-r--r--app/view/templates/home.php34
1 files changed, 18 insertions, 16 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index 1d15a8d..8078d4a 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -19,22 +19,6 @@
$this->insert('homemenu', ['user' => $user, 'opt' => $opt, 'optlist' => $optlist, 'pagelist' => $pagelist, 'faviconlist' => $faviconlist, 'thumbnaillist' => $thumbnaillist, 'editorlist' => $editorlist, 'colors' => $colors]);
?>
- <div id="deepsearchbar" class="hidephone">
- <form action="<?= $this->url('home') ?>" method="get">
- <input type="text" name="search" value="<?= $deepsearch ?>" id="search" placeholder="deep search">
- <input type="checkbox" name="title" id="deeptitle" value="1" <?= $searchopt['title'] ? 'checked' : '' ?>>
- <label for="deeptitle">title</label>
- <input type="checkbox" name="description" id="deepdescription" value="1" <?= $searchopt['description'] ? 'checked' : '' ?>>
- <label for="deepdescription">description</label>
- <input type="checkbox" name="content" id="deepcontent" value="1" <?= $searchopt['content'] ? 'checked' : '' ?>>
- <label for="deepcontent" title="Markdown content : MAIN, HEADER, NAV, ASIDE, FOOTER">content</label>
- <input type="checkbox" name="other" id="deepother" value="1" <?= $searchopt['other'] ? 'checked' : '' ?>>
- <label for="deepother" title="Structure content : BODY, CSS, Javascript">other</label>
- <input type="checkbox" name="case" id="deepcase" value="1" <?= $searchopt['casesensitive'] ? 'checked' : '' ?>>
- <label for="deepcase" title="Case sensitive or not">case sensitive</label>
- <input type="submit" value="search">
- </form>
- </div>
<main class="home">
@@ -48,6 +32,24 @@
<h2 class="hidephone">Pages (<?= count($table2) ?>)</h2>
+
+ <div id="deepsearchbar" class="hidephone">
+ <form action="<?= $this->url('home') ?>" method="get">
+ <input type="text" name="search" value="<?= $deepsearch ?>" id="deepsearch" placeholder="deep search">
+ <input type="checkbox" name="title" id="deeptitle" value="1" <?= $searchopt['title'] ? 'checked' : '' ?>>
+ <label for="deeptitle">title</label>
+ <input type="checkbox" name="description" id="deepdescription" value="1" <?= $searchopt['description'] ? 'checked' : '' ?>>
+ <label for="deepdescription">description</label>
+ <input type="checkbox" name="content" id="deepcontent" value="1" <?= $searchopt['content'] ? 'checked' : '' ?>>
+ <label for="deepcontent" title="Markdown content : MAIN, HEADER, NAV, ASIDE, FOOTER">content</label>
+ <input type="checkbox" name="other" id="deepother" value="1" <?= $searchopt['other'] ? 'checked' : '' ?>>
+ <label for="deepother" title="Structure content : BODY, CSS, Javascript">other</label>
+ <input type="checkbox" name="case" id="deepcase" value="1" <?= $searchopt['casesensitive'] ? 'checked' : '' ?>>
+ <label for="deepcase" title="Case sensitive or not">case sensitive</label>
+ <input type="submit" value="search">
+ </form>
+ </div>
+
<div class="scroll">
<table id="home2table">