summaryrefslogtreecommitdiff
path: root/app/helpers.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
commit37332ae2222706f8fb330dae780dc938512edcf5 (patch)
tree9161d539cc289179339162d6922c4d9dd2c30e63 /app/helpers.php
parent8fe5df39d97ef851d11931fcf7e906ec08838ef7 (diff)
Change layout (experimental)
Diffstat (limited to 'app/helpers.php')
-rw-r--r--app/helpers.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/helpers.php b/app/helpers.php
index f9415582..b58f706f 100644
--- a/app/helpers.php
+++ b/app/helpers.php
@@ -6,7 +6,6 @@ namespace Helper;
* Template helpers
*
*/
-
use Core\Security;
use Core\Template;
use Core\Tool;
@@ -568,9 +567,9 @@ function form_numeric($name, $values = array(), array $errors = array(), array $
* @param string $class CSS class attribute
* @return string
*/
-function a($label, $controller, $action, array $params = array(), $csrf = false, $class = '')
+function a($label, $controller, $action, array $params = array(), $csrf = false, $class = '', $title = '')
{
- return '<a href="'.u($controller, $action, $params, $csrf).'" class="'.$class.'">'.$label.'</a>';
+ return '<a href="'.u($controller, $action, $params, $csrf).'" class="'.$class.'" title="'.$title.'">'.$label.'</a>';
}
/**