summaryrefslogtreecommitdiff
path: root/app/Template/user/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/user/show.php')
-rw-r--r--app/Template/user/show.php40
1 files changed, 0 insertions, 40 deletions
diff --git a/app/Template/user/show.php b/app/Template/user/show.php
deleted file mode 100644
index df0affb8..00000000
--- a/app/Template/user/show.php
+++ /dev/null
@@ -1,40 +0,0 @@
-<div class="page-header">
- <h2><?= t('Summary') ?></h2>
-</div>
-<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>
- <li><?= t('Status:') ?> <strong><?= $user['is_active'] ? t('Active') : t('Inactive') ?></strong></li>
-</ul>
-
-<div class="page-header">
- <h2><?= t('Security') ?></h2>
-</div>
-<ul class="listing">
- <li><?= t('Role:') ?> <strong><?= $this->user->getRoleName($user['role']) ?></strong></li>
- <li><?= t('Account type:') ?> <strong><?= $user['is_ldap_user'] ? t('Remote') : t('Local') ?></strong></li>
- <li><?= $user['twofactor_activated'] == 1 ? t('Two factor authentication enabled') : t('Two factor authentication disabled') ?></li>
-</ul>
-
-<div class="page-header">
- <h2><?= t('Preferences') ?></h2>
-</div>
-<ul class="listing">
- <li><?= t('Timezone:') ?> <strong><?= $this->text->in($user['timezone'], $timezones) ?></strong></li>
- <li><?= t('Language:') ?> <strong><?= $this->text->in($user['language'], $languages) ?></strong></li>
- <li><?= t('Notifications:') ?> <strong><?= $user['notifications_enabled'] == 1 ? t('Enabled') : t('Disabled') ?></strong></li>
-</ul>
-
-<?php if (! empty($user['token'])): ?>
- <div class="page-header">
- <h2><?= t('Public access') ?></h2>
- </div>
-
- <div class="listing">
- <ul class="no-bullet">
- <li><strong><i class="fa fa-rss-square"></i> <?= $this->url->link(t('RSS feed'), 'feed', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
- <li><strong><i class="fa fa-calendar"></i> <?= $this->url->link(t('iCal feed'), 'ical', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
- </ul>
- </div>
-<?php endif ?>