From: hickert Date: Tue, 2 Mar 2010 12:12:44 +0000 (+0000) Subject: Updated image function for smarty. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=70a786a01e519c06b4ec1378121f1b1dfb6675a3;p=gosa.git Updated image function for smarty. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15841 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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); } ?>