commit:     0d640310e55bce70713b4eb0facacbcaa4c3e54d
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 28 10:39:58 2026 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Wed Jan 28 11:26:28 2026 +0000
URL:        https://gitweb.gentoo.org/proj/forums.git/commit/?id=0d640310

template: sync templates with upstream

Apply changes from upstream (with trailing whitespace and all) while
(hopefully) preserving all the changes we have made.

Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 template/index_body.html         |  6 ++---
 template/navbar_header.html      | 51 +++++++++++++++++++++++-----------------
 template/overall_footer.html     |  4 ++--
 template/overall_header.html     |  6 +++--
 template/ucp_pm_viewmessage.html |  7 ++++--
 template/viewtopic_body.html     | 44 ++++++++++++++++++++++++----------
 6 files changed, 76 insertions(+), 42 deletions(-)

diff --git a/template/index_body.html b/template/index_body.html
index 7b5fab3f4..a3f2082a5 100644
--- a/template/index_body.html
+++ b/template/index_body.html
@@ -27,8 +27,8 @@
        <form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
        <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF 
S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a 
href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
                <fieldset class="quick-login">
-                       <label 
for="username"><span>{L_USERNAME}{L_COLON}</span> <input type="text" 
tabindex="1" name="username" id="username" size="10" class="inputbox" 
title="{L_USERNAME}" /></label>
-                       <label 
for="password"><span>{L_PASSWORD}{L_COLON}</span> <input type="password" 
tabindex="2" name="password" id="password" size="10" class="inputbox" 
title="{L_PASSWORD}" autocomplete="off" /></label>
+                       <label 
for="username"><span>{L_USERNAME}{L_COLON}</span> <input type="text" 
tabindex="1" name="username" id="username" size="10" class="inputbox" 
title="{L_USERNAME}" autocomplete="username" /></label>
+                       <label 
for="password"><span>{L_PASSWORD}{L_COLON}</span> <input type="password" 
tabindex="2" name="password" id="password" size="10" class="inputbox" 
title="{L_PASSWORD}" autocomplete="current-password" /></label>
                        <!-- IF U_SEND_PASSWORD -->
                                <a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a>
                        <!-- ENDIF -->
@@ -49,7 +49,7 @@
                <!-- IF U_VIEWONLINE --><h3><a 
href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE 
--><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
                <p>
                        <!-- EVENT index_body_block_online_prepend -->
