Example #1
0
	/**
	 * render frontend wall activity
	 *
	 * @param CB\Plugin\Activity\Table\ActivityTable $row
	 * @param string                                 $title
	 * @param string                                 $message
	 * @param CB\Plugin\Activity\Activity            $stream
	 * @param WallTable                              $post
	 * @param cbgjWallPlugin                         $plugin
	 * @return string
	 */
	static function showWallActivity( $row, &$title, &$message, $stream, $post, $plugin )
	{
		global $_CB_framework;

		$title		=	CBTxt::T( 'GROUP_WALL_ACTIVITY_TITLE', 'posted in [group]', array( '[group]' => '<strong><a href="' . $_CB_framework->pluginClassUrl( $plugin->_gjPlugin->element, true, array( 'action' => 'groups', 'func' => 'show', 'id' => (int) $post->group()->get( 'id' ) ) ) . '">' . htmlspecialchars( CBTxt::T( $post->group()->get( 'name' ) ) ) . '</a></strong>' ) );
		$message	=	$post->post();

		return null;
	}