From 70a786a01e519c06b4ec1378121f1b1dfb6675a3 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 2 Mar 2010 12:12:44 +0000 Subject: [PATCH] Updated image function for smarty. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15841 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/smarty/plugins/function.image.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/smarty/plugins/function.image.php b/gosa-core/include/smarty/plugins/function.image.php index a3c7ffc12..c74753d48 100644 --- a/gosa-core/include/smarty/plugins/function.image.php +++ b/gosa-core/include/smarty/plugins/function.image.php @@ -6,7 +6,9 @@ function smarty_function_image($params, &$smarty) $label = (isset($params['label']))? $params['label'] :""; $action = (isset($params['action']))? $params['action'] :""; $title = (isset($params['title']))? $params['title'] :""; - echo image($path,$label,$action,$title = ""); + $align = (isset($params['align']))? $params['align'] :""; + //print_a(array($path,$label,$action,$title,$align)); + echo image($path,$label,$action,$title,$align); } ?> -- 2.30.2