summaryrefslogtreecommitdiff
path: root/app/Template/user/sessions.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-16 20:55:21 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-16 20:55:21 -0400
commit4514bc1d4b4abff23902e46da76e70f13a3647eb (patch)
treefb4f03d47f49bd8acc6fbae943ac44ac58df9540 /app/Template/user/sessions.php
parentabdf6f97800e7e838b5841820815385b183bab67 (diff)
Improve user controllers and views
Diffstat (limited to 'app/Template/user/sessions.php')
-rw-r--r--app/Template/user/sessions.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/app/Template/user/sessions.php b/app/Template/user/sessions.php
deleted file mode 100644
index d7fe895d..00000000
--- a/app/Template/user/sessions.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="page-header">
- <h2><?= t('Persistent connections') ?></h2>
-</div>
-
-<?php if (empty($sessions)): ?>
- <p class="alert"><?= t('No session.') ?></p>
-<?php else: ?>
- <table class="table-small table-fixed">
- <tr>
- <th class="column-20"><?= t('Creation date') ?></th>
- <th class="column-20"><?= t('Expiration date') ?></th>
- <th class="column-15"><?= t('IP address') ?></th>
- <th><?= t('User agent') ?></th>
- <th class="column-10"><?= t('Action') ?></th>
- </tr>
- <?php foreach ($sessions as $session): ?>
- <tr>
- <td><?= $this->dt->datetime($session['date_creation']) ?></td>
- <td><?= $this->dt->datetime($session['expiration']) ?></td>
- <td><?= $this->text->e($session['ip']) ?></td>
- <td><?= $this->text->e($session['user_agent']) ?></td>
- <td><?= $this->url->link(t('Remove'), 'User', 'removeSession', array('user_id' => $user['id'], 'id' => $session['id']), true) ?></td>
- </tr>
- <?php endforeach ?>
- </table>
-<?php endif ?>