From eeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 24 May 2015 16:02:25 -0400 Subject: Helpers refactoring --- app/Template/user/sessions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Template/user/sessions.php') diff --git a/app/Template/user/sessions.php b/app/Template/user/sessions.php index 5a06057c..a7504a7a 100644 --- a/app/Template/user/sessions.php +++ b/app/Template/user/sessions.php @@ -18,8 +18,8 @@ e($session['ip']) ?> - e($this->summary($session['user_agent'])) ?> - a(t('Remove'), 'user', 'removeSession', array('user_id' => $user['id'], 'id' => $session['id']), true) ?> + e($this->text->truncate($session['user_agent'])) ?> + url->link(t('Remove'), 'user', 'removeSession', array('user_id' => $user['id'], 'id' => $session['id']), true) ?> -- cgit v1.2.3