- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/classes/general/wizard_site_steps.php
- Класс: CPackageSelectGroup
- Вызов: CPackageSelectGroup::ShowStep
function ShowStep()
{
$package = $this->package;
$wizard = $this->GetWizard();
$arGroups = $package->GetTemplateGroups(Array("SITE_ID" => $package->siteID));
if (empty($arGroups))
return;
$this->content .= '| ';
if (isset($arGroup["SCREENSHOT"]) && isset($arGroup["PREVIEW"]))
$this->content .= CFile::Show2Images($package->path."/".$arGroup["PREVIEW"], $package->path."/".$arGroup["SCREENSHOT"], 150, 150, ' border="0"')." "; elseif (isset($arGroup["SCREENSHOT"])) $this->content .= CFile::ShowImage($package->path."/".$arGroup["SCREENSHOT"], 150, 150, ' border="0"', "", true)." "; $this->content .= '
| ";
//Close table cells
if (!($counter % $colsNumber) && $cellSize != $counter)
$this->content .= "||
| "; } $counter++; } $this->content .= " |