blob: 890b0c0a9b421823ce16a29f63405cbb18d4f8a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<section id="main">
<div class="page-header">
<h2><?= Helper\escape($user['name'] ?: $user['username']).' (#'.$user['id'].')' ?></h2>
<ul>
<li><a href="?controller=user&action=index"><?= t('All users') ?></a></li>
<?php if (Helper\is_admin()): ?>
<li><a href="?controller=user&action=create"><?= t('New user') ?></a></li>
<?php endif ?>
</ul>
</div>
<section class="user-show" id="user-section">
<?= Helper\template('user_sidebar', array('user' => $user)) ?>
<div class="user-show-main">
<?= $user_content_for_layout ?>
</div>
</section>
</section>
|