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

	$structureID = $package->structureID;

	$arOriginalStructure = $package->GetStructure(
		Array(
			"SITE_ID" => $package->siteID,
			"SERVICE_ID" => $package->serviceID
		)
	);

	if ($structureID !== null)
		$arStructure = $package->__GetNewStructure($structureID, $arOriginalStructure);
	else
		$arStructure = $arOriginalStructure;

	$strTree = $this->DisplayTree($arStructure);
	$strTrash = $this->DisplayTree($arOriginalStructure, $systemTree = true);

	$formName = $wizard->GetFormName();
	$nextButton = $wizard->GetNextButtonID();
	$prevButton = $wizard->GetPrevButtonID();
	$prefix = $wizard->GetVarPrefix();

	$langStandartPages = GetMessage("MAIN_WIZARD_STANDART_PAGES");
	$langSiteStructure = GetMessage("MAIN_WIZARD_SITE_STRUCTURE");
	$langPagePosition = GetMessage("MAIN_WIZARD_PAGE_POSITION");

	$this->content .= <<
			ul.site-tree
			{
				list-style:none;
				margin:0;
				padding:0;
			}

			ul.site-tree ul
			{
				list-style:none;
				margin-top:0;
				margin-bottom:0;
			}

		
 {$langStandartPages}  {$langSiteStructure} {$langPagePosition}
    {$strTrash}





    {$strTree}









TABLE; }