-                       {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br 
/>{RECORD_USERS}<br />
+                       {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br 
/>{RECORD_USERS}<br /> 
                        <!-- IF U_VIEWONLINE -->
                                <br />{LOGGED_IN_USER_LIST}
                                <!-- IF LEGEND --><br /><em>{L_LEGEND}{L_COLON} 
{LEGEND}</em><!-- ENDIF -->

diff --git a/template/navbar_header.html b/template/navbar_header.html
index 2b91ad07d..d8aa96142 100644
--- a/template/navbar_header.html
+++ b/template/navbar_header.html
@@ -161,7 +161,7 @@
                        </li>
                <!-- ENDIF -->
                <!-- EVENT navbar_header_user_profile_append -->
-       <!-- ELSE -->
+       <!-- ELSE IF not S_IS_BOT -->
                <li class="rightside"  data-skip-responsive="true">
                        <a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" 
accesskey="x" role="menuitem">
                                <i class="icon fa-power-off fa-fw" 
aria-hidden="true"></i><span>{L_LOGIN_LOGOUT}</span>
@@ -181,32 +181,41 @@
 
        <div class="nav-breadcrumbs-wrapper">
        <ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" 
role="menubar">
-               <!-- DEFINE $MICRODATA = ' 
itemtype="http://schema.org/ListItem"; itemprop="itemListElement" itemscope' -->
+               {% set MICRODATA = 'itemtype="https://schema.org/ListItem"; 
itemprop="itemListElement" itemscope' %}
                {% set navlink_position = 1 %}
-               <!-- EVENT overall_header_breadcrumbs_before -->
-               <li class="breadcrumbs" itemscope 
itemtype="http://schema.org/BreadcrumbList";>
-                       <!-- IF U_SITE_HOME -->
-                               <span class="crumb" {$MICRODATA}><a 
href="{U_SITE_HOME}" itemtype="https://schema.org/Thing"; itemprop="item" 
data-navbar-reference="home"><i class="icon fa-home fa-fw" 
aria-hidden="true"></i><span itemprop="name">{L_SITE_HOME}</span></a><meta 
itemprop="position" content="{{ navlink_position }}{% set navlink_position = 
navlink_position + 1 %}" /></span>
-                       <!-- ENDIF -->
-                       <!-- EVENT overall_header_breadcrumb_prepend -->
-                               <span class="crumb" {$MICRODATA}><a 
href="{U_INDEX}" itemtype="https://schema.org/Thing"; itemprop="item" 
accesskey="h" data-navbar-reference="index"><!-- IF not U_SITE_HOME --><i 
class="icon fa-home fa-fw"></i><!-- ENDIF --><span 
itemprop="name">{L_INDEX}</span></a><meta itemprop="position" content="{{ 
navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
-
-                       <!-- BEGIN navlinks -->
-                               <!-- EVENT overall_header_navlink_prepend -->
-                               <span class="crumb" {$MICRODATA}<!-- IF 
navlinks.MICRODATA --> {navlinks.MICRODATA}<!-- ENDIF -->><a 
href="{navlinks.U_VIEW_FORUM}" itemtype="https://schema.org/Thing"; 
itemprop="item"><span itemprop="name">{navlinks.FORUM_NAME}</span></a><meta 
itemprop="position" content="{{ navlink_position }}{% set navlink_position = 
navlink_position + 1 %}" /></span>
-                               <!-- EVENT overall_header_navlink_append -->
-                       <!-- END navlinks -->
-                       <!-- EVENT overall_header_breadcrumb_append -->
+
+               {% EVENT overall_header_breadcrumbs_before %}
+
+               <li class="breadcrumbs" itemscope 
itemtype="https://schema.org/BreadcrumbList";>
+
+                       {% if U_SITE_HOME %}
+                               <span class="crumb" {{ MICRODATA }}><a 
itemprop="item" href="{{ U_SITE_HOME }}" data-navbar-reference="home"><i 
class="icon fa-home fa-fw" aria-hidden="true"></i><span itemprop="name">{{ 
L_SITE_HOME }}</span></a><meta itemprop="position" content="{{ navlink_position 
}}{% set navlink_position = navlink_position + 1 %}" /></span>
+                       {% endif %}
+
+                       {% EVENT overall_header_breadcrumb_prepend %}
+                               <span class="crumb" {{ MICRODATA }}><a 
itemprop="item" href="{{ U_INDEX }}" accesskey="h" 
data-navbar-reference="index">{% if not U_SITE_HOME %}<i class="icon fa-home 
fa-fw"></i>{% endif %}<span itemprop="name">{{ L_INDEX }}</span></a><meta 
itemprop="position" content="{{ navlink_position }}{% set navlink_position = 
navlink_position + 1 %}" /></span>
+
+                       {% for navlink in navlinks %}
+                               {% set NAVLINK_NAME = navlink.BREADCRUMB_NAME | 
default(navlink.FORUM_NAME) %}
+                               {% set NAVLINK_LINK = navlink.U_BREADCRUMB | 
default(navlink.U_VIEW_FORUM) %}
+
+                               {% EVENT overall_header_navlink_prepend %}
+                               <span class="crumb" {{ MICRODATA }}{% if 
navlink.MICRODATA %} {{ navlink.MICRODATA }}{% endif %}><a itemprop="item" 
href="{{ NAVLINK_LINK }}"><span itemprop="name">{{ NAVLINK_NAME 
}}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set 
navlink_position = navlink_position + 1 %}" /></span>
+                               {% EVENT overall_header_navlink_append %}
+                       {% endfor %}
+
+                       {% EVENT overall_header_breadcrumb_append %}
                </li>
