1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-12 15:34:31 +02:00

Merge pull request #6869 from Crizz0/ticket/17536

[ticket/17536] Add four events to acp_forums.html fieldset
This commit is contained in:
Marc Alexander
2025-10-06 20:59:54 +02:00
committed by GitHub
2 changed files with 28 additions and 0 deletions

View File

@@ -189,11 +189,13 @@
<div id="forum_cat_options"> <div id="forum_cat_options">
<fieldset> <fieldset>
<legend>{L_GENERAL_FORUM_SETTINGS}</legend> <legend>{L_GENERAL_FORUM_SETTINGS}</legend>
{% EVENT acp_forums_cat_options_prepend %}
<dl> <dl>
<dt><label for="display_active">{L_DISPLAY_ACTIVE_TOPICS}{L_COLON}</label><br /><span>{L_DISPLAY_ACTIVE_TOPICS_EXPLAIN}</span></dt> <dt><label for="display_active">{L_DISPLAY_ACTIVE_TOPICS}{L_COLON}</label><br /><span>{L_DISPLAY_ACTIVE_TOPICS_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" name="display_active" value="1"<!-- IF S_ENABLE_ACTIVE_TOPICS --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_YES}</label> <dd><label><input type="radio" class="radio" name="display_active" value="1"<!-- IF S_ENABLE_ACTIVE_TOPICS --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="display_active" value="0"<!-- IF not S_ENABLE_ACTIVE_TOPICS --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> <label><input type="radio" class="radio" name="display_active" value="0"<!-- IF not S_ENABLE_ACTIVE_TOPICS --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl> </dl>
{% EVENT acp_forums_cat_options_append %}
</fieldset> </fieldset>
</div> </div>
@@ -307,6 +309,7 @@
<div id="forum_link_options"> <div id="forum_link_options">
<fieldset> <fieldset>
<legend>{L_GENERAL_FORUM_SETTINGS}</legend> <legend>{L_GENERAL_FORUM_SETTINGS}</legend>
{% EVENT acp_forums_link_options_prepend %}
<dl> <dl>
<dt><label for="link_display_on_index">{L_LIST_INDEX}{L_COLON}</label><br /><span>{L_LIST_INDEX_EXPLAIN}</span></dt> <dt><label for="link_display_on_index">{L_LIST_INDEX}{L_COLON}</label><br /><span>{L_LIST_INDEX_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" name="link_display_on_index" value="1"<!-- IF S_DISPLAY_ON_INDEX --> id="link_display_on_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label> <dd><label><input type="radio" class="radio" name="link_display_on_index" value="1"<!-- IF S_DISPLAY_ON_INDEX --> id="link_display_on_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
@@ -321,6 +324,7 @@
<dd><label><input type="radio" class="radio" name="forum_link_track" value="1"<!-- IF S_FORUM_LINK_TRACK --> id="forum_link_track" checked="checked"<!-- ENDIF --> /> {L_YES}</label> <dd><label><input type="radio" class="radio" name="forum_link_track" value="1"<!-- IF S_FORUM_LINK_TRACK --> id="forum_link_track" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="forum_link_track" value="0"<!-- IF not S_FORUM_LINK_TRACK --> id="forum_link_track" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> <label><input type="radio" class="radio" name="forum_link_track" value="0"<!-- IF not S_FORUM_LINK_TRACK --> id="forum_link_track" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl> </dl>
{% EVENT acp_forums_link_options_append %}
</fieldset> </fieldset>
</div> </div>

View File

@@ -108,12 +108,36 @@ acp_ext_list_not_installed_title_after
* Changed: 3.3.14 Renamed from acp_ext_list_available_title_after * Changed: 3.3.14 Renamed from acp_ext_list_available_title_after
* Purpose: Add text after not installed extensions section title. * Purpose: Add text after not installed extensions section title.
acp_forums_cat_options_append
===
* Location: adm/style/acp_forums.html
* Since: 3.3.16-RC1
* Purpose: Add additional settings to a forum type 'category' within 'General forum settings' fieldset
acp_forums_cat_options_prepend
===
* Location: adm/style/acp_forums.html
* Since: 3.3.16-RC1
* Purpose: Add additional settings to a forum type 'category' within 'General forum settings' fieldset
acp_forums_custom_settings acp_forums_custom_settings
=== ===
* Location: adm/style/acp_forums.html * Location: adm/style/acp_forums.html
* Since: 3.1.6-RC1 * Since: 3.1.6-RC1
* Purpose: Add its own box (fieldset) for extension settings * Purpose: Add its own box (fieldset) for extension settings
acp_forums_link_options_append
===
* Location: adm/style/acp_forums.html
* Since: 3.3.16-RC1
* Purpose: Add additional settings to a forum type 'link' within 'General forum settings' fieldset
acp_forums_link_options_prepend
===
* Location: adm/style/acp_forums.html
* Since: 3.3.16-RC1
* Purpose: Add additional settings to a forum type 'link' within 'General forum settings' fieldset
acp_forums_main_settings_append acp_forums_main_settings_append
=== ===
* Location: adm/style/acp_forums.html * Location: adm/style/acp_forums.html