Skip to content

Commit 1dddf9e

Browse files
committed
feat: update to phpBB 3.3.1
1 parent dfd1adb commit 1dddf9e

9 files changed

Lines changed: 23 additions & 9 deletions

template/attachment.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!-- EVENT attachment_file_before -->
1+
{% EVENT attachment_file_before %}
22

33
<!-- BEGIN _file -->
44

55
<!-- IF _file.S_DENIED -->
66
<span class="genmed">[{_file.DENIED_MESSAGE}]</span><br />
77
<!-- ELSE -->
8-
<!-- EVENT attachment_file_prepend -->
8+
{% EVENT attachment_file_prepend %}
99

1010
<!-- IF _file.COMMENT -->
1111
<span class="gensmall"><b>{L_FILE_COMMENT}{L_COLON}</b> {_file.COMMENT}</span><br />
@@ -29,9 +29,9 @@
2929
<span class="gensmall">{_file.L_DOWNLOAD_COUNT}</span>
3030
<!-- ENDIF -->
3131

32-
<!-- EVENT attachment_file_append -->
32+
{% EVENT attachment_file_append %}
3333
<br />
3434
<!-- ENDIF -->
3535

3636
<!-- END _file -->
37-
<!-- EVENT attachment_file_after -->
37+
{% EVENT attachment_file_after %}