-               <!-- EVENT overall_header_breadcrumbs_after -->
 
-               <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
+               {% EVENT overall_header_breadcrumbs_after %}
+
+               {% if S_DISPLAY_SEARCH and not S_IN_SEARCH %}
                        <li class="rightside responsive-search">
-                               <a href="{U_SEARCH}" 
title="{L_SEARCH_ADV_EXPLAIN}" role="menuitem">
-                                       <i class="icon fa-search fa-fw" 
aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
+                               <a href="{{ U_SEARCH }}" title="{{ 
lang('SEARCH_ADV_EXPLAIN') }}" role="menuitem">
+                                       <i class="icon fa-search fa-fw" 
aria-hidden="true"></i><span class="sr-only">{{ lang('SEARCH') }}</span>
                                </a>
                        </li>
-               <!-- ENDIF -->
+               {% endif %}
        </ul>
        </div>
 

diff --git a/template/overall_footer.html b/template/overall_footer.html
index 898ce0acb..30f218e0e 100644
--- a/template/overall_footer.html
+++ b/template/overall_footer.html
@@ -59,11 +59,11 @@
 
 <div>
        <a id="bottom" class="anchor" accesskey="z"></a>
-       <!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
+       {% if not S_IS_BOT %}{{ RUN_CRON_TASK }}{% endif %}
 </div>
 
 <script src="{T_JQUERY_LINK}"></script>
-<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript 
src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!--
 ENDIF -->
+<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript 
src="{T_ASSETS_PATH}/javascript/jquery-3.7.1.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!--
 ENDIF -->
 <script 
src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
 <!-- INCLUDEJS forum_fn.js -->
 <!-- INCLUDEJS ajax.js -->

diff --git a/template/overall_header.html b/template/overall_header.html
index 82752e887..7c2a23d6a 100644
--- a/template/overall_header.html
+++ b/template/overall_header.html
@@ -40,7 +40,7 @@
 
        (function(d) {
                var wf = d.createElement('script'), s = d.scripts[0];
-               wf.src = 
'https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js';
+               wf.src = 
'https://cdn.jsdelivr.net/npm/[email protected]/webfontloader.min.js';
                wf.async = true;
                s.parentNode.insertBefore(wf, s);
        })(document);
@@ -85,7 +85,9 @@
                        <div class="inner">
 
                        <div id="site-description" class="site-description">
-                               <a id="logo" class="logo" href="<!-- IF 
U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- 
IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->"><span 
class="site_logo"></span></a>
+               <a id="logo" class="logo" href="{% if U_SITE_HOME %}{{ 
U_SITE_HOME }}{% else %}{{ U_INDEX }}{% endif %}" title="{% if U_SITE_HOME %}{{ 
L_SITE_HOME }}{% else %}{{ L_INDEX }}{% endif %}">
+                                       <span class="site_logo"></span>
+                               </a>
                                <span class="site-label">Forums</span>
                                <!--<h1>{SITENAME}</h1>
                                <p>{SITE_DESCRIPTION}</p>-->

diff --git a/template/ucp_pm_viewmessage.html b/template/ucp_pm_viewmessage.html
index dab6a9bab..eeba287ba 100644
--- a/template/ucp_pm_viewmessage.html
+++ b/template/ucp_pm_viewmessage.html
@@ -23,12 +23,14 @@
 <!-- ENDIF -->
 
 
-<div id="post-{MESSAGE_ID}" class="post pm has-profile">
+<div id="post-{MESSAGE_ID}" class="post pm has-profile<!-- IF S_ONLINE --> 
online<!-- ENDIF -->">
 <div class="inner">
 
