• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/convertorspregreplacehelper.php
  • Класс: CConvertorsPregReplaceHelper
  • Вызов: CConvertorsPregReplaceHelper::convertCodeTagForHtmlAfter
public function convertCodeTagForHtmlAfter($text = "")
{
	if (is_array($text))
		$text = $text[1];
	if ($text == '')
		return '';

	$code_mess = GetMessage("CONV_MAIN_CODE");
	$text = str_replace("!http!", "http", $text);
	$text = str_replace("!https!", "https", $text);
	$text = str_replace("!ftp!", "ftp", $text);
	$text = str_replace("!@!", "@", $text);

	$return = "
$code_mess
"; return $return; }