aboutsummaryrefslogtreecommitdiff
path: root/app/view
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-02-10 10:59:49 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-02-10 10:59:49 +0100
commitcb6f0e8c3f2abe2bf895320a58a466c7a766dbf9 (patch)
treecff62e97ab013cc39a181587c69c0f4a37aeabb4 /app/view
parentc0a2817accea23837ab85b8ba31aabc7fbb20fc3 (diff)
downloadwcms-cb6f0e8c3f2abe2bf895320a58a466c7a766dbf9.tar.gz
wcms-cb6f0e8c3f2abe2bf895320a58a466c7a766dbf9.zip
deep search bar close #53
Diffstat (limited to 'app/view')
-rw-r--r--app/view/templates/home.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index e6db85a..404e96d 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -19,6 +19,21 @@
$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="submit" value="search">
+ </form>
+ </div>
+
<main class="home">