• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/wizard_site_steps.php
  • Класс: CPackageSelectSite
  • Вызов: CPackageSelectSite::ShowStep
function ShowStep()
{
	$wizard = $this->GetWizard();
	$package = $this->package;

	$this->content .= '';

	foreach ($package->arSites as $siteID => $arSite)
	{
		if (isset($arSite["DEFAULT"]))
			$wizard->SetDefaultVar("__siteID", $siteID);

		$this->content .= '';

		$this->content .= '';

		$this->content .= '';

		$this->content .= '';


		$this->content .= '';


	}

	$this->content .= '
'.$this->ShowRadioField("__siteID", $siteID, Array("id" => $siteID)).''; if (isset($arSite["SCREENSHOT"]) && isset($arSite["PREVIEW"])) $this->content .= CFile::Show2Images($package->path."/".$arSite["PREVIEW"], $package->path."/".$arSite["SCREENSHOT"], 150, 150, ' border="0"')."

"; elseif (isset($arSite["SCREENSHOT"])) $this->content .= CFile::ShowImage($package->path."/".$arSite["SCREENSHOT"], 150, 150, ' border="0"', "", true)."

"; $this->content .='
'; $this->content .= ''; if (isset($arSite["DESCRIPTION"]) && $arSite["DESCRIPTION"] <> '') $this->content .= '
'; $this->content .='
'; }