diff options
Diffstat (limited to 'app/Template/user/layout.php')
-rw-r--r-- | app/Template/user/layout.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Template/user/layout.php b/app/Template/user/layout.php new file mode 100644 index 00000000..e60ab77d --- /dev/null +++ b/app/Template/user/layout.php @@ -0,0 +1,18 @@ +<section id="main"> + <div class="page-header"> + <?php if ($this->user->isAdmin()): ?> + <ul> + <li><i class="fa fa-user fa-fw"></i><?= $this->url->link(t('All users'), 'user', 'index') ?></li> + <li><i class="fa fa-plus fa-fw"></i><?= $this->url->link(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>
\ No newline at end of file |