Fixed Trending and normalized Discover

This commit is contained in:
Pablo Ferreiro 2023-01-26 19:21:14 +01:00
parent 7d2f6e8fd6
commit 78fe44070c
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
7 changed files with 33 additions and 20 deletions

View file

@ -1,4 +1,4 @@
<div n:ifset="$info" class="buttons">
<div class="buttons">
{* is_numeric is used to avoid having a back button with ttwid cursors *}
{if isset($_GET['cursor']) && is_numeric($_GET['cursor']) && $_GET['cursor'] != 0}
<a class="button is-danger" href="?cursor=0">First</a>