From 47ff63f823a66cc16d2d9d6675ba6da821fa39dc Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Fri, 2 May 2014 16:41:40 -0700 Subject: [PATCH] [ticket/12484] Add template event ucp_agreement_terms_before/after PHPBB3-12484 --- phpBB/docs/events.md | 16 ++++++++++++++++ .../styles/prosilver/template/ucp_agreement.html | 2 ++ .../subsilver2/template/ucp_agreement.html | 2 ++ 3 files changed, 20 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 1cc1300c05..477b4e0f4c 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -535,6 +535,22 @@ topiclist_row_append * Since: 3.1.0-a1 * Purpose: Add content into topic rows (inside the elements containing topic titles) +ucp_agreement_terms_after +=== +* Locations: + + styles/prosilver/template/ucp_agreement.html + + styles/subsilver2/template/ucp_agreement.html +* Since: 3.1.0-b3 +* Purpose: Add content after the terms of agreement text at user registration + +ucp_agreement_terms_before +=== +* Locations: + + styles/prosilver/template/ucp_agreement.html + + styles/subsilver2/template/ucp_agreement.html +* Since: 3.1.0-b3 +* Purpose: Add content before the terms of agreement text at user registration + ucp_pm_viewmessage_contact_fields_after === * Locations: diff --git a/phpBB/styles/prosilver/template/ucp_agreement.html b/phpBB/styles/prosilver/template/ucp_agreement.html index bc4f23cee7..943774c6ec 100644 --- a/phpBB/styles/prosilver/template/ucp_agreement.html +++ b/phpBB/styles/prosilver/template/ucp_agreement.html @@ -35,7 +35,9 @@

{SITENAME} - {L_REGISTRATION}

+

{L_COPPA_BIRTHDAY}{L_TERMS_OF_USE}

+
diff --git a/phpBB/styles/subsilver2/template/ucp_agreement.html b/phpBB/styles/subsilver2/template/ucp_agreement.html index 3afe6e89a0..fca7eb2368 100644 --- a/phpBB/styles/subsilver2/template/ucp_agreement.html +++ b/phpBB/styles/subsilver2/template/ucp_agreement.html @@ -42,7 +42,9 @@
{L_COPPA_BIRTHDAY}

{L_COPPA_NO} :: {L_COPPA_YES}

+
{L_TERMS_OF_USE}

+