Skip to content

Instantly share code, notes, and snippets.

@marc1706
Created September 11, 2021 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marc1706/8f9d952126d8590eb1bc331503c0487d to your computer and use it in GitHub Desktop.
Save marc1706/8f9d952126d8590eb1bc331503c0487d to your computer and use it in GitHub Desktop.
prosilver changes 3.3.4 to 3.3.5-RC1
diff --git a/phpBB/styles/prosilver/theme/base.css b/phpBB/styles/prosilver/theme/base.css
index 98c57d9264..7206128e7a 100644
--- a/phpBB/styles/prosilver/theme/base.css
+++ b/phpBB/styles/prosilver/theme/base.css
@@ -36,8 +36,8 @@ textarea {
line-height: inherit;
}
-figure { margin: 0 }
-img { vertical-align: middle }
+figure { margin: 0; }
+img { vertical-align: middle; }
hr {
margin-top: 20px;
@@ -69,7 +69,7 @@ h5,
h6,
figure,
p,
-pre { margin: 0 }
+pre { margin: 0; }
button {
background: transparent;
border: 0;
@@ -91,7 +91,7 @@ fieldset {
padding: 0;
}
-iframe { border: 0 }
+iframe { border: 0; }
ol,
ul {
list-style: none;
@@ -104,7 +104,7 @@ ul {
* This prevents an unwanted focus outline from appearing around elements that
* might still respond to pointer events.
*/
-[tabindex="-1"]:focus { outline: none !important }
+[tabindex="-1"]:focus { outline: none !important; }
/**
* Remove double underline from recent version of firefox
@@ -112,4 +112,3 @@ ul {
abbr[title] {
text-decoration: none;
}
-
diff --git a/phpBB/styles/prosilver/theme/bidi.css b/phpBB/styles/prosilver/theme/bidi.css
index 71bf6ea1fb..7dfe58c667 100644
--- a/phpBB/styles/prosilver/theme/bidi.css
+++ b/phpBB/styles/prosilver/theme/bidi.css
@@ -582,7 +582,6 @@ li.breadcrumbs span:first-child > a {
.rtl .postprofile {
border-width: 0 1px 0 0;
float: left;
-/* text-align: right; */
}
.rtl .pm .postprofile {
diff --git a/phpBB/styles/prosilver/theme/buttons.css b/phpBB/styles/prosilver/theme/buttons.css
index 575c41aaef..ecf92f3018 100644
--- a/phpBB/styles/prosilver/theme/buttons.css
+++ b/phpBB/styles/prosilver/theme/buttons.css
@@ -155,7 +155,7 @@
/* Browser-specific tweaks */
button::-moz-focus-inner {
padding: 0;
- border: 0
+ border: 0;
}
/* Deprecated as of version 3.2
diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css
index 4c5559b93c..e68e7459cb 100644
--- a/phpBB/styles/prosilver/theme/colours.css
+++ b/phpBB/styles/prosilver/theme/colours.css
@@ -605,7 +605,6 @@ Colours and backgrounds for buttons.css
text-shadow: 1px 1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, -1px -1px 0 rgba(188, 42, 77, 0.2);
}
-
.button .icon,
.button-secondary {
color: #8f8f8f;
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css
index eb04c66223..e1d9e757f9 100644
--- a/phpBB/styles/prosilver/theme/common.css
+++ b/phpBB/styles/prosilver/theme/common.css
@@ -743,7 +743,6 @@ table.info tbody th {
}
dl.details {
- /*font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;*/
font-size: 1.1em;
}
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css
index 13c04e57b1..111d24674f 100644
--- a/phpBB/styles/prosilver/theme/content.css
+++ b/phpBB/styles/prosilver/theme/content.css
@@ -577,8 +577,7 @@ blockquote .codebox {
clear: left;
}
-.attachbox p.stats
-{
+.attachbox p.stats {
line-height: 110%;
font-weight: normal;
clear: left;
@@ -591,7 +590,6 @@ blockquote .codebox {
.attach-image img {
border: 1px solid transparent;
-/* cursor: move; */
cursor: default;
}
diff --git a/phpBB/styles/prosilver/theme/cp.css b/phpBB/styles/prosilver/theme/cp.css
index 0041417022..f79af893f2 100644
--- a/phpBB/styles/prosilver/theme/cp.css
+++ b/phpBB/styles/prosilver/theme/cp.css
@@ -300,13 +300,6 @@ ol.def-rules li {
padding: 0 3px;
}
-/* DEPRECATED 3.2.6
-.pmlist li.pm_message_reported_colour, .pm_message_reported_colour {
- border-left-color: transparent;
- border-right-color: transparent;
-}
-*/
-
.pmlist li.pm_message_reported_colour, .pm_message_reported_colour,
.pmlist li.pm_marked_colour, .pm_marked_colour,
.pmlist li.pm_replied_colour, .pm_replied_colour,
diff --git a/phpBB/styles/prosilver/theme/links.css b/phpBB/styles/prosilver/theme/links.css
index 6a61e9a262..2bbd7619ef 100644
--- a/phpBB/styles/prosilver/theme/links.css
+++ b/phpBB/styles/prosilver/theme/links.css
@@ -90,13 +90,15 @@ a.lastsubject:hover {
}
.row-item a:hover {
- text-decoration: none
+ text-decoration: none;
}
+.row-item .forumtitle:hover,
.row-item .topictitle:hover,
+.row-item .lastsubject:hover,
.row-item .subforum:hover,
-.row-item .username:hover,
-.row-item .username-coloured:hover {
+.row-item a.username:hover,
+.row-item a.username-coloured:hover {
text-decoration: underline;
}
@@ -161,17 +163,13 @@ a.lastsubject:hover {
border-bottom-width: 0;
}
-.arrow-up:hover {
-
-}
+.arrow-up:hover { }
.arrow-down {
padding-right: 10px;
}
-.arrow-down:hover {
-
-}
+.arrow-down:hover { }
.arrow-left:hover {
text-decoration: none;
diff --git a/phpBB/styles/prosilver/theme/print.css b/phpBB/styles/prosilver/theme/print.css
index ee916dce51..ca5584884a 100644
--- a/phpBB/styles/prosilver/theme/print.css
+++ b/phpBB/styles/prosilver/theme/print.css
@@ -127,7 +127,7 @@ html>body .postbody h1 a:link:after, html>body .postbody h2 a:link:after {
/* List */
ol, ul {
- margin-left: 15pt
+ margin-left: 15pt;
}
/* Misc page elements */
diff --git a/phpBB/styles/prosilver/theme/stylesheet.css b/phpBB/styles/prosilver/theme/stylesheet.css
index 440c8a51a7..36199383fd 100644
--- a/phpBB/styles/prosilver/theme/stylesheet.css
+++ b/phpBB/styles/prosilver/theme/stylesheet.css
@@ -8,14 +8,14 @@
*/
@import url("normalize.css?hash=48eb3f89");
-@import url("base.css?hash=3a7fafb1");
-@import url("utilities.css?hash=1034bac8");
-@import url("common.css?hash=70bd1301");
-@import url("links.css?hash=da040ebb");
-@import url("content.css?hash=2ca4ae91");
-@import url("buttons.css?hash=15c14833");
-@import url("cp.css?hash=5cc9ac0c");
-@import url("forms.css?hash=18ee8211");
-@import url("icons.css?hash=dbc0f3b9");
-@import url("colours.css?hash=3b03ccfa");
-@import url("responsive.css?hash=a1546011");
+@import url("base.css?hash=7c5543be");
+@import url("utilities.css?hash=d8f72c42");
+@import url("common.css?hash=a9741ba1");
+@import url("links.css?hash=cbeb92cc");
+@import url("content.css?hash=56f9e623");
+@import url("buttons.css?hash=5856472d");
+@import url("cp.css?hash=50d868ab");
+@import url("forms.css?hash=b64464fb");
+@import url("icons.css?hash=64da33ce");
+@import url("colours.css?hash=fcb2f289");
+@import url("responsive.css?hash=87b53e08");
diff --git a/phpBB/styles/prosilver/theme/utilities.css b/phpBB/styles/prosilver/theme/utilities.css
index cbb8127d1c..7d0d6b61e1 100644
--- a/phpBB/styles/prosilver/theme/utilities.css
+++ b/phpBB/styles/prosilver/theme/utilities.css
@@ -37,7 +37,7 @@
.clearfix:after,
.container:after,
.container-fluid:after,
-.row:after { clear: both }
+.row:after { clear: both; }
.center-block {
display: block;
@@ -45,11 +45,11 @@
margin-right: auto;
}
-.pull-right { float: right !important }
-.pull-left { float: left !important }
-.hide { display: none !important }
-.show { display: block !important }
-.invisible { visibility: hidden }
+.pull-right { float: right !important; }
+.pull-left { float: left !important; }
+.hide { display: none !important; }
+.show { display: block !important; }
+.invisible { visibility: hidden; }
.text-hide {
font: 0/0 a;
@@ -63,4 +63,4 @@
display: none;
}
-.affix { position: fixed }
+.affix { position: fixed; }
diff --git a/phpBB/styles/prosilver/template/login_body.html b/phpBB/styles/prosilver/template/login_body.html
index dc597af51d..32a73197c5 100644
--- a/phpBB/styles/prosilver/template/login_body.html
+++ b/phpBB/styles/prosilver/template/login_body.html
@@ -27,6 +27,7 @@
<!-- ENDIF -->
<!-- IF S_DISPLAY_FULL_LOGIN -->
<dl>
+ <dt>&nbsp;</dt>
<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="4" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="5" /> {L_HIDE_ME}</label></dd>
</dl>
diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html
index 5fbf289b44..c07c1e1de2 100644
--- a/phpBB/styles/prosilver/template/overall_footer.html
+++ b/phpBB/styles/prosilver/template/overall_footer.html
@@ -64,7 +64,7 @@
</div>
<script src="{T_JQUERY_LINK}"></script>
-<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.5.1.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.6.0.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/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html
index 2867802de4..96ccf039a0 100644
--- a/phpBB/styles/prosilver/template/overall_header.html
+++ b/phpBB/styles/prosilver/template/overall_header.html
@@ -39,7 +39,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://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js';
wf.async = true;
s.parentNode.insertBefore(wf, s);
})(document);
diff --git a/phpBB/styles/prosilver/template/simple_footer.html b/phpBB/styles/prosilver/template/simple_footer.html
index c968bf896f..98a43b89b9 100644
--- a/phpBB/styles/prosilver/template/simple_footer.html
+++ b/phpBB/styles/prosilver/template/simple_footer.html
@@ -25,7 +25,7 @@
<a href="#" class="alert_close">
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
</a>
- <h3 class="alert_title"></h3><p class="alert_text"></p>
+ <h3 class="alert_title">&nbsp;</h3><p class="alert_text"></p>
</div>
<div id="phpbb_confirm" class="phpbb_confirm phpbb_alert">
<a href="#" class="alert_close">
@@ -36,7 +36,7 @@
</div>
<script src="{T_JQUERY_LINK}"></script>
-<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.5.1.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.6.0.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/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index be24263011..e4d7ff2705 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -367,7 +367,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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment