1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Template/user_layout.php
2014-11-23 20:13:38 +01:00

19 lines
No EOL
674 B
PHP

<section id="main">
<div class="page-header">
<h2><?= Helper\escape($user['name'] ?: $user['username']).' (#'.$user['id'].')' ?></h2>
<?php if (Helper\is_admin()): ?>
<ul>
<li><a href="?controller=user&amp;action=index"><?= t('All users') ?></a></li>
<li><a href="?controller=user&amp;action=create"><?= t('New user') ?></a></li>
</ul>
<?php endif ?>
</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>