aboutsummaryrefslogtreecommitdiff
path: root/templates/contentbar/contentbar.php
blob: 4433aabdc5becaf64b99083232120ccf8a72c937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<div class="contentbar">
    <div class="contentbar_title">
        <? if (!$toc->isActive()) : ?>
        <a href="<?= $toc->getUrl() ?>" title="<?= htmlReady($toc->getTitle()) ?>">
        <? endif ?>
            <?= $icon->asImg(24, ['class' => 'text-bottom']) ?>
        <? if (!$toc->isActive()) : ?>
            </a>
        <? endif ?>
        <ul class="breadcrumb"><?= $breadcrumbs->render() ?></ul>
    </div>

    <div class="contentbar_info">
        <div class="textblock"><?= $info ?></div>

        <div class="contentbar-icons">
            <? if ($toc->hasChildren()) : ?>
                <input type="checkbox" id="cb-toc">
                <label for="cb-toc" class="check-box enter-accessible" title="<?= _('Inhaltsverzeichnis') ?>" tabindex="0">
                    <?= Icon::create('table-of-contents')->asImg(24) ?>
                </label>
                <?= $ttpl->render() ?>
            <? endif ?>

            <a class="consuming_mode_trigger"
               href="#"
               title="<?= _("Konsummodus ein-/ausschalten") ?>">
            </a>

            <? if ($actionMenu) : ?>
                <?= $actionMenu->render() ?>
            <? endif ?>
        </div>
    </div>

</div>