diff --git a/e107_plugins/contact/contact_menu.php b/e107_plugins/contact/contact_menu.php new file mode 100644 index 000000000..beabd3267 --- /dev/null +++ b/e107_plugins/contact/contact_menu.php @@ -0,0 +1,40 @@ +'; + + +//XXX Template must conform to Bootstrap specs: http://twitter.github.com/bootstrap/base-css.html#forms +//TODO Security Image. + +$template = ' +
+
+ + {CONTACT_NAME} +
+ +
+ + {CONTACT_EMAIL} +
+
+ + {CONTACT_BODY=rows=5&cols=50} +
+ {CONTACT_SUBMIT_BUTTON} +
+ '; + +$foot = ''; + + +$contact_shortcodes = e107::getScBatch('contact'); +$text = $tp->parseTemplate($head. $template . $foot, true, $contact_shortcodes); + + +$ns->tablerender("Contact Us", $text, 'contact-menu'); + + +?> \ No newline at end of file diff --git a/e107_plugins/contact/plugin.xml b/e107_plugins/contact/plugin.xml new file mode 100644 index 000000000..159cabee3 --- /dev/null +++ b/e107_plugins/contact/plugin.xml @@ -0,0 +1,4 @@ + + + menu + \ No newline at end of file