diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-12-04 21:04:33 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-12-04 21:04:33 -0500 |
commit | 6739dba792f210a1836489a191527747d21e3da4 (patch) | |
tree | b93e9df07f130c719d37b63700b960f1728e6707 /app/Template/user_sessions.php | |
parent | 66e0028b4aad5b3bd2604efb34fe89693383aa86 (diff) |
Move user templates to a subfolder
Diffstat (limited to 'app/Template/user_sessions.php')
-rw-r--r-- | app/Template/user_sessions.php | 26 |
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 b647d726..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"> - <tr> - <th><?= t('Creation date') ?></th> - <th><?= t('Expiration date') ?></th> - <th><?= t('IP address') ?></th> - <th><?= t('User agent') ?></th> - <th><?= t('Action') ?></th> - </tr> - <?php foreach($sessions as $session): ?> - <tr> - <td><?= dt('%B %e, %Y at %k:%M %p', $session['date_creation']) ?></td> - <td><?= dt('%B %e, %Y at %k:%M %p', $session['expiration']) ?></td> - <td><?= Helper\escape($session['ip']) ?></td> - <td><?= Helper\escape(Helper\summary($session['user_agent'])) ?></td> - <td><a href="?controller=user&action=removeSession&user_id=<?= $user['id'] ?>&id=<?= $session['id'].Helper\param_csrf() ?>"><?= t('Remove') ?></a></td> - </tr> - <?php endforeach ?> - </table> -<?php endif ?> |