diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-24 22:51:30 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-24 22:51:30 -0400 |
commit | 90e06162999c8ec7fa9bcfa391800f7907419d9b (patch) | |
tree | f0f8d4a760f25c4f7773e0a1851031db6b08b9f2 /app/Templates/user_sessions.php | |
parent | 180efb962c6fc4da47ed39e60db137d63ffaad5b (diff) |
Rename Locales and Templates folders to be more consistent
Diffstat (limited to 'app/Templates/user_sessions.php')
-rw-r--r-- | app/Templates/user_sessions.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app/Templates/user_sessions.php b/app/Templates/user_sessions.php deleted file mode 100644 index b647d726..00000000 --- a/app/Templates/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 ?> |