-       <dl class="postprofile<!-- IF S_POST_UNAPPROVED or S_POST_REPORTED --> 
reported<!-- ENDIF --><!-- IF S_ONLINE --> online<!-- ENDIF -->" 
id="profile{MESSAGE_ID}">
+       <dl class="postprofile" id="profile{MESSAGE_ID}">
                <dt class="<!-- IF RANK_TITLE or RANK_IMG 
-->has-profile-rank<!-- ELSE -->no-profile-rank<!-- ENDIF --> <!-- IF 
AUTHOR_AVATAR -->has-avatar<!-- ELSE -->no-avatar<!-- ENDIF -->">
+                       {% EVENT ucp_pm_viewmessage_author_full_before %}
                        {MESSAGE_AUTHOR_FULL}
+                       {% EVENT ucp_pm_viewmessage_author_full_after %}
                </dt>
 
                <!-- EVENT ucp_pm_viewmessage_rank_before -->
@@ -130,6 +132,7 @@
                        <!-- IF S_BCC_RECIPIENT --><br 
/><strong>{L_BCC}{L_COLON}</strong> <!-- BEGIN bcc_recipient --><!-- IF 
bcc_recipient.NAME_FULL -->{bcc_recipient.NAME_FULL}<!-- ELSE --><a 
href="{bcc_recipient.U_VIEW}"<!-- IF bcc_recipient.COLOUR --> 
style="color:{bcc_recipient.COLOUR};"<!-- ENDIF 
-->><strong>{bcc_recipient.NAME}</strong></a><!-- ENDIF -->&nbsp;<!-- END 
bcc_recipient --><!-- ENDIF -->
                </p>
 
+               {% EVENT ucp_pm_viewmessage_message_content_before %}
 
                <div class="content">{MESSAGE}</div>
 

diff --git a/template/viewtopic_body.html b/template/viewtopic_body.html
index 2d96997d2..76a80b279 100644
--- a/template/viewtopic_body.html
+++ b/template/viewtopic_body.html
@@ -77,7 +77,7 @@
 <!-- EVENT viewtopic_body_poll_before -->
 
 <!-- IF S_HAS_POLL -->
-       <form method="post" action="{S_POLL_ACTION}" data-ajax="vote_poll" 
class="topic_poll">
+       <form method="post" action="{S_POLL_ACTION}" data-ajax="vote_poll" 
data-refresh="true" class="topic_poll">
 
        <div class="panel">
                <div class="inner">
@@ -145,10 +145,10 @@
        <!-- IF postrow.S_FIRST_UNREAD -->
                <a id="unread" class="anchor"<!-- IF S_UNREAD_VIEW --> 
data-url="{postrow.U_MINI_POST}"<!-- ENDIF -->></a>
        <!-- ENDIF -->
-       <div id="p{postrow.POST_ID}" class="post has-profile <!-- IF 
postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF 
postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF 
postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF 
postrow.S_POST_DELETED --> deleted<!-- ENDIF --><!-- IF postrow.POSTER_WARNINGS 
--> warned<!-- ENDIF -->">
+       <div id="p{postrow.POST_ID}" class="post has-profile <!-- IF 
postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF 
postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF 
postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF 
postrow.S_POST_DELETED --> deleted<!-- ENDIF --><!-- IF postrow.S_ONLINE and 
not postrow.S_POST_HIDDEN --> online<!-- ENDIF --><!-- IF 
postrow.POSTER_WARNINGS --> warned<!-- ENDIF -->">
                <div class="inner">
 
-               <dl class="postprofile<!-- IF postrow.S_ONLINE and not 
postrow.S_IGNORE_POST --> online<!-- ENDIF -->" 
id="profile{postrow.POST_ID}"<!-- IF postrow.S_POST_HIDDEN --> style="display: 
none;"<!-- ENDIF -->>
+               <dl class="postprofile" id="profile{postrow.POST_ID}"<!-- IF 
postrow.S_POST_HIDDEN --> style="display: none;"<!-- ENDIF -->>
                        <dt class="<!-- IF postrow.RANK_TITLE or 