template/captcha_recaptcha.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<div>{L_RECAPTCHA_NOSCRIPT}</div>
44
</noscript>
55
{% INCLUDEJS RECAPTCHA_SERVER ~ '.js?onload=phpbbRecaptchaOnLoad&hl=' ~ lang('RECAPTCHA_LANG') %}
6+
{# The g-recaptcha class is used in JavaScript #}
67
<div class="g-recaptcha" data-sitekey="{RECAPTCHA_PUBKEY}" data-callback="phpbbRecaptchaOnSubmit" data-size="invisible" data-tabindex="<!-- IF $CAPTCHA_TAB_INDEX -->{$CAPTCHA_TAB_INDEX}<!-- ELSE -->10<!-- ENDIF -->"></div>
78
<!-- ELSE -->
89
{L_RECAPTCHA_NOT_AVAILABLE}

template/mcp_post.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,12 @@
115115
<td class="row1" colspan="2">
116116
<!-- IF U_EDIT --><div class="gen" style="float: {S_CONTENT_FLOW_END};"><a href="{U_EDIT}" class="imageset">{EDIT_IMG}</a></div><!-- ENDIF -->
117117

118+
{% EVENT mcp_post_text_before %}
119+
118120
<div class="postbody">{POST_PREVIEW}</div>
119121

122+
{% EVENT mcp_post_text_after %}
123+
120124
<!-- IF S_HAS_ATTACHMENTS -->
121125
<br clear="all" /><br />
122126

template/mcp_topic.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@
133133
<tr>
134134
<td class="row3" colspan="3" height="1"><img src="images/spacer.gif" width="1" height="1" alt="" /></td>
135135
</tr>
136+
<!-- BEGINELSE -->
137+
<tr>
138+
<td class="row1" colspan="3" height="1">{{ lang('NO_POSTS_TIME_FRAME') }}</td>
139+
</tr>
136140
<!-- END postrow -->
137141
<tr>
138142
<td class="cat" colspan="3" align="center"><select name="action"><option value="" selected="selected">{L_SELECT_ACTION}</option>

template/search_body.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<tr>
4040
<td class="row1" width="25%"><b class="genmed">{L_RESULT_DAYS}{L_COLON} </b></td>
4141
<td class="row2" width="25%" nowrap="nowrap">{S_SELECT_SORT_DAYS}</td>
42-
<td class="row1" nowrap="nowrap"><b class="genmed">{L_RETURN_FIRST}{L_COLON} </b></td>
43-
<td class="row2" nowrap="nowrap"><select name="ch">{S_CHARACTER_OPTIONS}</select> <span class="genmed">{L_POST_CHARACTERS}</span></td>
42+
<td class="row1" nowrap="nowrap"><b class="genmed">{L_RETURN_FIRST}{L_COLON} </b><br /><span class="gensmall">{L_RETURN_FIRST_EXPLAIN}</span></td>
43+
<td class="row2" nowrap="nowrap"><input name="ch" type="number" value="{{ DEFAULT_RETURN_CHARS }}" min="0" max="9999" title="{{ lang('RETURN_FIRST') }}"> <span class="genmed">{L_POST_CHARACTERS}</span></td>
4444
</tr>
4545
<tr>
4646
<td class="cat" colspan="4" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" name="submit" type="submit" value="{L_SEARCH}" />&nbsp;&nbsp;<input class="btnlite" type="reset" value="{L_RESET}" /></td>

template/ucp_header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129

130130
<ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;">
131131
<!-- BEGIN friends_online -->
132-
<li>{friends_online.USERNAME_FULL}
132+
<li>{% EVENT ucp_header_friends_online_username_full_prepend %}{friends_online.USERNAME_FULL}{% EVENT ucp_header_friends_online_username_full_append %}
133133
<!-- IF S_SHOW_PM_BOX -->
134134
&nbsp;[ <input class="post" style="font-size: 90%;" type="submit" name="add_to[{friends_online.USER_ID}]" value="{L_ADD}" /> ]
135135
<!-- ENDIF -->
@@ -145,7 +145,7 @@
145145

146146
<ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;">
147147
<!-- BEGIN friends_offline -->
148-
<li>{friends_offline.USERNAME_FULL}
148+
<li>{% EVENT ucp_header_friends_offline_username_full_prepend %}{friends_offline.USERNAME_FULL}{% EVENT ucp_header_friends_offline_username_full_append %}
149149
<!-- IF S_SHOW_PM_BOX -->
150150
&nbsp;[ <input class="post" style="font-size: 90%;" type="submit" name="add_to[{friends_offline.USER_ID}]" value="{L_ADD}" /> ]
151151
<!-- ENDIF -->

template/ucp_notifications.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</td>
3232
<td align="center"><input type="checkbox" name="{notification_types.TYPE}_notification"<!-- IF notification_types.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /></td>
3333
<!-- BEGIN notification_methods -->
34-
<td align="center"><input type="checkbox" name="{notification_types.TYPE}_{notification_types.notification_methods.METHOD}" <!-- IF notification_types.notification_methods.AVAILABLE and notification_types.notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --><!-- IF not notification_types.notification_methods.AVAILABLE --> disabled="disabled"<!-- ENDIF --> /></td>
34+
<td align="center"><input type="checkbox" name="{notification_types.TYPE}_{notification_types.notification_methods.METHOD}" <!-- IF notification_types.notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --><!-- IF not notification_types.notification_methods.AVAILABLE --> disabled="disabled"<!-- ENDIF --> /></td>
3535
<!-- END notification_methods -->
3636
</tr>
3737
<!-- ENDIF -->

template/viewforum_body.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ <h2><!-- EVENT viewforum_forum_name_prepend --><a class="titles" href="{U_VIEW_F
323323

324324
<!-- INCLUDE breadcrumbs.html -->
325325

326+
{% EVENT viewforum_body_online_list_before %}
327+
326328
<!-- IF S_DISPLAY_ONLINE_LIST and U_VIEWONLINE -->
327329
<br clear="all" />
328330

template/viewtopic_body.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,11 @@ <h2><!-- EVENT viewtopic_topic_title_prepend --><a class="titles" href="{U_VIEW_
411411
<!-- ENDIF -->
412412

413413
<!-- EVENT viewtopic_body_footer_before -->
414+
414415
<!-- INCLUDE breadcrumbs.html -->
415416

417+
{% EVENT viewtopic_body_online_list_before %}
418+
416419
<!-- IF S_DISPLAY_ONLINE_LIST and U_VIEWONLINE -->
417420
<br clear="all" />
418421

0 commit comments

Comments
 (0)