mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge pull request #6625 from rxu/ticket/17324
[ticket/17324] Add template event to notification_dropdown.html
This commit is contained in:
commit
e328ee96d2
3 changed files with 17 additions and 1 deletions
|
@ -1597,6 +1597,20 @@ navbar_header_username_prepend
|
||||||
* Since: 3.1.0-RC1
|
* Since: 3.1.0-RC1
|
||||||
* Purpose: Add text and HTMl before the username shown in the navbar.
|
* 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
|
overall_footer_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
|
|
@ -489,7 +489,7 @@ class md_exporter
|
||||||
*/
|
*/
|
||||||
public function validate_version($version)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -40,8 +40,10 @@
|
||||||
<!-- END notifications -->
|
<!-- END notifications -->
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
{% EVENT notification_dropdown_footer_before %}
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<a href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_SEE_ALL}</span></a>
|
<a href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_SEE_ALL}</span></a>
|
||||||
</div>
|
</div>
|
||||||
|
{% EVENT notification_dropdown_footer_after %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue