From 37c6616e50dbce2a298a27513b9882bb105405b0 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 24 Nov 2014 21:32:03 -0500 Subject: Integrate tooltips and code cleanup/fix bugs, see #166 --- app/helpers.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/helpers.php') diff --git a/app/helpers.php b/app/helpers.php index 6c8e8955..0129853f 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -574,11 +574,12 @@ function form_numeric($name, $values = array(), array $errors = array(), array $ * @param array $params Url parameters * @param boolean $csrf Add a CSRF token * @param string $class CSS class attribute + * @param boolean $new_tab Open the link in a new tab * @return string */ -function a($label, $controller, $action, array $params = array(), $csrf = false, $class = '', $title = '') +function a($label, $controller, $action, array $params = array(), $csrf = false, $class = '', $title = '', $new_tab = false) { - return ''.$label.''; + return ''.$label.''; } /** -- cgit v1.2.3