diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-12-28 11:28:50 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-12-28 11:28:50 -0500 |
commit | 34d7450d3c13342715e90ec21bceaa13e1baa876 (patch) | |
tree | a2d8f2f22ad3fe9b56f01fe2db0357f9b963e660 /app/Template/user/last.php | |
parent | 88d84073aecbe8bdc5f10825b6d7ca6b81c5f7b1 (diff) |
Template helpers refactoring
Diffstat (limited to 'app/Template/user/last.php')
-rw-r--r-- | app/Template/user/last.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/user/last.php b/app/Template/user/last.php index 0b55b0d5..317334b8 100644 --- a/app/Template/user/last.php +++ b/app/Template/user/last.php @@ -15,9 +15,9 @@ <?php foreach($last_logins as $login): ?> <tr> <td><?= dt('%B %e, %Y at %k:%M %p', $login['date_creation']) ?></td> - <td><?= Helper\escape($login['auth_type']) ?></td> - <td><?= Helper\escape($login['ip']) ?></td> - <td><?= Helper\escape(Helper\summary($login['user_agent'])) ?></td> + <td><?= $this->e($login['auth_type']) ?></td> + <td><?= $this->e($login['ip']) ?></td> + <td><?= $this->e($this->summary($login['user_agent'])) ?></td> </tr> <?php endforeach ?> </table> |