A lot of things

This commit is contained in:
2026-06-16 16:21:43 +02:00
parent 4415a2e8c4
commit 73471162bf
37 changed files with 654 additions and 4 deletions

View File

@@ -7,5 +7,8 @@
},
"public/rhpz_category_view_clubs_submit_button.json": {
"hash": "a24a5a4b130b6198de7ef37610aa1a7d"
},
"public/rhpz_forum_overview_wrapper_search_button.json": {
"hash": "af109f16aca8a12c4f8496fc4431f4b8"
}
}

View File

@@ -0,0 +1,9 @@
{
"template": "forum_overview_wrapper",
"description": "Add Search button",
"execution_order": 10,
"enabled": true,
"action": "str_replace",
"find": "\t\t<xf:button href=\"{{ $xf.options.forumsDefaultPage == 'new_posts' ? link('forums/new-posts') : link('whats-new/posts') }}\" icon=\"bolt\">\n\t\t\t{{ phrase('new_posts') }}\n\t\t</xf:button>",
"replace": "\t\t$0\n\t\t<xf:button href=\"{{ link('search') }}\" icon=\"magnifying-glass\">\n\t\t\t{{ phrase('search') }}\n\t\t</xf:button>"
}