aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-22 21:04:02 +0200
committerThomas Lange <code@nerdmind.de>2021-07-22 21:04:02 +0200
commitcb9097e0199cf6afca3f144edb7d7addaec1cb59 (patch)
treeb4aff017f6a8c22b4b32c8316f4ae3b887bcbd3a /theme/admin
parentae38025d1d03ef3fa12c73b8ea48af3df02e2351 (diff)
downloadblog-cb9097e0199cf6afca3f144edb7d7addaec1cb59.tar.gz
blog-cb9097e0199cf6afca3f144edb7d7addaec1cb59.tar.xz
blog-cb9097e0199cf6afca3f144edb7d7addaec1cb59.zip
Add pagination for search results
Add pagination for search results in the admin and default theme.
Diffstat (limited to 'theme/admin')
-rw-r--r--theme/admin/html/page/search.php4
-rw-r--r--theme/admin/html/post/search.php4
2 files changed, 8 insertions, 0 deletions
diff --git a/theme/admin/html/page/search.php b/theme/admin/html/page/search.php
index 240e512..906502f 100644
--- a/theme/admin/html/page/search.php
+++ b/theme/admin/html/page/search.php
@@ -21,4 +21,8 @@
<?php echo $page; ?>
<?php endforeach; ?>
</div>
+
+<?php if($PAGINATION): ?>
+ <?=$PAGINATION['HTML']?>
+<?php endif ?>
</main>
diff --git a/theme/admin/html/post/search.php b/theme/admin/html/post/search.php
index 835a4ef..1afc5e7 100644
--- a/theme/admin/html/post/search.php
+++ b/theme/admin/html/post/search.php
@@ -21,4 +21,8 @@
<?php echo $post; ?>
<?php endforeach; ?>
</div>
+
+<?php if($PAGINATION): ?>
+ <?=$PAGINATION['HTML']?>
+<?php endif ?>
</main>