Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ticket/12596] Add template event acp_group_options_before/after #2502

Merged
merged 1 commit into from May 27, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions phpBB/adm/style/acp_groups.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h3>{L_WARNING}</h3>

<fieldset>
<legend>{L_GROUP_OPTIONS_SAVE}</legend>
<!-- EVENT acp_group_options_before -->
<!-- IF S_USER_FOUNDER -->
<dl>
<dt><label for="group_founder_manage">{L_GROUP_FOUNDER_MANAGE}{L_COLON}</label><br /><span>{L_GROUP_FOUNDER_MANAGE_EXPLAIN}</span></dt>
Expand All @@ -78,6 +79,7 @@ <h3>{L_WARNING}</h3>
<dt><label for="group_receive_pm">{L_GROUP_RECEIVE_PM}{L_COLON}</label><br /><span>{L_GROUP_RECEIVE_PM_EXPLAIN}</span></dt>
<dd><input name="group_receive_pm" type="checkbox" value="1" class="radio" id="group_receive_pm"{GROUP_RECEIVE_PM} /></dd>
</dl>
<!-- EVENT acp_group_options_after -->
</fieldset>

<fieldset>
Expand Down
12 changes: 12 additions & 0 deletions phpBB/docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ acp_forums_normal_settings_append
* Since: 3.1.0-a1
* Purpose: Add settings to forums

acp_group_options_before
===
* Location: adm/style/acp_groups.html
* Since: 3.1.0-b4
* Purpose: Add addtional options to group settings (before GROUP_FOUNDER_MANAGE)

acp_group_options_after
===
* Location: adm/style/acp_groups.html
* Since: 3.1.0-b4
* Purpose: Add addtional options to group settings (after GROUP_RECEIVE_PM)

acp_main_actions_append
===
* Location: adm/style/acp_main.html
Expand Down