|
diff --git a/phpBB/styles/prosilver/template/confirm_delete_body.html b/phpBB/styles/prosilver/template/confirm_delete_body.html |
|
index 9897496..637830a 100644 |
|
--- a/phpBB/styles/prosilver/template/confirm_delete_body.html |
|
+++ b/phpBB/styles/prosilver/template/confirm_delete_body.html |
|
@@ -49,6 +49,8 @@ |
|
</dl> |
|
<!-- ENDIF --> |
|
|
|
+ {% EVENT confirm_delete_body_delete_reason_before %} |
|
+ |
|
<dl> |
|
<dt><label for="delete_reason">{L_DELETE_REASON}{L_COLON}</label><br /><span>{L_DELETE_REASON_EXPLAIN}</span></dt> |
|
<dd><input type="text" name="delete_reason" id="delete_reason" value="" class="inputbox autowidth" maxlength="120" size="45" /></dd> |
|
diff --git a/phpBB/styles/prosilver/template/forumlist_body.html b/phpBB/styles/prosilver/template/forumlist_body.html |
|
index eab6528..eed27b5 100644 |
|
--- a/phpBB/styles/prosilver/template/forumlist_body.html |
|
+++ b/phpBB/styles/prosilver/template/forumlist_body.html |
|
@@ -95,7 +95,7 @@ |
|
<!-- EVENT forumlist_body_last_post_title_prepend --> |
|
<a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}" class="lastsubject">{forumrow.LAST_POST_SUBJECT_TRUNCATED}</a> <br /> |
|
<!-- ENDIF --> |
|
- {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL} |
|
+ {L_POST_BY_AUTHOR} <!-- EVENT forumlist_body_last_poster_username_prepend -->{forumrow.LAST_POSTER_FULL}<!-- EVENT forumlist_body_last_poster_username_append --> |
|
<!-- IF not S_IS_BOT --> |
|
<a href="{forumrow.U_LAST_POST}" title="{L_VIEW_LATEST_POST}"> |
|
<i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span> |
|
diff --git a/phpBB/styles/prosilver/template/mcp_ban.html b/phpBB/styles/prosilver/template/mcp_ban.html |
|
index 5b798d9..d953f10 100644 |
|
--- a/phpBB/styles/prosilver/template/mcp_ban.html |
|
+++ b/phpBB/styles/prosilver/template/mcp_ban.html |
|
@@ -1,8 +1,6 @@ |
|
<!-- INCLUDE mcp_header.html --> |
|
|
|
-<script type="text/javascript"> |
|
-// <![CDATA[ |
|
- |
|
+<script> |
|
var ban_length = new Array(); |
|
ban_length[-1] = ''; |
|
var ban_reason = new Array(); |
|
@@ -13,10 +11,10 @@ |
|
<!-- BEGIN bans --> |
|
ban_length['{bans.BAN_ID}'] = '{bans.A_LENGTH}'; |
|
<!-- IF bans.A_REASON --> |
|
- ban_reason['{bans.BAN_ID}'] = '{bans.A_REASON}'; |
|
+ ban_reason['{bans.BAN_ID}'] = '{{ bans.A_REASON | e('js') }}'; |
|
<!-- ENDIF --> |
|
<!-- IF bans.A_GIVE_REASON --> |
|
- ban_give_reason['{bans.BAN_ID}'] = '{bans.A_GIVE_REASON}'; |
|
+ ban_give_reason['{bans.BAN_ID}'] = '{{ bans.A_GIVE_REASON | e('js') }}'; |
|
<!-- ENDIF --> |
|
<!-- END bans --> |
|
|
|
@@ -34,8 +32,6 @@ |
|
document.getElementById('unbangivereason').innerHTML = ''; |
|
} |
|
} |
|
- |
|
-// ]]> |
|
</script> |
|
|
|
<form id="mcp_ban" method="post" action="{U_ACTION}"> |
|
diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html |
|
index af16c8a..cf9d0bd 100644 |
|
--- a/phpBB/styles/prosilver/template/mcp_post.html |
|
+++ b/phpBB/styles/prosilver/template/mcp_post.html |
|
@@ -31,10 +31,12 @@ |
|
<form method="post" id="mcp_report" action="{S_CLOSE_ACTION}"> |
|
|
|
<fieldset class="submit-buttons"> |
|
+ {% EVENT mcp_post_report_buttons_top_before %} |
|
<!-- IF not S_REPORT_CLOSED --> |
|
<input class="button1" type="submit" value="{L_CLOSE_REPORT}" name="action[close]" /> |
|
<!-- ENDIF --> |
|
<input class="button2" type="submit" value="{L_DELETE_REPORT}" name="action[delete]" /> |
|
+ {% EVENT mcp_post_report_buttons_top_after %} |
|
<input type="hidden" name="report_id_list[]" value="{REPORT_ID}" /> |
|
{S_FORM_TOKEN} |
|
</fieldset> |
|
@@ -69,8 +71,8 @@ |
|
<p class="author"> |
|
<strong>{L_SENT_AT}{L_COLON}</strong> {POST_DATE} |
|
<br /><strong>{L_PM_FROM}{L_COLON}</strong> {POST_AUTHOR_FULL} |
|
- <!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}{L_COLON}</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}" style="color:<!-- IF to_recipient.COLOUR -->{to_recipient.COLOUR}<!-- ELSEIF to_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{to_recipient.NAME}</a><!-- ENDIF --> <!-- END to_recipient --><!-- ENDIF --> |
|
- <!-- 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}" style="color:<!-- IF bcc_recipient.COLOUR -->{bcc_recipient.COLOUR}<!-- ELSEIF bcc_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{bcc_recipient.NAME}</a><!-- ENDIF --> <!-- END bcc_recipient --><!-- ENDIF --> |
|
+ <!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}{L_COLON}</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}"<!-- IF to_recipient.COLOUR --> style="color:{to_recipient.COLOUR};"<!-- ENDIF -->><strong>{to_recipient.NAME}</strong></a><!-- ENDIF --> <!-- END to_recipient --><!-- ENDIF --> |
|
+ <!-- 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 --> <!-- END bcc_recipient --><!-- ENDIF --> |
|
</p> |
|
<!-- ELSE --> |
|
<p class="author"><span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{MINI_POST_IMG}</span></span> {L_POSTED} {L_POST_BY_AUTHOR} {POST_AUTHOR_FULL} » {POST_DATE}</p> |
|
diff --git a/phpBB/styles/prosilver/template/memberlist_body.html b/phpBB/styles/prosilver/template/memberlist_body.html |
|
index 255e674..cedc503 100644 |
|
--- a/phpBB/styles/prosilver/template/memberlist_body.html |
|
+++ b/phpBB/styles/prosilver/template/memberlist_body.html |
|
@@ -88,7 +88,7 @@ |
|
<!-- IF not S_LEADERS_SET --> |
|
<th class="name" data-dfn="{L_RANK}{L_COMMA_SEPARATOR}{L_USERNAME}"><span class="rank-img"><a href="{U_SORT_RANK}">{L_RANK}</a></span><a href="{U_SORT_USERNAME}"><!-- IF S_SHOW_GROUP -->{L_GROUP_MEMBERS}<!-- ELSE -->{L_USERNAME}<!-- ENDIF --></a></th> |
|
<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th> |
|
- <th class="info"><!-- BEGIN custom_fields --><!-- IF not custom_fields.S_FIRST_ROW -->{L_COMMA_SEPARATOR} <!-- ENDIF -->{custom_fields.PROFILE_FIELD_NAME}<!-- END custom_fields --></th> |
|
+ <th class="info">{% for field in custom_fields %}{% if not loop.first %}{L_COMMA_SEPARATOR} {% endif %}{{ field.PROFILE_FIELD_NAME }}{% endfor %}</th> |
|
<th class="joined"><a href="{U_SORT_JOINED}#memberlist">{L_JOINED}</a></th> |
|
<!-- IF U_SORT_ACTIVE --><th class="active"><a href="{U_SORT_ACTIVE}#memberlist">{L_LAST_ACTIVE}</a></th><!-- ENDIF --> |
|
<!-- ELSEIF S_SHOW_GROUP --> |
|
diff --git a/phpBB/styles/prosilver/template/memberlist_view.html b/phpBB/styles/prosilver/template/memberlist_view.html |
|
index a7439bc..debf64c 100644 |
|
--- a/phpBB/styles/prosilver/template/memberlist_view.html |
|
+++ b/phpBB/styles/prosilver/template/memberlist_view.html |
|
@@ -21,7 +21,7 @@ |
|
<dl class="left-box details profile-details"> |
|
<dt>{L_USERNAME}{L_COLON}</dt> |
|
<dd> |
|
- <!-- IF USER_COLOR --><span style="color: {USER_COLOR}; font-weight: bold;"><!-- ELSE --><span><!-- ENDIF -->{USERNAME}</span> |
|
+ <!-- EVENT memberlist_view_username_prepend --><!-- IF USER_COLOR --><span style="color: {USER_COLOR}; font-weight: bold;"><!-- ELSE --><span><!-- ENDIF -->{USERNAME}</span><!-- EVENT memberlist_view_username_append --> |
|
<!-- IF U_EDIT_SELF --> [ <a href="{U_EDIT_SELF}">{L_EDIT_PROFILE}</a> ]<!-- ENDIF --> |
|
<!-- IF U_USER_ADMIN --> [ <a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a> ]<!-- ENDIF --> |
|
<!-- IF U_USER_BAN --> [ <a href="{U_USER_BAN}">{L_USER_BAN}</a> ]<!-- ENDIF --> |
|
diff --git a/phpBB/styles/prosilver/template/navbar_header.html b/phpBB/styles/prosilver/template/navbar_header.html |
|
index b8080a6..2da1430 100644 |
|
--- a/phpBB/styles/prosilver/template/navbar_header.html |
|
+++ b/phpBB/styles/prosilver/template/navbar_header.html |
|
@@ -123,11 +123,13 @@ |
|
<i class="icon fa-sliders fa-fw" aria-hidden="true"></i><span>{L_PROFILE}</span> |
|
</a> |
|
</li> |
|
+ <!-- IF U_USER_PROFILE --> |
|
<li> |
|
<a href="{U_USER_PROFILE}" title="{L_READ_PROFILE}" role="menuitem"> |
|
<i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{L_READ_PROFILE}</span> |
|
</a> |
|
</li> |
|
+ <!-- ENDIF --> |
|
|
|
<!-- EVENT navbar_header_profile_list_after --> |
|
|
|
@@ -176,9 +178,9 @@ |
|
</ul> |
|
|
|
<ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" role="menubar"> |
|
- <!-- DEFINE $MICRODATA = ' itemtype="http://data-vocabulary.org/Breadcrumb" itemscope=""' --> |
|
+ <!-- DEFINE $MICRODATA = ' itemtype="http://schema.org/ListItem" itemprop="itemListElement" itemscope' --> |
|
<!-- EVENT overall_header_breadcrumbs_before --> |
|
- <li class="breadcrumbs"> |
|
+ <li class="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList"> |
|
<!-- IF U_SITE_HOME --> |
|
<span class="crumb" {$MICRODATA}><a href="{U_SITE_HOME}" itemprop="url" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span itemprop="title">{L_SITE_HOME}</span></a></span> |
|
<!-- ENDIF --> |
|
diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html |
|
index 083d974..bdff1a0 100644 |
|
--- a/phpBB/styles/prosilver/template/overall_footer.html |
|
+++ b/phpBB/styles/prosilver/template/overall_footer.html |
|
@@ -63,13 +63,13 @@ |
|
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF --> |
|
</div> |
|
|
|
-<script type="text/javascript" src="{T_JQUERY_LINK}"></script> |
|
-<!-- IF S_ALLOW_CDN --><script type="text/javascript">window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF --> |
|
-<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script> |
|
+<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 --> |
|
+<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script> |
|
<!-- INCLUDEJS forum_fn.js --> |
|
<!-- INCLUDEJS ajax.js --> |
|
<!-- IF S_ALLOW_CDN --> |
|
- <script type="text/javascript"> |
|
+ <script> |
|
(function($){ |
|
var $fa_cdn = $('head').find('link[rel="stylesheet"]').first(), |
|
$span = $('<span class="fa" style="display:none"></span>').appendTo('body'); |
|
diff --git a/phpBB/styles/prosilver/template/plupload.html b/phpBB/styles/prosilver/template/plupload.html |
|
index fc66311..1eb8437 100644 |
|
--- a/phpBB/styles/prosilver/template/plupload.html |
|
+++ b/phpBB/styles/prosilver/template/plupload.html |
|
@@ -1,5 +1,4 @@ |
|
-<script type="text/javascript"> |
|
-//<![CDATA[ |
|
+<script> |
|
phpbb.plupload = { |
|
i18n: { |
|
'b': '{LA_BYTES_SHORT}', |
|
@@ -63,7 +62,6 @@ phpbb.plupload = { |
|
maxFiles: {MAX_ATTACHMENTS}, |
|
data: {S_ATTACH_DATA}, |
|
} |
|
-//]]> |
|
</script> |
|
<!-- INCLUDEJS {T_ASSETS_PATH}/plupload/plupload.full.min.js --> |
|
<!-- INCLUDEJS {T_ASSETS_PATH}/javascript/plupload.js --> |
|
diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html |
|
index 14185ed..122afdf 100644 |
|
--- a/phpBB/styles/prosilver/template/posting_buttons.html |
|
+++ b/phpBB/styles/prosilver/template/posting_buttons.html |
|
@@ -1,6 +1,5 @@ |
|
|
|
-<script type="text/javascript"> |
|
-// <![CDATA[ |
|
+<script> |
|
var form_name = 'postform'; |
|
var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->; |
|
var load_draft = false; |
|
@@ -46,8 +45,6 @@ |
|
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}'; |
|
} |
|
} |
|
- |
|
-// ]]> |
|
</script> |
|
<!-- INCLUDEJS {T_ASSETS_PATH}/javascript/editor.js --> |
|
|
|
diff --git a/phpBB/styles/prosilver/template/posting_pm_header.html b/phpBB/styles/prosilver/template/posting_pm_header.html |
|
index 032d8c6..7fee914 100644 |
|
--- a/phpBB/styles/prosilver/template/posting_pm_header.html |
|
+++ b/phpBB/styles/prosilver/template/posting_pm_header.html |
|
@@ -32,7 +32,7 @@ |
|
<!-- BEGIN to_recipient --> |
|
<li> |
|
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="button2" /><!-- ENDIF --> |
|
- <!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></a><!-- ELSE -->{to_recipient.NAME_FULL}<!-- ENDIF --> |
|
+ <!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}" style="color: {{ to_recipient.COLOUR }}"><strong>{to_recipient.NAME}</strong></a><!-- ELSE -->{to_recipient.NAME_FULL}<!-- ENDIF --> |
|
</li> |
|
<!-- END to_recipient --> |
|
</ul> |
|
@@ -49,7 +49,7 @@ |
|
<!-- BEGIN bcc_recipient --> |
|
<li> |
|
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="x" class="button2" /><!-- ENDIF --> |
|
- <!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}"><strong>{bcc_recipient.NAME}</strong></a><!-- ELSE -->{bcc_recipient.NAME_FULL}<!-- ENDIF --> |
|
+ <!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}" style="color: {{ bcc_recipient.COLOUR }}"><strong>{bcc_recipient.NAME}</strong></a><!-- ELSE -->{bcc_recipient.NAME_FULL}<!-- ENDIF --> |
|
</li> |
|
<!-- END bcc_recipient --> |
|
</ul> |
|
diff --git a/phpBB/styles/prosilver/template/posting_preview.html b/phpBB/styles/prosilver/template/posting_preview.html |
|
index aac117c..781d0de 100644 |
|
--- a/phpBB/styles/prosilver/template/posting_preview.html |
|
+++ b/phpBB/styles/prosilver/template/posting_preview.html |
|
@@ -31,6 +31,8 @@ |
|
|
|
<div class="content">{PREVIEW_MESSAGE}</div> |
|
|
|
+ <!-- EVENT posting_preview_content_after --> |
|
+ |
|
<!-- IF .attachment --> |
|
<dl class="attachbox"> |
|
<dt>{L_ATTACHMENTS}</dt> |
|
diff --git a/phpBB/styles/prosilver/template/posting_smilies.html b/phpBB/styles/prosilver/template/posting_smilies.html |
|
index 54e82a5..b5794d5 100644 |
|
--- a/phpBB/styles/prosilver/template/posting_smilies.html |
|
+++ b/phpBB/styles/prosilver/template/posting_smilies.html |
|
@@ -1,10 +1,8 @@ |
|
<!-- INCLUDE simple_header.html --> |
|
|
|
-<script type="text/javascript"> |
|
-// <![CDATA[ |
|
+<script> |
|
var form_name = opener.form_name; |
|
var text_name = opener.text_name; |
|
-// ]]> |
|
</script> |
|
<!-- INCLUDEJS {T_ASSETS_PATH}/javascript/editor.js --> |
|
|
|
diff --git a/phpBB/styles/prosilver/template/posting_topic_review.html b/phpBB/styles/prosilver/template/posting_topic_review.html |
|
index 857c686..93c4484 100644 |
|
--- a/phpBB/styles/prosilver/template/posting_topic_review.html |
|
+++ b/phpBB/styles/prosilver/template/posting_topic_review.html |
|
@@ -5,10 +5,8 @@ |
|
</h3> |
|
|
|
<div id="topicreview" class="topicreview"> |
|
-<script type="text/javascript"> |
|
-// <![CDATA[ |
|
+<script> |
|
bbcodeEnabled = {S_BBCODE_ALLOWED}; |
|
-// ]]> |
|
</script> |
|
<!-- BEGIN topic_review_row --> |
|
|
|
@@ -62,6 +60,8 @@ |
|
|
|
<div class="content">{topic_review_row.MESSAGE}</div> |
|
|
|
+ <!-- EVENT posting_topic_review_row_content_after --> |
|
+ |
|
<!-- IF topic_review_row.S_HAS_ATTACHMENTS --> |
|
<dl class="attachbox"> |
|
<dt>{L_ATTACHMENTS}</dt> |
|
diff --git a/phpBB/styles/prosilver/template/search_results.html b/phpBB/styles/prosilver/template/search_results.html |
|
index 6bc5c72..d4dc6aa 100644 |
|
--- a/phpBB/styles/prosilver/template/search_results.html |
|
+++ b/phpBB/styles/prosilver/template/search_results.html |
|
@@ -108,7 +108,7 @@ |
|
|
|
<!-- IF not S_IS_BOT --> |
|
<div class="responsive-show" style="display: none;"> |
|
- {L_LAST_POST} {L_POST_BY_AUTHOR} {searchresults.LAST_POST_AUTHOR_FULL} « <a href="{searchresults.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{searchresults.LAST_POST_TIME}</a> |
|
+ {L_LAST_POST} {L_POST_BY_AUTHOR} <!-- EVENT search_results_last_post_author_username_prepend -->{searchresults.LAST_POST_AUTHOR_FULL}<!-- EVENT search_results_last_post_author_username_append --> « <a href="{searchresults.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{searchresults.LAST_POST_TIME}</a> |
|
<br />{L_POSTED} {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a> |
|
</div> |
|
<!-- IF searchresults.TOPIC_REPLIES --><span class="responsive-show left-box" style="display: none;">{L_REPLIES}{L_COLON} <strong>{searchresults.TOPIC_REPLIES}</strong></span><!-- ENDIF --> |
|
@@ -117,7 +117,7 @@ |
|
<div class="responsive-hide left-box"> |
|
<!-- IF searchresults.S_HAS_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i><!-- ENDIF --> |
|
<!-- IF searchresults.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF --> |
|
- {L_POST_BY_AUTHOR} {searchresults.TOPIC_AUTHOR_FULL} » {searchresults.FIRST_POST_TIME} » {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a> |
|
+ {L_POST_BY_AUTHOR} <!-- EVENT search_results_topic_author_username_prepend -->{searchresults.TOPIC_AUTHOR_FULL}<!-- EVENT search_results_topic_author_username_append --> » {searchresults.FIRST_POST_TIME} » {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a> |
|
</div> |
|
|
|
<!-- IF .searchresults.pagination --> |
|
@@ -142,7 +142,7 @@ |
|
<dd class="posts">{searchresults.TOPIC_REPLIES} <dfn>{L_REPLIES}</dfn></dd> |
|
<dd class="views">{searchresults.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd> |
|
<dd class="lastpost"> |
|
- <span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {searchresults.LAST_POST_AUTHOR_FULL} |
|
+ <span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} <!-- EVENT search_results_last_post_author_username_prepend -->{searchresults.LAST_POST_AUTHOR_FULL}<!-- EVENT search_results_last_post_author_username_append --> |
|
<!-- IF not S_IS_BOT --> |
|
<a href="{searchresults.U_LAST_POST}" title="{L_GOTO_LAST_POST}"> |
|
<i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{VIEW_LATEST_POST}</span> |
|
@@ -181,7 +181,7 @@ |
|
<!-- ELSE --> |
|
<dl class="postprofile"> |
|
<!-- EVENT search_results_postprofile_before --> |
|
- <dt class="author">{L_POST_BY_AUTHOR} {searchresults.POST_AUTHOR_FULL}</dt> |
|
+ <dt class="author">{L_POST_BY_AUTHOR} <!-- EVENT search_results_post_author_username_prepend -->{searchresults.POST_AUTHOR_FULL}<!-- EVENT search_results_post_author_username_append --></dt> |
|
<dd class="search-result-date">{searchresults.POST_DATE}</dd> |
|
<dd>{L_FORUM}{L_COLON} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a></dd> |
|
<dd>{L_TOPIC}{L_COLON} <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a></dd> |
|
@@ -194,6 +194,7 @@ |
|
<div class="postbody"> |
|
<h3><a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a></h3> |
|
<div class="content">{searchresults.MESSAGE}</div> |
|
+ <!-- EVENT search_results_content_after --> |
|
</div> |
|
<!-- ENDIF --> |
|
|
|
diff --git a/phpBB/styles/prosilver/template/simple_footer.html b/phpBB/styles/prosilver/template/simple_footer.html |
|
index 614c137..1ef44d1 100644 |
|
--- a/phpBB/styles/prosilver/template/simple_footer.html |
|
+++ b/phpBB/styles/prosilver/template/simple_footer.html |
|
@@ -24,9 +24,9 @@ |
|
</div> |
|
</div> |
|
|
|
-<script type="text/javascript" src="{T_JQUERY_LINK}"></script> |
|
-<!-- IF S_ALLOW_CDN --><script type="text/javascript">window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF --> |
|
-<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script> |
|
+<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 --> |
|
+<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script> |
|
<!-- INCLUDEJS forum_fn.js --> |
|
<!-- INCLUDEJS ajax.js --> |
|
|
|
@@ -34,5 +34,7 @@ |
|
|
|
{$SCRIPTS} |
|
|
|
+{% EVENT simple_footer_body_after %} |
|
+ |
|
</body> |
|
</html> |
|
diff --git a/phpBB/styles/prosilver/template/ucp_agreement.html b/phpBB/styles/prosilver/template/ucp_agreement.html |
|
index 943774c..ace6525 100644 |
|
--- a/phpBB/styles/prosilver/template/ucp_agreement.html |
|
+++ b/phpBB/styles/prosilver/template/ucp_agreement.html |
|
@@ -3,8 +3,7 @@ |
|
<!-- IF S_SHOW_COPPA or S_REGISTRATION --> |
|
|
|
<!-- IF S_LANG_OPTIONS --> |
|
-<script type="text/javascript"> |
|
-// <![CDATA[ |
|
+<script> |
|
/** |
|
* Change language |
|
*/ |
|
@@ -14,8 +13,6 @@ |
|
document.forms['register'].change_lang.value = lang_iso; |
|
document.forms['register'].submit(); |
|
} |
|
- |
|
-// ]]> |
|
</script> |
|
|
|
<form method="post" action="{S_UCP_ACTION}" id="register"> |
|
diff --git a/phpBB/styles/prosilver/template/ucp_pm_history.html b/phpBB/styles/prosilver/template/ucp_pm_history.html |
|
index e97befc..6362a0b 100644 |
|
--- a/phpBB/styles/prosilver/template/ucp_pm_history.html |
|
+++ b/phpBB/styles/prosilver/template/ucp_pm_history.html |
|
@@ -6,10 +6,8 @@ |
|
|
|
<!-- EVENT ucp_pm_history_review_before --> |
|
<div id="topicreview" class="topicreview"> |
|
- <script type="text/javascript"> |
|
- // <![CDATA[ |
|
+ <script> |
|
bbcodeEnabled = {S_BBCODE_ALLOWED}; |
|
- // ]]> |
|
</script> |
|
<!-- BEGIN history_row --> |
|
<div class="post <!-- IF history_row.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> |
|
diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html |
|
index 2ed0189..7cb44a0 100644 |
|
--- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html |
|
+++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html |
|
@@ -124,8 +124,8 @@ |
|
<p class="author"> |
|
<strong>{L_SENT_AT}{L_COLON}</strong> {SENT_DATE} |
|
<br /><strong>{L_PM_FROM}{L_COLON}</strong> {MESSAGE_AUTHOR_FULL} |
|
- <!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}{L_COLON}</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}" style="color:<!-- IF to_recipient.COLOUR -->{to_recipient.COLOUR}<!-- ELSEIF to_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{to_recipient.NAME}</a><!-- ENDIF --> <!-- END to_recipient --><!-- ENDIF --> |
|
- <!-- 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}" style="color:<!-- IF bcc_recipient.COLOUR -->{bcc_recipient.COLOUR}<!-- ELSEIF bcc_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{bcc_recipient.NAME}</a><!-- ENDIF --> <!-- END bcc_recipient --><!-- ENDIF --> |
|
+ <!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}{L_COLON}</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}"<!-- IF to_recipient.COLOUR --> style="color:{to_recipient.COLOUR};"<!-- ENDIF -->><strong>{to_recipient.NAME}</strong></a><!-- ENDIF --> <!-- END to_recipient --><!-- ENDIF --> |
|
+ <!-- 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 --> <!-- END bcc_recipient --><!-- ENDIF --> |
|
</p> |
|
|
|
|
|
diff --git a/phpBB/styles/prosilver/template/ucp_prefs_personal.html b/phpBB/styles/prosilver/template/ucp_prefs_personal.html |
|
index 4cd9f66..1650705 100644 |
|
--- a/phpBB/styles/prosilver/template/ucp_prefs_personal.html |
|
+++ b/phpBB/styles/prosilver/template/ucp_prefs_personal.html |
|
@@ -85,8 +85,7 @@ |
|
</fieldset> |
|
</form> |
|
|
|
-<script type="text/javascript"> |
|
-// <![CDATA[ |
|
+<script> |
|
var date_format = '{A_DATE_FORMAT}'; |
|
var default_dateformat = '{A_DEFAULT_DATEFORMAT}'; |
|
|
|
@@ -118,7 +117,6 @@ |
|
} |
|
|
|
window.onload = customDates; |
|
-// ]]> |
|
</script> |
|
|
|
<!-- INCLUDE ucp_footer.html --> |
|
diff --git a/phpBB/styles/prosilver/template/ucp_register.html b/phpBB/styles/prosilver/template/ucp_register.html |
|
index 38413ad..bf39990 100644 |
|
--- a/phpBB/styles/prosilver/template/ucp_register.html |
|
+++ b/phpBB/styles/prosilver/template/ucp_register.html |
|
@@ -1,7 +1,6 @@ |
|
<!-- INCLUDE overall_header.html --> |
|
|
|
-<script type="text/javascript"> |
|
-// <![CDATA[ |
|
+<script> |
|
/** |
|
* Change language |
|
*/ |
|
@@ -11,7 +10,6 @@ |
|
document.forms['register'].change_lang.value = lang_iso; |
|
document.forms['register'].submit.click(); |
|
} |
|
-// ]]> |
|
</script> |
|
|
|
<form id="register" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> |
|
diff --git a/phpBB/styles/prosilver/template/ucp_remind.html b/phpBB/styles/prosilver/template/ucp_remind.html |
|
index 0ab1251..8b700de 100644 |
|
--- a/phpBB/styles/prosilver/template/ucp_remind.html |
|
+++ b/phpBB/styles/prosilver/template/ucp_remind.html |
|
@@ -9,14 +9,19 @@ |
|
<h2>{L_SEND_PASSWORD}</h2> |
|
|
|
<fieldset> |
|
+ {% if USERNAME_REQUIRED %} |
|
+ <p class="error">{{ lang('EMAIL_NOT_UNIQUE') }}</p> |
|
+ {% endif %} |
|
<dl> |
|
- <dt><label for="username">{L_USERNAME}{L_COLON}</label></dt> |
|
- <dd><input class="inputbox narrow" type="text" name="username" id="username" size="25" /></dd> |
|
+ <dt><label for="email">{L_EMAIL_ADDRESS}{L_COLON}</label><br /><span>{L_EMAIL_REMIND}</span></dt> |
|
+ <dd><input class="inputbox narrow" type="email" name="email" id="email" size="25" maxlength="100" value="{{ EMAIL }}" autofocus /></dd> |
|
</dl> |
|
+ {% if USERNAME_REQUIRED %} |
|
<dl> |
|
- <dt><label for="email">{L_EMAIL_ADDRESS}{L_COLON}</label><br /><span>{L_EMAIL_REMIND}</span></dt> |
|
- <dd><input class="inputbox narrow" type="email" name="email" id="email" size="25" maxlength="100" /></dd> |
|
+ <dt><label for="username">{L_USERNAME}{L_COLON}</label></dt> |
|
+ <dd><input class="inputbox narrow" type="text" name="username" id="username" size="25" /></dd> |
|
</dl> |
|
+ {% endif %} |
|
<dl> |
|
<dt> </dt> |
|
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="submit" id="submit" class="button1" value="{L_SUBMIT}" tabindex="2" /> <input type="reset" value="{L_RESET}" name="reset" class="button2" /></dd> |
|
diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html |
|
index b5e12cd..bf659bb 100644 |
|
--- a/phpBB/styles/prosilver/template/viewforum_body.html |
|
+++ b/phpBB/styles/prosilver/template/viewforum_body.html |
|
@@ -186,7 +186,7 @@ |
|
|
|
<!-- IF not S_IS_BOT --> |
|
<div class="responsive-show" style="display: none;"> |
|
- {L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a> |
|
+ {L_LAST_POST} {L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_last_post_author_username_prepend -->{topicrow.LAST_POST_AUTHOR_FULL}<!-- EVENT viewforum_body_last_post_author_username_append --> « <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a> |
|
<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --><br />{L_POSTED} {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF --> |
|
</div> |
|
<!-- IF topicrow.REPLIES --> |
|
@@ -197,7 +197,7 @@ |
|
<div class="topic-poster responsive-hide left-box"> |
|
<!-- IF topicrow.S_HAS_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i><!-- ENDIF --> |
|
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF --> |
|
- {L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} |
|
+ {L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_topic_author_username_prepend -->{topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}<!-- EVENT viewforum_body_topic_author_username_append --> |
|
<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --> » {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF --> |
|
</div> |
|
|
|
@@ -223,7 +223,7 @@ |
|
<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd> |
|
<dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd> |
|
<dd class="lastpost"> |
|
- <span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} |
|
+ <span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_last_post_author_username_prepend -->{topicrow.LAST_POST_AUTHOR_FULL}<!-- EVENT viewforum_body_last_post_author_username_append --> |
|
<!-- IF not S_IS_BOT and topicrow.U_LAST_POST --> |
|
<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}"> |
|
<i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{VIEW_LATEST_POST}</span> |
|
diff --git a/phpBB/styles/prosilver/template/viewonline_body.html b/phpBB/styles/prosilver/template/viewonline_body.html |
|
index dd0ca72..c019977 100644 |
|
--- a/phpBB/styles/prosilver/template/viewonline_body.html |
|
+++ b/phpBB/styles/prosilver/template/viewonline_body.html |
|
@@ -29,7 +29,7 @@ |
|
<tbody> |
|
<!-- BEGIN user_row --> |
|
<tr class="<!-- IF user_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> |
|
- <td>{user_row.USERNAME_FULL}<!-- IF user_row.USER_IP --> <span style="float: {S_CONTENT_FLOW_END};">{L_IP}{L_COLON} <a href="{user_row.U_USER_IP}">{user_row.USER_IP}</a> » <a href="{user_row.U_WHOIS}" onclick="popup(this.href, 750, 500); return false;">{L_WHOIS}</a></span><!-- ENDIF --> |
|
+ <td><!-- EVENT viewonline_body_username_prepend -->{user_row.USERNAME_FULL}<!-- EVENT viewonline_body_username_append --><!-- IF user_row.USER_IP --> <span style="float: {S_CONTENT_FLOW_END};">{L_IP}{L_COLON} <a href="{user_row.U_USER_IP}">{user_row.USER_IP}</a> » <a href="{user_row.U_WHOIS}" onclick="popup(this.href, 750, 500); return false;">{L_WHOIS}</a></span><!-- ENDIF --> |
|
<!-- IF user_row.USER_BROWSER --><br />{user_row.USER_BROWSER}<!-- ENDIF --></td> |
|
<td class="info"><a href="{user_row.U_FORUM_LOCATION}">{user_row.FORUM_LOCATION}</a></td> |
|
<td class="active">{user_row.LASTUPDATE}</td> |
|
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html |
|
index a9136e1..8d7e26f 100644 |
|
--- a/phpBB/styles/prosilver/template/viewtopic_body.html |
|
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html |
|
@@ -326,6 +326,8 @@ |
|
|
|
<div class="content">{postrow.MESSAGE}</div> |
|
|
|
+ <!-- EVENT viewtopic_body_postrow_content_after --> |
|
+ |
|
<!-- IF postrow.S_HAS_ATTACHMENTS --> |
|
<dl class="attachbox"> |
|
<dt> |