summaryrefslogtreecommitdiff
path: root/smartyplugins/function.ed.php
diff options
context:
space:
mode:
Diffstat (limited to 'smartyplugins/function.ed.php')
-rw-r--r--smartyplugins/function.ed.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/smartyplugins/function.ed.php b/smartyplugins/function.ed.php
new file mode 100644
index 0000000..c1a5912
--- /dev/null
+++ b/smartyplugins/function.ed.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Smarty plugin
+ * @package Smarty
+ * @subpackage plugins
+ */
+
+/**
+ * smarty_function_ed
+ */
+function smarty_function_ed($params, &$gBitSmarty)
+{
+ global $gBitSystem;
+ extract($params);
+ // Param = zone
+
+ if (empty($id)) {
+ $gBitSmarty->trigger_error("ed: missing 'id' parameter");
+ return;
+ }
+
+ print($banner);
+}
+
+/* vim: set expandtab: */
+
+?>