From 68a4c6acbfab0a679839d853ad56b7ae99dd9033 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Sat, 19 Oct 2013 13:22:47 +0300 Subject: [PATCH] [ticket/11552] Move post subject before buttons PHPBB3-11552 --- phpBB/styles/prosilver/template/mcp_post.html | 3 ++- .../prosilver/template/posting_topic_review.html | 5 ++++- phpBB/styles/prosilver/template/ucp_pm_history.html | 3 ++- .../styles/prosilver/template/ucp_pm_viewmessage.html | 3 +-- phpBB/styles/prosilver/template/viewtopic_body.html | 3 ++- phpBB/styles/prosilver/theme/content.css | 11 ++++------- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html index a205164e60..25464085a0 100644 --- a/phpBB/styles/prosilver/template/mcp_post.html +++ b/phpBB/styles/prosilver/template/mcp_post.html @@ -48,6 +48,8 @@
+

{POST_SUBJECT}

+
  • {L_EDIT_POST}
  • @@ -56,7 +58,6 @@ {L_EXPAND_VIEW} -

    {POST_SUBJECT}

    {L_SENT_AT}{L_COLON} {POST_DATE} diff --git a/phpBB/styles/prosilver/template/posting_topic_review.html b/phpBB/styles/prosilver/template/posting_topic_review.html index 1fcc9facd0..d2faed5f8f 100644 --- a/phpBB/styles/prosilver/template/posting_topic_review.html +++ b/phpBB/styles/prosilver/template/posting_topic_review.html @@ -22,13 +22,16 @@

    +

    {topic_review_row.POST_SUBJECT}

    + + -

    {topic_review_row.POST_SUBJECT}

    +

    {topic_review_row.MINI_POST_IMG}{topic_review_row.MINI_POST_IMG} {L_POST_BY_AUTHOR} {topic_review_row.POST_AUTHOR_FULL} » {topic_review_row.POST_DATE}

    {topic_review_row.MESSAGE}
    diff --git a/phpBB/styles/prosilver/template/ucp_pm_history.html b/phpBB/styles/prosilver/template/ucp_pm_history.html index 3d886b1c3d..d08f622d1f 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_history.html +++ b/phpBB/styles/prosilver/template/ucp_pm_history.html @@ -15,13 +15,14 @@
    +

    class="current">{history_row.SUBJECT}

    + -

    class="current">{history_row.SUBJECT}

    {history_row.MINI_POST_IMG} {L_SENT_AT}{L_COLON} {history_row.SENT_DATE}
    {L_MESSAGE_BY_AUTHOR} {history_row.MESSAGE_AUTHOR_FULL}

    {history_row.MESSAGE}{L_MESSAGE_REMOVED_FROM_OUTBOX}
    diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html index cda077e5f8..0bc1e7cef8 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html +++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html @@ -50,6 +50,7 @@
    +

    {SUBJECT}

      @@ -60,8 +61,6 @@
    -

    {SUBJECT}

    -

    {L_SENT_AT}{L_COLON} {SENT_DATE}
    {L_PM_FROM}{L_COLON} {MESSAGE_AUTHOR_FULL} diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 43be236170..203f7bc75b 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -178,6 +178,8 @@

    style="display: none;"> +

    class="first"> {postrow.POST_SUBJECT}

    +
      @@ -193,7 +195,6 @@ -

      class="first"> {postrow.POST_SUBJECT}

      {postrow.MINI_POST_IMG}{postrow.MINI_POST_IMG}{L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL} » {postrow.POST_DATE}

      diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 5c8217fba9..798cf1518f 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -241,6 +241,7 @@ div[class].topic-actions { .postbody h3 { /* Postbody requires a different h3 format - so change it here */ + float: left; font-size: 1.5em; padding: 2px 0 0 0; margin: 0 0 0.3em 0 !important; @@ -297,21 +298,16 @@ div[class].topic-actions { /* MCP Post details ----------------------------------------*/ -#post_details -{ +#post_details { /* This will only work in IE7+, plus the others */ overflow: auto; max-height: 300px; } -#expand -{ - clear: both; -} - /* Content container styles ----------------------------------------*/ .content { + clear: both; min-height: 3em; overflow: hidden; line-height: 1.4em; @@ -387,6 +383,7 @@ p.author { font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 1em; line-height: 1.2em; + clear: both; } /* Post signature */