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
@@ -1020,10 +1020,47 @@ $return .= <<<IPSCONTENT
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
if ( \IPS\Member::loggedIn()->getLayoutValue( 'forum_topic_view_firstpost' ) and $comment->isFirst() and isset( \IPS\Widget\Request::i()->page ) and \IPS\Widget\Request::i()->page > 1 ):
|
||||
$includeWrapper = (\IPS\Member::loggedIn()->getLayoutValue('forum_topic_view_firstpost') and $comment->isFirst());
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
<div class="ipsEntry__truncate" data-ipstruncate>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
if ( $includeWrapper ):
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
$collapsed = ($includeWrapper and isset( \IPS\Widget\Request::i()->page ) and \IPS\Widget\Request::i()->page > 1);
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
<div
|
||||
IPSCONTENT;
|
||||
|
||||
if ( $collapsed ):
|
||||
$return .= <<<IPSCONTENT
|
||||
class
|
||||
IPSCONTENT;
|
||||
|
||||
else:
|
||||
$return .= <<<IPSCONTENT
|
||||
data-ipstruncate-deferredclasses
|
||||
IPSCONTENT;
|
||||
|
||||
endif;
|
||||
$return .= <<<IPSCONTENT
|
||||
="ipsEntry__truncate" data-ipstruncate
|
||||
IPSCONTENT;
|
||||
|
||||
if ( !$collapsed ):
|
||||
$return .= <<<IPSCONTENT
|
||||
data-ipstruncate-deferred="1" data-collapse-off-first-page
|
||||
IPSCONTENT;
|
||||
|
||||
endif;
|
||||
$return .= <<<IPSCONTENT
|
||||
>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
@@ -1036,7 +1073,7 @@ $return .= <<<IPSCONTENT
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
if ( \IPS\Member::loggedIn()->getLayoutValue( 'forum_topic_view_firstpost' ) and $comment->isFirst() and isset( \IPS\Widget\Request::i()->page ) and \IPS\Widget\Request::i()->page > 1 ):
|
||||
if ( $includeWrapper ):
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user