Code

Updated smarty image method
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Mar 2010 11:08:29 +0000 (11:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Mar 2010 11:08:29 +0000 (11:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15908 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/smarty/plugins/function.image.php

index c74753d48f74c7b57277d43939717184aec5e33f..b20be0cfe7b46b86c7a61df4868576e2e3618b1a 100644 (file)
@@ -3,12 +3,11 @@
 function smarty_function_image($params, &$smarty)
 {
   $path = (isset($params['path']))? $params['path'] :"";
-  $label = (isset($params['label']))? $params['label'] :"";
   $action = (isset($params['action']))? $params['action'] :"";
   $title = (isset($params['title']))? $params['title'] :"";
   $align = (isset($params['align']))? $params['align'] :"";
   //print_a(array($path,$label,$action,$title,$align));
-  echo image($path,$label,$action,$title,$align);
+  echo image($path,$action,$title,$align);
 }
   
 ?>