turn; } function announcementSidebar( $announcements ) { $return = ''; $return .= <<

CONTENT; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'announcements', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) ); $return .= <<


CONTENT; endif; $return .= <<reputation_highlight and $comment->reactionCount() >= \IPS\Settings::i()->reputation_highlight ): $return .= <<hidden() ): $return .= <<
CONTENT; if ( $comment->hidden() === 1 && $comment->author()->member_id == \IPS\Member::loggedIn()->member_id ): $return .= << CONTENT; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'comment_awaiting_approval', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) ); $return .= << CONTENT; endif; $return .= <<content()}
CONTENT; if ( $comment->hidden() !== 1 && \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and \IPS\Settings::i()->reputation_enabled ): $return .= << CONTENT; $return .= \IPS\Theme::i()->getTemplate( "global", "core" )->reputation( $comment ); $return .= <<
CONTENT; return $return; } function follow( $app, $area, $id, $count ) { $return = ''; $return .= << CONTENT; if ( !\IPS\Member::loggedIn()->member_id ): $return .= << CONTENT; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'follow_sign_in', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) ); $return .= <<   CONTENT; endif; $return .= <<getTemplate( "global", "core" )->followButton( $app, $area, $id, $count ); $return .= << CONTENT; return $return; } function followButton( $app, $area, $id, $count ) { $return = ''; $return .= <<member_id ): $return .= <<following( $app, $area, $id ) ): $return .= << CONTENT; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'following_this', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) ); $return .= << CONTENT; $return .= htmlspecialchars( $count, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ); $return .= << CONTENT; else: $return .= << CONTENT; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'follow', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) ); $return .= << CONTENT; if ( $count > 0 ): $return .= << CONTENT; $return .= htmlspecialchars( $count, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ); $return .= << CONTENT; else: $return .= << CONTENT; $return .= htmlspecialchars( $count, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ); $return .= << CONTENT; endif; $return .= << CONTENT; endif; $return .= << CONTENT; if ( $count > 0 ): $return .= << CONTENT; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'followers', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) ); $return .= << CONTENT; $return .= htmlspecialchars( $count, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ); $return .= << CONTENT; else: $return .= << CONTENT; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'followers', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) ); $return .= << CONTENT; $return .= htmlspecialchars( $count, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ); $return .= << CONTENT; endif; $return .= << CONTENT; endif; $return .= << © 2011-2024 VEDATIS S.A.S. CONTENT; $themes = \IPS\Theme::getThemesWithAccessPermission(); $return .= << 1 ): $return .= << CONTENT; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'skin', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) ); $return .= <<
    CONTENT; foreach ( $themes as $id => $set ): $return .= <<
CONTENT; return $return; } function logo( ) { $return = ''; $return .= <<logo['front']['url'] !== null ): $return .= <<logo['front']['url'] )->url; $return .= <<
$comment->author()->member_id, 'username' => $comment->author()->name, 'timestamp' => $comment->mapped('date'), 'contentapp' => $comment::$application, 'contenttype' => $item::$module, 'contentclass' => $itemClassSafe, 'contentid' => $item->id, 'contentcommentid' => $comment->$idField) ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ); $return .= << CONTENT; if ( \IPS\Settings::i()->reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and \IPS\Settings::i()->reputation_highlight and $comment->reactionCount() >= \IPS\Settings::i()->reputation_highlight ): $return .= << CONTENT; endif; $return .= << CONTENT; $return .= \IPS\Theme::i()->getTemplate( "global", "core" )->userPhoto( $comment->author(), 'mini', $comment->warningRef() ); $return .= <<

'findComment', 'comment' => $comment->id ) ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ); $return .= <<{$comment->dateLine()} CONTENT; if ( $comment->editLine() ): $return .= <<editLine()} CONTENT; endif; $return .= <<hidden() ): $return .= <<hiddenBlurb(), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ); $return .= << CONTENT; if ( \IPS\Member::loggedIn()->modPermission('mod_see_warn') and $comment->warning ): $return .= <<getTemplate( "global", "core" )->commentWarned( $comment ); $return .= <<