Skip to content

Instantly share code, notes, and snippets.

@marc1706
Created October 22, 2023 12:21
Show Gist options
  • Save marc1706/5909a7b8561ef2656fc55935912c9195 to your computer and use it in GitHub Desktop.
Save marc1706/5909a7b8561ef2656fc55935912c9195 to your computer and use it in GitHub Desktop.
prosilver changes 3.3.10 to 3.3.11
diff --git a/phpBB/styles/prosilver/theme/bidi.css b/phpBB/styles/prosilver/theme/bidi.css
index 7dfe58c667..4b28443969 100644
--- a/phpBB/styles/prosilver/theme/bidi.css
+++ b/phpBB/styles/prosilver/theme/bidi.css
@@ -788,15 +788,6 @@ li.breadcrumbs span:first-child > a {
float: right;
}
-/* Responsive *CP navigation
-----------------------------------------*/
-@media only screen and (max-width: 900px), only screen and (max-device-width: 900px)
-{
- .rtl .cp-menu, .rtl .navigation, .rtl .cp-main {
- float: none;
- }
-}
-
/**
* forms.css
*/
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css
index 850281c8c7..69ef22eab2 100644
--- a/phpBB/styles/prosilver/theme/content.css
+++ b/phpBB/styles/prosilver/theme/content.css
@@ -88,6 +88,10 @@ ul.topiclist dfn {
margin-right: 5px;
}
+.forum-image img {
+ max-width: 100%;
+}
+
li.row {
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
@@ -98,7 +102,7 @@ li.row strong {
}
li.header dt, li.header dd {
- line-height: 1em;
+ line-height: 1.6em;
border-left-width: 0;
margin: 2px 0 4px 0;
padding-top: 2px;
@@ -867,3 +871,13 @@ table.fixed-width-table {
#memberlist tr.inactive, #team tr.inactive {
font-style: italic;
}
+
+/* Memberlist
+----------------------------------------*/
+.group-description {
+ font-size: 1.3em;
+}
+
+.group-description ul {
+ list-style-position: inside;
+}
diff --git a/phpBB/styles/prosilver/theme/forms.css b/phpBB/styles/prosilver/theme/forms.css
index 39dd81e2b6..ab9ac7a44c 100644
--- a/phpBB/styles/prosilver/theme/forms.css
+++ b/phpBB/styles/prosilver/theme/forms.css
@@ -259,6 +259,9 @@ fieldset.submit-buttons input {
.message-box textarea {
font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
width: 450px;
height: 270px;
min-width: 100%;
diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css
index a53dadc2b7..5a3041fe0c 100644
--- a/phpBB/styles/prosilver/theme/responsive.css
+++ b/phpBB/styles/prosilver/theme/responsive.css
@@ -23,18 +23,6 @@
.section-viewtopic .search-box .inputbox {
width: 57px;
}
-
- .action-bar .search-box .inputbox ::-moz-placeholder {
- content: "Search...";
- }
-
- .action-bar .search-box .inputbox :-ms-input-placeholder {
- content: "Search...";
- }
-
- .action-bar .search-box .inputbox ::-webkit-input-placeholder {
- content: "Search...";
- }
}
@media (max-width: 500px) {
diff --git a/phpBB/styles/prosilver/template/forumlist_body.html b/phpBB/styles/prosilver/template/forumlist_body.html
index aebcb05dcd..785e02c30a 100644
--- a/phpBB/styles/prosilver/template/forumlist_body.html
+++ b/phpBB/styles/prosilver/template/forumlist_body.html
@@ -32,7 +32,7 @@
<li class="row">
<!-- EVENT forumlist_body_forum_row_prepend -->
<dl class="row-item {forumrow.FORUM_IMG_STYLE}">
- <dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
+ <dt title="{% if forumrow.S_IS_LINK %}{{ lang('FORUM_LINK') }}{% else %}{{ forumrow.FORUM_FOLDER_IMG_ALT }}{% endif %}">
<!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="row-item-link"></a><!-- ENDIF -->
<div class="list-inner">
<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED -->
@@ -56,7 +56,7 @@
<!-- EVENT forumlist_body_subforums_before -->
<br /><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
<!-- BEGIN subforum -->
- <!-- EVENT forumlist_body_subforum_link_prepend --><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">
+ <!-- EVENT forumlist_body_subforum_link_prepend --><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="{% if forumrow.subforum.IS_LINK %}{{ lang('FORUM_LINK') }}{% elseif forumrow.subforum.S_UNREAD %}{{ lang('UNREAD_POSTS') }}{% else %}{{ lang('NO_UNREAD_POSTS') }}{% endif %}">
<i class="icon <!-- IF forumrow.subforum.IS_LINK -->fa-external-link<!-- ELSE -->fa-file-o<!-- ENDIF --> fa-fw <!-- IF forumrow.subforum.S_UNREAD --> icon-red<!-- ELSE --> icon-blue<!-- ENDIF --> icon-md" aria-hidden="true"></i>{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF --><!-- EVENT forumlist_body_subforum_link_append -->
<!-- END subforum -->
<!-- EVENT forumlist_body_subforums_after -->
diff --git a/phpBB/styles/prosilver/template/mcp_front.html b/phpBB/styles/prosilver/template/mcp_front.html
index 3eba12fe74..8ec05c4ee3 100644
--- a/phpBB/styles/prosilver/template/mcp_front.html
+++ b/phpBB/styles/prosilver/template/mcp_front.html
@@ -20,6 +20,7 @@
<dl>
<dt><div class="list-inner">{L_VIEW_DETAILS}</div></dt>
<dd class="moderation"><span>{L_TOPIC} &amp; {L_FORUM}</span></dd>
+ <dd class="mark">{{ lang('MARK') }}</dd>
</dl>
</li>
</ul>
diff --git a/phpBB/styles/prosilver/template/memberlist_body.html b/phpBB/styles/prosilver/template/memberlist_body.html
index b8ff092372..796151ed15 100644
--- a/phpBB/styles/prosilver/template/memberlist_body.html
+++ b/phpBB/styles/prosilver/template/memberlist_body.html
@@ -21,7 +21,7 @@
<!-- IF U_MANAGE -->
<p class="right responsive-center manage rightside"><a href="{U_MANAGE}">{L_MANAGE_GROUP}</a></p>
<!-- ENDIF -->
- <p>{GROUP_DESC} {GROUP_TYPE}</p>
+ <div class="group-description">{GROUP_DESC} {GROUP_TYPE}</div>
{% EVENT memberlist_body_group_desc_after %}
diff --git a/phpBB/styles/prosilver/template/pagination.html b/phpBB/styles/prosilver/template/pagination.html
index 5d484517ad..7ae263b7a1 100644
--- a/phpBB/styles/prosilver/template/pagination.html
+++ b/phpBB/styles/prosilver/template/pagination.html
@@ -1,7 +1,7 @@
<ul>
<!-- IF BASE_URL and TOTAL_PAGES > 6 -->
<li class="dropdown-container dropdown-button-control dropdown-page-jump page-jump">
- <a class="button button-icon-only dropdown-trigger" href="#" title="{L_JUMP_TO_PAGE_CLICK}" role="button"><i class="icon fa-level-down fa-rotate-270" aria-hidden="true"></i><span class="sr-only">{PAGE_NUMBER}</span></a>
+ <a class="button button-icon-only dropdown-trigger" href="#" title="{L_JUMP_TO_PAGE_CLICK}" role="button"><i class="icon fa-level-{% if S_CONTENT_DIRECTION eq 'rtl' %}up{% else %}down{% endif %} fa-rotate-270" aria-hidden="true"></i><span class="sr-only">{PAGE_NUMBER}</span></a>
<div class="dropdown">
<div class="pointer"><div class="pointer-inner"></div></div>
<ul class="dropdown-contents">
diff --git a/phpBB/styles/prosilver/template/simple_header.html b/phpBB/styles/prosilver/template/simple_header.html
index b5878517a3..70a7411d4d 100644
--- a/phpBB/styles/prosilver/template/simple_header.html
+++ b/phpBB/styles/prosilver/template/simple_header.html
@@ -31,7 +31,7 @@
<link href="{T_THEME_PATH}/bidi.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
<!-- ENDIF -->
-<!--[if lte IE 8]>
+<!--[if lte IE 9]>
<link href="{T_THEME_PATH}/tweaks.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
<![endif]-->
diff --git a/phpBB/styles/prosilver/template/ucp_attachments.html b/phpBB/styles/prosilver/template/ucp_attachments.html
index cfdbf9c7ea..af27efdc1a 100644
--- a/phpBB/styles/prosilver/template/ucp_attachments.html
+++ b/phpBB/styles/prosilver/template/ucp_attachments.html
@@ -10,7 +10,7 @@
<p>{L_ATTACHMENTS_EXPLAIN}</p>
<!-- IF .attachrow -->
- <div class="action-bar top">
+ <div class="action-bar bar-top">
<div class="pagination">
{NUM_ATTACHMENTS}
<!-- IF .pagination -->
@@ -50,12 +50,12 @@
<!-- END attachrow -->
</ul>
- <div class="action-bar bottom">
+ <div class="action-bar bar-bottom">
<!-- INCLUDE display_options.html -->
{S_FORM_TOKEN}
<div class="pagination">
- {TOTAL_ATTACHMENTS} {L_TITLE}
+ {NUM_ATTACHMENTS}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
diff --git a/phpBB/styles/prosilver/template/ucp_pm_history.html b/phpBB/styles/prosilver/template/ucp_pm_history.html
index b53eb0c7ec..22b65b0977 100644
--- a/phpBB/styles/prosilver/template/ucp_pm_history.html
+++ b/phpBB/styles/prosilver/template/ucp_pm_history.html
@@ -21,13 +21,11 @@
<!-- IF $SHOW_PM_HISTORY_POST_BUTTONS -->
<ul class="post-buttons">
<!-- EVENT ucp_pm_history_post_buttons_before -->
- <!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE -->
<li>
<a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}', {time:{history_row.MESSAGE_TIME},user_id:{history_row.USER_ID}});"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}" class="button button-icon-only">
<i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span>
</a>
</li>
- <!-- ENDIF -->
<!-- EVENT ucp_pm_history_post_buttons_after -->
</ul>
<!-- ENDIF -->
diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage_print.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage_print.html
index 41ff5b898a..2dd39fdd89 100644
--- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage_print.html
+++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage_print.html
@@ -8,10 +8,12 @@
<title>{SITENAME} &bull; {PAGE_TITLE}</title>
<link href="{T_THEME_PATH}/print.css" rel="stylesheet">
+{% if S_CONTENT_DIRECTION eq 'rtl' %}
<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet">
+{% endif %}
<!-- EVENT ucp_pm_viewmessage_print_head_append -->
</head>
-<body id="phpbb">
+<body id="phpbb" class="{S_CONTENT_DIRECTION}">
<div id="wrap" class="wrap">
<a id="top" class="top-anchor" accesskey="t"></a>
diff --git a/phpBB/styles/prosilver/template/ucp_register.html b/phpBB/styles/prosilver/template/ucp_register.html
index adbe173b97..069e4f1075 100644
--- a/phpBB/styles/prosilver/template/ucp_register.html
+++ b/phpBB/styles/prosilver/template/ucp_register.html
@@ -67,8 +67,7 @@
<!-- INCLUDE timezone_option.html -->
<!-- EVENT ucp_register_profile_fields_before -->
- <!-- IF .profile_fields -->
- <dl><dd><strong>{L_ITEMS_REQUIRED}</strong></dd></dl>
+ {% if PROFILE_FIELDS_REQUIRED %}<dl><dd><strong>{L_ITEMS_REQUIRED}</strong></dd></dl>{% endif %}
<!-- BEGIN profile_fields -->
<dl>
@@ -78,7 +77,6 @@
<dd>{profile_fields.FIELD}</dd>
</dl>
<!-- END profile_fields -->
- <!-- ENDIF -->
<!-- EVENT ucp_register_profile_fields_after -->
</fieldset>
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index 198304e293..ea65c7eac8 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -336,6 +336,8 @@
</p>
<!-- ENDIF -->
+ {% EVENT viewtopic_body_postrow_content_before %}
+
<div class="content">{postrow.MESSAGE}</div>
<!-- EVENT viewtopic_body_postrow_content_after -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment