summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3c1f92e)
raw | patch | inline | side by side (parent: 3c1f92e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Mar 2010 09:43:31 +0000 (09:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Mar 2010 09:43:31 +0000 (09:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15832 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/smarty/plugins/function.image.php | [new file with mode: 0644] | patch | blob |
diff --git a/gosa-core/include/smarty/plugins/function.image.php b/gosa-core/include/smarty/plugins/function.image.php
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+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'] :"";
+ echo image($path,$label,$action,$title = "");
+}
+
+?>