<?php if ($canViewProfile): ?>
  <div class="card card-app profile-tabs-card mb-3">
    <div class="profile-tabs">
      <a class="profile-tab-link <?= $profileTab === 'posts' ? 'is-active' : '' ?>" href="<?= h($profileTabUrl('posts')) ?>">
        <?= h($T('Пости','Посты','Posts')) ?>
      </a>
      <a class="profile-tab-link <?= $profileTab === 'friends' ? 'is-active' : '' ?>" href="<?= h($profileTabUrl('friends')) ?>">
        <?= h($T('Друзі','Друзья','Friends')) ?>
      </a>
      <a class="profile-tab-link <?= $profileTab === 'albums' ? 'is-active' : '' ?>" href="<?= h($profileTabUrl('albums')) ?>">
        <?= h($T('Фотоальбом','Фотоальбом','Photo albums')) ?>
      </a>
    </div>
  </div>
<?php endif; ?>