postrow.RANK_IMG -->has-profile-rank<!-- ELSE -->no-profile-rank<!-- ENDIF --> 
<!-- IF postrow.POSTER_AVATAR -->has-avatar<!-- ELSE -->no-avatar<!-- ENDIF 
-->">
                                <!-- EVENT viewtopic_body_post_author_before -->
                                <!-- IF not postrow.U_POST_AUTHOR 
--><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE 
-->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
@@ -202,7 +202,7 @@
                                                                        <div>
                                                                <!-- ENDIF -->
                                                                        <a 
href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE 
-->{postrow.U_POST_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF 
$S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 
'jabber' --> onclick="popup(this.href, 750, 320); return false;"<!-- ENDIF -->>
-                                                                               
<span class="contact-icon 
{postrow.contact.ID}-icon">{postrow.contact.NAME}</span>
+                                                                               
{% EVENT viewtopic_body_contact_icon_prepend %}<span class="contact-icon 
{postrow.contact.ID}-icon">{postrow.contact.NAME}</span>{% EVENT 
viewtopic_body_contact_icon_append %}
                                                                        </a>
                                                                <!-- IF 
REMAINDER eq 3 or postrow.contact.S_LAST_ROW -->
                                                                        </div>
@@ -221,20 +221,25 @@
                        <!-- IF postrow.S_POST_HIDDEN -->
                                <!-- IF postrow.S_POST_DELETED -->
                                        <div class="ignore" 
id="post_hidden{postrow.POST_ID}">
-                                               
{postrow.L_POST_DELETED_MESSAGE}<br />
-                                               {postrow.L_POST_DISPLAY}
+                                               
{postrow.L_POST_DELETED_MESSAGE}<br>
+                                               <a class="display_post" 
data-post-id="{{ postrow.POST_ID }}" href="{{ postrow.U_MINI_POST_VIEW }}">{{ 
lang('POST_DISPLAY') }}</a>
                                        </div>
                                <!-- ELSEIF postrow.S_IGNORE_POST -->
                                        <div class="ignore" 
id="post_hidden{postrow.POST_ID}">
-                                               {postrow.L_IGNORE_POST}<br />
-                                               {postrow.L_POST_DISPLAY}
+                                               {postrow.L_IGNORE_POST}<br>
+                                               <a class="display_post" 
data-post-id="{{ postrow.POST_ID }}" href="{{ postrow.U_MINI_POST_VIEW }}">{{ 
lang('POST_DISPLAY') }}</a>
                                        </div>
                                <!-- ENDIF -->
                        <!-- ENDIF -->
                        <div id="post_content{postrow.POST_ID}"<!-- IF 
postrow.S_POST_HIDDEN --> style="display: none;"<!-- ENDIF -->>
 
                        <!-- EVENT viewtopic_body_post_subject_before -->
-                       <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- 
ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img 
src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" 
width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" 
alt="{postrow.POST_ICON_IMG_ALT}" title="{postrow.POST_ICON_IMG_ALT}" /> <!-- 
ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>
+               <h3 {% if postrow.S_FIRST_ROW %}class="first"{% endif %}>
+                       {% if postrow.POST_ICON_IMG %}
+                               <img src="{{ T_ICONS_PATH }}{{ 
postrow.POST_ICON_IMG }}" width="{{ postrow.POST_ICON_IMG_WIDTH }}" height="{{ 
postrow.POST_ICON_IMG_HEIGHT }}" alt="{{ postrow.POST_ICON_IMG_ALT }}" 
title="{{ postrow.POST_ICON_IMG_ALT }}">
+                       {% endif %}
+                       <a {% if postrow.S_FIRST_UNREAD %}class="first-unread" 
{% endif %}href="{{ postrow.U_MINI_POST }}">{{ postrow.POST_SUBJECT }}</a>
+               </h3>
 
                <!-- DEFINE $SHOW_POST_BUTTONS = (postrow.U_EDIT or 
postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or 
postrow.U_QUOTE) -->
                <!-- EVENT viewtopic_body_post_buttons_list_before -->
