Code

Added function to render new images
[gosa.git] / gosa-core / include / smarty / plugins / function.image.php
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   echo image($path,$label,$action,$title = "");
10 }
11   
12 ?>