summaryrefslogtreecommitdiff
path: root/app/Template/user_sidebar.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-04 21:04:33 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-04 21:04:33 -0500
commit6739dba792f210a1836489a191527747d21e3da4 (patch)
treeb93e9df07f130c719d37b63700b960f1728e6707 /app/Template/user_sidebar.php
parent66e0028b4aad5b3bd2604efb34fe89693383aa86 (diff)
Move user templates to a subfolder
Diffstat (limited to 'app/Template/user_sidebar.php')
-rw-r--r--app/Template/user_sidebar.php39
1 files changed, 0 insertions, 39 deletions
diff --git a/app/Template/user_sidebar.php b/app/Template/user_sidebar.php
deleted file mode 100644
index 16532143..00000000
--- a/app/Template/user_sidebar.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<div class="sidebar">
- <h2><?= t('Actions') ?></h2>
- <ul>
- <li>
- <?= Helper\a(t('Summary'), 'user', 'show', array('user_id' => $user['id'])) ?>
- </li>
-
- <?php if (Helper\is_admin() || Helper\is_current_user($user['id'])): ?>
- <li>
- <?= Helper\a(t('Edit profile'), 'user', 'edit', array('user_id' => $user['id'])) ?>
- </li>
-
- <?php if ($user['is_ldap_user'] == 0): ?>
- <li>
- <?= Helper\a(t('Change password'), 'user', 'password', array('user_id' => $user['id'])) ?>
- </li>
- <?php endif ?>
-
- <li>
- <?= Helper\a(t('Email notifications'), 'user', 'notifications', array('user_id' => $user['id'])) ?>
- </li>
- <li>
- <?= Helper\a(t('External accounts'), 'user', 'external', array('user_id' => $user['id'])) ?>
- </li>
- <li>
- <?= Helper\a(t('Last logins'), 'user', 'last', array('user_id' => $user['id'])) ?>
- </li>
- <li>
- <?= Helper\a(t('Persistent connections'), 'user', 'sessions', array('user_id' => $user['id'])) ?>
- </li>
- <?php endif ?>
-
- <?php if (Helper\is_admin()): ?>
- <li>
- <?= Helper\a(t('Remove'), 'user', 'remove', array('user_id' => $user['id'])) ?>
- </li>
- <?php endif ?>
- </ul>
-</div> \ No newline at end of file