diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-02 15:06:41 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-02 15:06:41 -0500 |
commit | 37332ae2222706f8fb330dae780dc938512edcf5 (patch) | |
tree | 9161d539cc289179339162d6922c4d9dd2c30e63 /app/helpers.php | |
parent | 8fe5df39d97ef851d11931fcf7e906ec08838ef7 (diff) |
Change layout (experimental)
Diffstat (limited to 'app/helpers.php')
-rw-r--r-- | app/helpers.php | 5 |
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>'; } /** |