Vinoteca: wine shop on 1C-Bitrix (module, template, components, pages)
This commit is contained in:
commit
52795535ae
586 files changed
+27619
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
use Bitrix\Main\Localization\Loc;
|
||||
|
||||
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
|
||||
die();
|
||||
}
|
||||
|
||||
Loc::loadMessages(__FILE__);
|
||||
?>
|
||||
<nav class="vino-cab__nav" aria-label="<?= htmlspecialcharsbx(Loc::getMessage("VINO_NAV_LABEL")) ?>">
|
||||
<p class="vino-cab__kicker"><?= Loc::getMessage("VINO_NAV_KICKER") ?></p>
|
||||
<ul class="vino-cab__list">
|
||||
<?php foreach ($arResult["ITEMS"] as $item): ?>
|
||||
<li class="vino-cab__item"><a class="vino-cab__link<?= $item["ACTIVE"] ? " vino-cab__link--active" : "" ?>" href="<?= htmlspecialcharsbx($item["URL"]) ?>"<?= $item["ACTIVE"] ? ' aria-current="page"' : "" ?>><?= Loc::getMessage("VINO_NAV_" . strtoupper($item["CODE"])) ?></a></li>
|
||||
<?php endforeach; ?>
|
||||
<li class="vino-cab__item"><button class="vino-cab__link vino-cab__link--button" type="button" data-cab-logout><?= Loc::getMessage("VINO_NAV_LOGOUT") ?></button></li>
|
||||
</ul>
|
||||
</nav>
|
||||
Reference in new issue
Block a user