• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/subelement.php
  • Класс: CAdminSubMessage
  • Вызов: CAdminSubMessage::Show
public function Show()
{
	if (defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1)
	{
		return '';
	}
	else
	{
		if($this->message["MESSAGE"])
			$title = '
'.$this->_formatHTML($this->message["MESSAGE"]).'
'; else $title = ''; if($this->message["DETAILS"]) $details = $this->_formatHTML($this->message["DETAILS"]); else $details = ''; if($this->message["TYPE"] == "OK") { $s = '
'.$title.' '.$details.'
'; } elseif($this->message["TYPE"] == "PROGRESS") { if ($this->message['PROGRESS_ICON']) $title = '
'.$title; $details = str_replace("#PROGRESS_BAR#", $this->_getProgressHtml(), $details); $s = '
'.$title.' '.$details.'
'.$this->_getButtonsHtml().'
'; } else { $s = '
'.$title.' '.$details.'
'; } return $s; } }