1 <?php
3 function smarty_function_image($params, &$smarty)
4 {
5 $path = (isset($params['path']))? $params['path'] :"";
6 $label = (isset($params['label']))? $params['label'] :"";
7 $action = (isset($params['action']))? $params['action'] :"";
8 $title = (isset($params['title']))? $params['title'] :"";
9 $align = (isset($params['align']))? $params['align'] :"";
10 //print_a(array($path,$label,$action,$title,$align));
11 echo image($path,$label,$action,$title,$align);
12 }
14 ?>