summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-12-28 11:52:03 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-28 11:52:03 +0100
commit25954de759585311dd33efcb334c5ddb18052c9a (patch)
tree59486445ef5e491d6de616ab3207494b4f15f744 /app
parent9e901d0eed45907b494e1f36d409293cb6ddf0bc (diff)
Fix: loading wheel (#4082)
* fix anoym. user * fix global view * Update app/views/helpers/pagination.phtml Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> * Update global_view.js Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Diffstat (limited to 'app')
-rwxr-xr-xapp/views/helpers/pagination.phtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/helpers/pagination.phtml b/app/views/helpers/pagination.phtml
index 86b1997e9..cefa835bd 100755
--- a/app/views/helpers/pagination.phtml
+++ b/app/views/helpers/pagination.phtml
@@ -22,6 +22,8 @@ $hasAccess = FreshRSS_Auth::hasAccess();
if ($url_mark_read && $hasAccess) { ?>
<form id="mark-read-pagination" method="post">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
+<?php } else { ?>
+<div id="mark-read-pagination">
<?php }?>
<ul class="pagination">
<li class="item pager-next">
@@ -48,4 +50,6 @@ if ($url_mark_read && $hasAccess) { ?>
</ul>
<?php if ($url_mark_read && $hasAccess) { ?>
</form>
+<?php } else {?>
+</div>
<?php }?>