public function addCteType($arrRow)
	{	
		$return = \tl_content::addCteType($arrRow);
		
		if (($objElement = $objElement = \ElementsModel::findOneByAlias($arrRow['type'])) === null && !array_key_exists($arrRow['type'], $GLOBALS['TL_DCA']['tl_content']['palettes']))
		{
			$tag = '<span style="color: #222;">' . $GLOBALS['TL_LANG']['CTE']['deleted'] . '</span>';
		}
		else if ($objElement->invisible)
		{
			$tag = ' <span style="color: #c6c6c6;">(' . $GLOBALS['TL_LANG']['CTE']['invisible'] . ')</span>';
		}
		
		return ($tag) ? substr_replace($return, $tag . '</div>', strpos($return, '</div>')) : $return;
	}
public function addCteType($arrRow)
	{	
		$return = \tl_content::addCteType($arrRow);
		
		if (($objElement = $objElement = \ElementsModel::findOneByAlias($arrRow['type'])) === null && !array_key_exists($arrRow['type'], $GLOBALS['TL_DCA']['tl_content']['palettes']))
		{
			$tag = '<span style="color: #222;">' . $GLOBALS['TL_LANG']['CTE']['deleted'] . '</span>';
		}
		else if ($objElement->invisible)
		{
			$tag = ' <span style="color: #c6c6c6;">(' . $GLOBALS['TL_LANG']['CTE']['invisible'] . ')</span>';
		}
		
		return ($tag) ? substr_replace($return, $tag . '</div>', strpos($return, '</div>')) : $return;
	}
public function addCteType ( $ arrRow ) { $ return = \ tl_content :: addCteType ( $ arrRow ) ; if ( ( $ objElement = $ objElement = \ ElementsModel :: findOneByAlias ( $ arrRow [ 'type' ] ) ) === null && ! array_key_exists ( $ arrRow [ 'type' ] , $ GLOBALS [ 'TL_DCA' ] [ 'tl_content' ] [ 'palettes' ] ) ) { $ tag = '<span style="color: #222;">' . $ GLOBALS [ 'TL_LANG' ] [ 'CTE' ] [ 'deleted' ] . '</span>' ; } else if ( $ objElement -> invisible ) { $ tag = ' <span style="color: #c6c6c6;">(' . $ GLOBALS [ 'TL_LANG' ] [ 'CTE' ] [ 'invisible' ] . ')</span>' ; } return ( $ tag ) ? substr_replace ( $ return , $ tag . '</div>' , strpos ( $ return , '</div>' ) ) : $ return ; }
Wrap the content block elements into an div block and
mark content element if content block is invisible

@param array $arrRow

@return string
Wrap the content block elements into an div block and mark content element if content block is invisible