From 376d6a2d9137b99455d722f8a291a5b6b287d714 Mon Sep 17 00:00:00 2001 From: PayBas Date: Fri, 30 May 2014 00:11:01 +0200 Subject: [PATCH 1/4] [ticket/12615] Fixed inproper clearing of .topic-actions PHPBB3-12615 --- phpBB/styles/prosilver/template/viewtopic_body.html | 2 +- phpBB/styles/prosilver/theme/content.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index eb61bd3e72..21fc725cf7 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -59,7 +59,7 @@ -
+ diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index b66c841d7c..0dc10db5b7 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -237,6 +237,12 @@ div[class].topic-actions { height: auto; } +.topic-actions:after { + content: ''; + clear: both; + display: block; +} + /* Post body styles ----------------------------------------*/ .postbody { From 082a6b29a96ad57ec53e72c9c2b57d919d457d49 Mon Sep 17 00:00:00 2001 From: PayBas Date: Mon, 2 Jun 2014 12:42:45 +0200 Subject: [PATCH 2/4] [ticket/12541] Activate attachments tab when files are dropped into textarea PHPBB3-12541 --- phpBB/assets/javascript/plupload.js | 5 +++ phpBB/styles/prosilver/template/forum_fn.js | 40 +++++++++++++-------- 2 files changed, 30 insertions(+), 15 deletions(-) diff --git a/phpBB/assets/javascript/plupload.js b/phpBB/assets/javascript/plupload.js index 8ffd452a09..5445e83e15 100644 --- a/phpBB/assets/javascript/plupload.js +++ b/phpBB/assets/javascript/plupload.js @@ -586,6 +586,11 @@ uploader.bind('FilesAdded', function(up, files) { return; } + // Switch the active tab if the style supports it + if (typeof activateSubPanel == 'function') { + activateSubPanel('attach-panel'); + } + // Show the file list if there aren't any files currently. if (!$('#file-list-container').is(':visible')) { $('#file-list-container').show(100); diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 52293a8f2a..a0d65a2210 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -104,28 +104,38 @@ jQuery(document).ready(function() { show_panel = this.getAttribute('data-show-panel'); if (panels.length) { - subPanels(show_panel); + activateSubPanel(show_panel, panels); childNodes.click(function () { - subPanels(this.getAttribute('data-subpanel')); + activateSubPanel(this.getAttribute('data-subpanel'), panels); return false; }); } - - function subPanels(p) { - var i; - - if (typeof(p) === 'string') { - show_panel = p; - } - - for (i = 0; i < panels.length; i++) { - jQuery('#' + panels[i]).css('display', panels[i] === show_panel ? 'block' : 'none'); - jQuery('#' + panels[i] + '-tab').toggleClass('activetab', panels[i] === show_panel); - } - } }); }); +/** +* Activate specific subPanel +*/ +function activateSubPanel(p, panels) { + var i; + + if (typeof(p) === 'string') { + show_panel = p; + } + + if (typeof(panels) === 'undefined') { + panels = []; + jQuery('.sub-panels a[data-subpanel]').each(function() { + panels.push(this.getAttribute('data-subpanel')); + }); + } + + for (i = 0; i < panels.length; i++) { + jQuery('#' + panels[i]).css('display', panels[i] === show_panel ? 'block' : 'none'); + jQuery('#' + panels[i] + '-tab').toggleClass('activetab', panels[i] === show_panel); + } +} + /** * Call print preview */ From 560e0f97be1129a8b93fc7486cc28f1bea30471e Mon Sep 17 00:00:00 2001 From: PayBas Date: Mon, 2 Jun 2014 14:05:46 +0200 Subject: [PATCH 3/4] [ticket/12565] Empty anchors introduce white-space in IE11 PHPBB3-12565 --- phpBB/styles/prosilver/template/overall_footer.html | 2 +- phpBB/styles/prosilver/template/overall_header.html | 4 ++-- phpBB/styles/prosilver/template/simple_header.html | 2 +- .../styles/prosilver/template/ucp_pm_viewmessage_print.html | 2 +- phpBB/styles/prosilver/template/viewtopic_body.html | 2 +- phpBB/styles/prosilver/template/viewtopic_print.html | 2 +- phpBB/styles/prosilver/theme/links.css | 4 ++++ phpBB/styles/subsilver2/template/faq_body.html | 4 ++-- phpBB/styles/subsilver2/template/mcp_post.html | 4 ++-- phpBB/styles/subsilver2/template/overall_header.html | 2 +- phpBB/styles/subsilver2/template/posting_review.html | 2 +- phpBB/styles/subsilver2/template/posting_topic_review.html | 2 +- phpBB/styles/subsilver2/template/search_results.html | 2 +- phpBB/styles/subsilver2/template/simple_header.html | 2 +- phpBB/styles/subsilver2/template/ucp_pm_history.html | 2 +- phpBB/styles/subsilver2/template/viewtopic_body.html | 6 +++--- phpBB/styles/subsilver2/theme/stylesheet.css | 4 ++++ 17 files changed, 28 insertions(+), 20 deletions(-) diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html index 28ed215662..e9c95aa799 100644 --- a/phpBB/styles/prosilver/template/overall_footer.html +++ b/phpBB/styles/prosilver/template/overall_footer.html @@ -33,7 +33,7 @@
- + {RUN_CRON_TASK}
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html index d18fff6bb0..e5371e792e 100644 --- a/phpBB/styles/prosilver/template/overall_header.html +++ b/phpBB/styles/prosilver/template/overall_header.html @@ -57,7 +57,7 @@
- +