summaryrefslogtreecommitdiff
path: root/app/helpers.php
diff options
context:
space:
mode:
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>';
}
/**