summaryrefslogtreecommitdiff
path: root/app/Template/user_view/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/user_view/profile.php')
-rw-r--r--app/Template/user_view/profile.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Template/user_view/profile.php b/app/Template/user_view/profile.php
new file mode 100644
index 00000000..9c9d3282
--- /dev/null
+++ b/app/Template/user_view/profile.php
@@ -0,0 +1,9 @@
+<section id="main">
+ <br>
+ <?= $this->avatar->render($user['id'], $user['username'], $user['name'], $user['email'], $user['avatar_path']) ?>
+ <ul class="listing">
+ <li><?= t('Username:') ?> <strong><?= $this->text->e($user['username']) ?></strong></li>
+ <li><?= t('Name:') ?> <strong><?= $this->text->e($user['name']) ?: t('None') ?></strong></li>
+ <li><?= t('Email:') ?> <strong><?= $this->text->e($user['email']) ?: t('None') ?></strong></li>
+ </ul>
+</section> \ No newline at end of file