Skip to content

Commit 20c0c7e

Browse files
Fix #183: restore chevron icons on Recent Topics pagination arrows
The prev/next pagination arrows in rt_pagination.html lacked the Font Awesome chevron <i> element that core pagination uses, so they rendered as empty (invisible) buttons. Add the RTL-aware chevron to both arrows. Release 3.0.1.
1 parent a135c3b commit 20c0c7e

5 files changed

Lines changed: 11 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Recent Topics for phpBB 3.3
77
Extension for phpBB to display recent topics on the index page.
88
Originally based on NV Recent Topics by Joas Schilling ([nickvergessen](https://github.com/nickvergessen)), later maintained by PayBas. Now maintained by [avathar](https://www.avathar.be).
99

10-
**Version:** 3.0.0 (31/05/2026)
10+
**Version:** 3.0.1 (24/06/2026)
1111

1212
#### Requirements
1313
- phpBB 3.3.0 or higher

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"type": "phpbb-extension",
44
"description": "Recent Topics Extension for phpBB 3.3. Adds a list with recent topics to the index page.",
55
"homepage": "https://www.avathar.be/forum/app.php/dlext/details?df_id=35",
6-
"version": "3.0.0",
7-
"time": "2026-05-31",
6+
"version": "3.0.1",
7+
"time": "2026-06-24",
88
"keywords": ["phpbb", "extension", "Recent Topics"],
99
"license": "GPL-2.0-only",
1010
"authors": [

contrib/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
### Changelog
22

3+
- 3.0.1 (24/06/2026) — bugfix release
4+
5+
Fixes
6+
- [FIX] Recent Topics pagination prev/next arrows rendered as empty (invisible) buttons — restored the missing Font Awesome chevron icons in `rt_pagination.html`, RTL-aware to match core pagination (#183)
7+
38
- 3.0.0 (31/05/2026) — relaunch under avathar/recenttopics namespace, consolidating everything since the avathar fork of paybas/recenttopics
49

510
New features

ext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
class ext extends \phpbb\extension\base
1717
{
18-
const RT_VERSION = '3.0.0';
18+
const RT_VERSION = '3.0.1';
1919
const MIN_PHP_VERSION = '8.1.0';
2020
const MIN_PHPBB_VERSION = '3.3.0';
2121

styles/all/template/rt_pagination.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
{% for rt_pagination in loops.rt_pagination %}
1818
{% if rt_pagination.S_IS_PREV %}
1919
<li class="arrow previous"><a class="button button-icon-only" href="{{ rt_pagination.PAGE_URL }}" rel="prev" role="button">
20-
<span class="sr-only">{{ lang('PREVIOUS') }}</span></a></li>
20+
<i class="icon fa-chevron-{% if S_CONTENT_DIRECTION == 'rtl' %}right{% else %}left{% endif %} fa-fw" aria-hidden="true"></i><span class="sr-only">{{ lang('PREVIOUS') }}</span></a></li>
2121
{% elseif rt_pagination.S_IS_CURRENT %}
2222
<li class="active"><span>{{ rt_pagination.PAGE_NUMBER }}</span></li>
2323
{% elseif rt_pagination.S_IS_ELLIPSIS %}
2424
<li class="ellipsis" role="separator"><span>{{ lang('ELLIPSIS') }}</span></li>
2525
{% elseif rt_pagination.S_IS_NEXT %}
2626
<li class="arrow next"><a class="button button-icon-only" href="{{ rt_pagination.PAGE_URL }}" rel="next" role="button">
27-
<span class="sr-only">{{ lang('NEXT') }}</span></a></li>
27+
<i class="icon fa-chevron-{% if S_CONTENT_DIRECTION == 'rtl' %}left{% else %}right{% endif %} fa-fw" aria-hidden="true"></i><span class="sr-only">{{ lang('NEXT') }}</span></a></li>
2828
{% else %}
2929
<li><a class="button" href="{{ rt_pagination.PAGE_URL }}" role="button">{{ rt_pagination.PAGE_NUMBER }}</a></li>
3030
{% endif %}

0 commit comments

Comments
 (0)