@@ -299,11 +304,12 @@
                                                <i class="icon fa-file fa-fw 
<!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF 
--> icon-md" aria-hidden="true"></i><span 
class="sr-only">{postrow.MINI_POST}</span>
                                        </a>
                                <!-- ENDIF -->
-                               <span 
class="responsive-hide">{L_POST_BY_AUTHOR} 
<strong>{postrow.POST_AUTHOR_FULL}</strong> &raquo; </span>{postrow.POST_DATE}
+                               <span 
class="responsive-hide">{L_POST_BY_AUTHOR} 
<strong>{postrow.POST_AUTHOR_FULL}</strong> &raquo; </span><time 
datetime="{postrow.POST_DATE_RFC3339}">{postrow.POST_DATE}</time>
                        </p>
                        <!-- EVENT viewtopic_body_postrow_post_details_after -->
 
                        <!-- IF postrow.S_POST_UNAPPROVED -->
+                       <!-- IF postrow.S_CAN_APPROVE -->
                        <form method="post" class="mcp_approve" 
action="{postrow.U_APPROVE_ACTION}">
                                <p class="post-notice unapproved">
                                        <span><i class="icon fa-question 
icon-red fa-fw" aria-hidden="true"></i></span>
@@ -314,6 +320,12 @@
                                        {S_FORM_TOKEN}
                                </p>
                        </form>
+                       <!-- ELSE -->
+                               <p class="post-notice unapproved">
+                                       <span><i class="icon fa-exclamation 
icon-red fa-fw" aria-hidden="true"></i></span>
+                                       
<strong>{L_POST_UNAPPROVED_EXPLAIN}</strong>
+                               </p>
+                       <!-- ENDIF -->
                        <!-- ELSEIF postrow.S_POST_DELETED -->
                        <form method="post" class="mcp_approve" 
action="{postrow.U_APPROVE_ACTION}">
                                <p class="post-notice deleted">
@@ -334,6 +346,8 @@
                        </p>
                        <!-- ENDIF -->
 
+                       {% EVENT viewtopic_body_postrow_content_before %}
+
                        <div class="content">{postrow.MESSAGE}</div>
 
                        <!-- EVENT viewtopic_body_postrow_content_after -->
@@ -365,7 +379,10 @@
 
                        <!-- IF postrow.BUMPED_MESSAGE --><div 
class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF -->
                        <!-- EVENT viewtopic_body_postrow_post_notices_after -->
-                       <!-- IF postrow.SIGNATURE --><div 
id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF 
-->
+
+                       {% EVENT viewtopic_body_postrow_signature_before %}
+                               {% if postrow.SIGNATURE %}<div id="sig{{ 
postrow.POST_ID }}" class="signature">{{ postrow.SIGNATURE }}</div>{% endif %}
+                       {% EVENT viewtopic_body_postrow_signature_after %}
 
                        <!-- EVENT viewtopic_body_postrow_post_content_footer 
-->
                        </div>
@@ -386,7 +403,6 @@
                </div>
        </div>
 
-       <hr class="divider" />
        <!-- EVENT viewtopic_body_postrow_post_after -->
 <!-- END postrow -->
 
@@ -452,6 +468,8 @@
 <!-- EVENT viewtopic_body_footer_before -->
 <!-- INCLUDE jumpbox.html -->
 
+{% EVENT viewtopic_body_online_list_before %}
+
 <!-- IF S_DISPLAY_ONLINE_LIST and U_VIEWONLINE -->
        <div class="stat-block online-list">
                <h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3>
@@ -459,4 +477,6 @@
        </div>
 <!-- ENDIF -->
 
+{% EVENT viewtopic_body_online_list_after %}
+
 <!-- INCLUDE overall_footer.html -->

Reply via email to