diff options
| author | Jim Wigginton <terrafrost@phpbb.com> | 2009-01-27 00:01:48 +0000 |
|---|---|---|
| committer | Jim Wigginton <terrafrost@phpbb.com> | 2009-01-27 00:01:48 +0000 |
| commit | 49f0ab0ccd1475be2ccd0661714628f40a370efd (patch) | |
| tree | 2b5810d90046efe55de54aff1caa65a5a84fcbd6 /phpBB/styles | |
| parent | f78594b59d14a3451feb1af0de90a22cfe2b5b1c (diff) | |
| download | forums-49f0ab0ccd1475be2ccd0661714628f40a370efd.tar forums-49f0ab0ccd1475be2ccd0661714628f40a370efd.tar.gz forums-49f0ab0ccd1475be2ccd0661714628f40a370efd.tar.bz2 forums-49f0ab0ccd1475be2ccd0661714628f40a370efd.tar.xz forums-49f0ab0ccd1475be2ccd0661714628f40a370efd.zip | |
Fixed bug #40325 – Friend/foe system displays posts made by foes while composing
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9305 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles')
5 files changed, 29 insertions, 4 deletions
diff --git a/phpBB/styles/prosilver/template/posting_review.html b/phpBB/styles/prosilver/template/posting_review.html index 10616901b6..78b994c989 100644 --- a/phpBB/styles/prosilver/template/posting_review.html +++ b/phpBB/styles/prosilver/template/posting_review.html @@ -3,10 +3,16 @@ <p>{L_POST_REVIEW_EXPLAIN}</p> <!-- BEGIN post_review_row --> -<div id="ppr{post_review_row.POST_ID}" class="post <!-- IF post_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF post_review_row.ONLINE_STATUS --> online<!-- ENDIF -->"> +<!-- IF post_review_row.S_IGNORE_POST --> +<div class="post bg3 post-ignore"> <div class="inner"><span class="corners-top"><span></span></span> + {post_review_row.L_IGNORE_POST} +<!-- ELSE --> +<div class="post <!-- IF post_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF post_review_row.ONLINE_STATUS --> online<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> +<!-- ENDIF --> - <div class="postbody"> + <div class="postbody" id="ppr{post_review_row.POST_ID}"> <h3><a href="#ppr{post_review_row.POST_ID}">{post_review_row.POST_SUBJECT}</a></h3> <p class="author"><!-- IF S_IS_BOT -->{post_review_row.MINI_POST_IMG}<!-- ELSE --><a href="{post_review_row.U_MINI_POST}">{post_review_row.MINI_POST_IMG}</a><!-- ENDIF --> {L_POST_BY_AUTHOR}<strong> {post_review_row.POST_AUTHOR_FULL}</strong> » {post_review_row.POST_DATE}</p> <div class="content">{post_review_row.MESSAGE}</div> diff --git a/phpBB/styles/prosilver/template/posting_topic_review.html b/phpBB/styles/prosilver/template/posting_topic_review.html index 3f9c25cb2a..428a830ef3 100644 --- a/phpBB/styles/prosilver/template/posting_topic_review.html +++ b/phpBB/styles/prosilver/template/posting_topic_review.html @@ -6,8 +6,15 @@ <div id="topicreview"> <!-- BEGIN topic_review_row --> + + <!-- IF topic_review_row.S_IGNORE_POST --> + <div class="post bg3 post-ignore"> + <div class="inner"><span class="corners-top"><span></span></span> + {topic_review_row.L_IGNORE_POST} + <!-- ELSE --> <div class="post <!-- IF topic_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> <div class="inner"><span class="corners-top"><span></span></span> + <!-- ENDIF --> <div class="postbody" id="pr{topic_review_row.POST_ID}"> <!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --> diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 00342604bb..b6d3efa8a3 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -280,6 +280,10 @@ div[class].topic-actions { border-bottom-width: 0; } +.post-ignore .postbody { + display: none; +} + /* Content container styles ----------------------------------------*/ .content { @@ -750,4 +754,4 @@ dl.pmlist dt textarea { dl.pmlist dd { margin-left: 61% !important; margin-bottom: 2px; -} +}
\ No newline at end of file diff --git a/phpBB/styles/subsilver2/template/posting_review.html b/phpBB/styles/subsilver2/template/posting_review.html index c3a7f7aead..13e895e95a 100644 --- a/phpBB/styles/subsilver2/template/posting_review.html +++ b/phpBB/styles/subsilver2/template/posting_review.html @@ -19,6 +19,9 @@ <!-- BEGIN post_review_row --> <!-- IF post_review_row.S_ROW_COUNT is even --> <tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <!-- IF post_review_row.S_IGNORE_POST --> + <td colspan="2">{post_review_row.L_IGNORE_POST}</td> + <!-- ELSE --> <td rowspan="2" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><a id="pr{post_review_row.POST_ID}"></a> <table width="150" cellspacing="0" cellpadding="4" border="0"> @@ -82,6 +85,7 @@ </tr> </table> </td> + <!-- ENDIF --> </tr> <tr> <td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> diff --git a/phpBB/styles/subsilver2/template/posting_topic_review.html b/phpBB/styles/subsilver2/template/posting_topic_review.html index 9ac6f90d9e..d1af72b522 100644 --- a/phpBB/styles/subsilver2/template/posting_topic_review.html +++ b/phpBB/styles/subsilver2/template/posting_topic_review.html @@ -15,6 +15,9 @@ <!-- IF topic_review_row.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <!-- IF topic_review_row.S_IGNORE_POST --> + <td colspan="2">{topic_review_row.L_IGNORE_POST}</td> + <!-- ELSE --> <td rowspan="2" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><a id="pr{topic_review_row.POST_ID}"></a> <table width="150" cellspacing="0"> <tr> @@ -81,6 +84,7 @@ </tr> </table> </td> + <!-- ENDIF --> </tr> <tr> <td class="spacer" colspan="2"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> @@ -91,4 +95,4 @@ </tr> </table> -<br clear="all" /> +<br clear="all" />
\ No newline at end of file |
