A lot of things
This commit is contained in:
@@ -7,5 +7,8 @@
|
||||
},
|
||||
"public/rhpz_category_view_clubs_submit_button.json": {
|
||||
"hash": "a24a5a4b130b6198de7ef37610aa1a7d"
|
||||
},
|
||||
"public/rhpz_forum_overview_wrapper_search_button.json": {
|
||||
"hash": "af109f16aca8a12c4f8496fc4431f4b8"
|
||||
}
|
||||
}
|
||||
@@ -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>"
|
||||
}
|
||||
Reference in New Issue
Block a user