summaryrefslogtreecommitdiff
path: root/src/web/_views/template/posts.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-12-23 11:13:27 -0500
committerFreya Murphy <freya@freyacat.org>2024-12-23 11:13:27 -0500
commit5a2ba9c2e7605bb788bc406184547d22c6436867 (patch)
treecbd988d534e8a8593a31d70571222443f80da0b3 /src/web/_views/template/posts.php
parentfix about modal (diff)
downloadxssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.tar.gz
xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.tar.bz2
xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.zip
v2.1.0, refactor w/ crimson
Diffstat (limited to 'src/web/_views/template/posts.php')
-rw-r--r--src/web/_views/template/posts.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/web/_views/template/posts.php b/src/web/_views/template/posts.php
deleted file mode 100644
index ed79688..0000000
--- a/src/web/_views/template/posts.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<div id="post-container">
-<?php
- $pdata = $this->posts();
-
- $loaded = $pdata['loaded'];
- $page_size = $pdata['page_size'];
- $total = $pdata['total'];
- $max = $pdata['max'];
- $filterUid = $pdata['filter_uid'];
-
- if ($loaded >= $page_size && $page_size < $total) {
- ilang('action_load_posts',
- id: 'action-load-posts',
- class: 'btn btn-blend grow mb mt',
- attrs: array(
- 'loaded' => $loaded,
- 'pageSize' => $page_size,
- 'postCount' => $total,
- 'postMax' => $max,
- 'userId' => $filterUid ? json_encode($filterUid) : ''
- )
- );
- }
-?>
-</div>