summaryrefslogtreecommitdiff
path: root/smartyplugins/modifier.times.php
diff options
context:
space:
mode:
Diffstat (limited to 'smartyplugins/modifier.times.php')
-rw-r--r--smartyplugins/modifier.times.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/smartyplugins/modifier.times.php b/smartyplugins/modifier.times.php
new file mode 100644
index 0000000..385d134
--- /dev/null
+++ b/smartyplugins/modifier.times.php
@@ -0,0 +1,18 @@
+<?php
+/**
+ * Smarty plugin
+ * @package Smarty
+ * @subpackage plugins
+ */
+
+/**
+ * smarty_modifier_times
+ */
+function smarty_modifier_times($n1,$n2)
+{
+ return $n1*$n2;
+}
+
+/* vim: set expandtab: */
+
+?>