aboutsummaryrefslogtreecommitdiffstats
path: root/template/admin/html/page/search.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-10-22 21:04:02 +0200
committerThomas Lange <code@nerdmind.de>2017-10-22 21:04:02 +0200
commitb886b447c939db888aee84224995da58540b4503 (patch)
tree6738b1c7979eaa049a247d749a881944777326b8 /template/admin/html/page/search.php
parentc73c6acbf280c99fd4178577cc99a55a6e2e11cf (diff)
downloadblog-b886b447c939db888aee84224995da58540b4503.tar.gz
blog-b886b447c939db888aee84224995da58540b4503.tar.xz
blog-b886b447c939db888aee84224995da58540b4503.zip
Implemented: A full-text search functionality for posts and pages in the administration area. In addition, some markup within the "/*/index.php" files of the admin template was re-formatted.
Diffstat (limited to 'template/admin/html/page/search.php')
-rw-r--r--template/admin/html/page/search.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/template/admin/html/page/search.php b/template/admin/html/page/search.php
new file mode 100644
index 0000000..1a43bf7
--- /dev/null
+++ b/template/admin/html/page/search.php
@@ -0,0 +1,20 @@
+<h1>
+ <i class="fa fa-search"></i><?=$Language->text('title_page_search')?>
+ <a class="brackets" href="<?=Application::getAdminURL("page/insert.php")?>"><?=$Language->text('insert')?></a>
+</h1>
+<p><?=$Language->text('search_page_desc')?></p>
+
+<form id="search-form" method="GET">
+ <div class="flex flex-padding background">
+ <input id="search-text" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" />
+ </div>
+ <div class="flex flex-padding background">
+ <input id="update-button" type="submit" value="<?=$Language->text('search')?>" />
+ </div>
+</form>
+
+<div class="item-container post">
+ <?php foreach($PAGES as $page): ?>
+ <?php echo $page; ?>
+ <?php endforeach; ?>
+</div> \ No newline at end of file