mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/9837] Small fixes
PHPBB3-9837
This commit is contained in:
committed by
Marc Alexander
parent
eb94fe973b
commit
01b0ec19c6
@@ -146,9 +146,10 @@ class content_visibility
|
|||||||
{
|
{
|
||||||
$visibility = $data[$mode . '_visibility'];
|
$visibility = $data[$mode . '_visibility'];
|
||||||
$poster_key = ($mode === 'topic') ? 'topic_poster' : 'poster_id';
|
$poster_key = ($mode === 'topic') ? 'topic_poster' : 'poster_id';
|
||||||
$is_visible = $this->auth->acl_get('m_approve', $forum_id) || $visibility == ITEM_APPROVED || (
|
$is_visible = $this->auth->acl_get('m_approve', $forum_id) || $visibility == ITEM_APPROVED;
|
||||||
($visibility == ITEM_UNAPPROVED || $visibility == ITEM_REAPPROVE) &&
|
$is_visible = $is_visible || (
|
||||||
$this->user->data['user_id'] === $data[$poster_key]
|
($visibility == ITEM_UNAPPROVED || $visibility == ITEM_REAPPROVE)
|
||||||
|
&& $this->user->data['user_id'] === $data[$poster_key]
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -306,7 +306,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
<p class="information post-notice">
|
<p class="post-notice information">
|
||||||
{L_POST_UNAPPROVED}
|
{L_POST_UNAPPROVED}
|
||||||
</p>
|
</p>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
@@ -1162,6 +1162,6 @@ li.notification-reported strong, li.notification-disapproved strong {
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.information {
|
.information {
|
||||||
background-color: #b8d3e0;
|
background-color: #b8d3e0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user