diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index d05cb876fd..d8606c7e4c 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1597,6 +1597,20 @@ navbar_header_username_prepend * Since: 3.1.0-RC1 * Purpose: Add text and HTMl before the username shown in the navbar. +notification_dropdown_footer_after +=== +* Locations: + + styles/prosilver/template/notification_dropdown.html +* Since: 3.3.12-prep-release +* Purpose: Add content after notifications list footer. + +notification_dropdown_footer_before +=== +* Locations: + + styles/prosilver/template/notification_dropdown.html +* Since: 3.3.12-prep-release +* Purpose: Add content before notifications list footer. + overall_footer_after === * Locations: diff --git a/phpBB/phpbb/event/md_exporter.php b/phpBB/phpbb/event/md_exporter.php index 1a16a17413..7182ce697f 100644 --- a/phpBB/phpbb/event/md_exporter.php +++ b/phpBB/phpbb/event/md_exporter.php @@ -489,7 +489,7 @@ class md_exporter */ public function validate_version($version) { - return preg_match('#^\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+)?$#', $version); + return preg_match('#^\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+|(?:-prep-release))?$#', $version); } /** diff --git a/phpBB/styles/prosilver/template/notification_dropdown.html b/phpBB/styles/prosilver/template/notification_dropdown.html index e444d8fb90..281e5c9a8f 100644 --- a/phpBB/styles/prosilver/template/notification_dropdown.html +++ b/phpBB/styles/prosilver/template/notification_dropdown.html @@ -40,8 +40,10 @@ + {% EVENT notification_dropdown_footer_before %}
+ {% EVENT notification_dropdown_footer_after %}