Blame view

local/templates/main/components/bitrix/menu/inner/template.php 513 Bytes
80576aee7   Дмитрий Типикин   Интеграция верстк...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  <?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
  <?if (!empty($arResult)):?>
  <section class="about">
      <ul class="about__list">
      <?
      foreach($arResult as $arItem):
          if($arParams["MAX_LEVEL"] == 1 && $arItem["DEPTH_LEVEL"] > 1)
              continue;
          ?>
          <li class="about__item">
              <a class="about__link" href="<?=$arItem["LINK"]?>">
                  <?=$arItem["TEXT"]?>
              </a>
          </li>
      <?endforeach?>
      </ul>
  </section>
  <?endif?>