1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-05 00:13:29 +02:00

Merge pull request #5063 from vinny/ticket/15485

[ticket/15485] Add template event for forum images
This commit is contained in:
Marc Alexander 2017-12-28 08:22:36 +01:00
commit 53ce1330d6
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 33 additions and 1 deletions

View File

@ -680,6 +680,34 @@ forumlist_body_category_header_row_prepend
* Since: 3.1.5-RC1
* Purpose: Add content before the header row of the category on the forum list.
forumlist_body_forum_image_after
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.2.2-RC1
* Purpose: Add content after the forum image on the forum list.
forumlist_body_forum_image_append
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.2.2-RC1
* Purpose: Add content at the start of the forum image on the forum list.
forumlist_body_forum_image_before
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.2.2-RC1
* Purpose: Add content before the forum image on the forum list.
forumlist_body_forum_image_prepend
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.2.2-RC1
* Purpose: Add content at the end of the forum image on the forum list.
forumlist_body_forum_row_after
===
* Locations:

View File

@ -42,7 +42,11 @@
</a>
-->
<!-- ENDIF -->
<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->
<!-- IF forumrow.FORUM_IMAGE -->
<!-- EVENT forumlist_body_forum_image_before -->
<span class="forum-image"><!-- EVENT forumlist_body_forum_image_prepend -->{forumrow.FORUM_IMAGE}<!-- EVENT forumlist_body_forum_image_append --></span>
<!-- EVENT forumlist_body_forum_image_after -->
<!-- ENDIF -->
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a>
<!-- IF forumrow.FORUM_DESC --><br />{forumrow.FORUM_DESC}<!-- ENDIF -->
<!-- IF forumrow.MODERATORS -->