Version 5.0.0 beta 10
This commit is contained in:
1 parent
56979f8ee8
commit
264eeb97e0
325 files changed
+6442
-1849
No files matched your search
@@ -86,7 +86,7 @@ $return .= <<<IPSCONTENT
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
if ( $alert->reply === 2 and $alert->author()->member_id and ! $alert->anonymous and ! \IPS\Member::loggedIn()->canUseMessenger() ):
|
||||
if ( $alert->reply === \IPS\core\Alerts\Alert::REPLY_REQUIRED and $alert->author()->member_id and ! $alert->anonymous and ! \IPS\Member::loggedIn()->canUseMessenger() ):
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
<div data-role="reply-prompt" class="i-padding_2 i-color_soft i-font-size_-2">
|
||||
@@ -100,7 +100,7 @@ $return .= <<<IPSCONTENT
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
elseif ( $alert->reply == 2 and $alert->author()->member_id and ! $alert->anonymous ):
|
||||
elseif ( $alert->reply == \IPS\core\Alerts\Alert::REPLY_REQUIRED and $alert->author()->member_id and ! $alert->anonymous ):
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
<div data-role="reply-prompt" class="i-padding_2 i-color_soft i-font-size_-2">
|
||||
@@ -137,7 +137,7 @@ $return .= <<<IPSCONTENT
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
if ( ( $alert->reply !== 2 or !$alert->author()->member_id ) or ( $alert->reply === 2 and ! \IPS\Member::loggedIn()->canUseMessenger() ) ):
|
||||
if ( ( $alert->reply !== \IPS\core\Alerts\Alert::REPLY_REQUIRED or !$alert->author()->member_id ) or ( $alert->reply === \IPS\core\Alerts\Alert::REPLY_REQUIRED and ! \IPS\Member::loggedIn()->canUseMessenger() ) ):
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
<a class="ipsButton ipsButton--secondary ipsButton--small" href="
|
||||
|
||||
Reference in new issue
Block a user