summaryrefslogtreecommitdiff
path: root/app/Template/user/layout.php
blob: 94610000e5fd822b48d9976bcb5d8e19875cc5d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<section id="main">
    <div class="page-header">
        <?php if ($this->acl->isAdminUser()): ?>
        <ul>
            <li><i class="fa fa-user fa-fw"></i><?= $this->a(t('All users'), 'user', 'index') ?></li>
            <li><i class="fa fa-plus fa-fw"></i><?= $this->a(t('New user'), 'user', 'create') ?></li>
        </ul>
        <?php endif ?>
    </div>
    <section class="sidebar-container" id="user-section">

        <?= $this->render('user/sidebar', array('user' => $user)) ?>

        <div class="sidebar-content">
            <?= $user_content_for_layout ?>
        </div>
    </section>
</section>