diff --git a/e107_core/templates/contact_template.php b/e107_core/templates/contact_template.php index 8b171efef..89acc0a4c 100644 --- a/e107_core/templates/contact_template.php +++ b/e107_core/templates/contact_template.php @@ -30,6 +30,28 @@ $sc_style['CONTACT_IMAGECODE_INPUT']['pre'] = ""; $sc_style['CONTACT_IMAGECODE_INPUT']['post'] = ""; + +$CONTACT_TEMPLATE['menu'] = ' +
+
+ + {CONTACT_NAME} +
+ +
+ + {CONTACT_EMAIL} +
+
+ + {CONTACT_BODY=rows=5&cols=50} +
+ {CONTACT_SUBMIT_BUTTON} +
+ '; + + + if(!isset($CONTACT_FORM)) { $CONTACT_FORM = " diff --git a/e107_plugins/contact/contact_menu.php b/e107_plugins/contact/contact_menu.php index 5520aa5c8..f42fd833c 100644 --- a/e107_plugins/contact/contact_menu.php +++ b/e107_plugins/contact/contact_menu.php @@ -10,28 +10,10 @@ $head = '
' //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 = '
'; - +$template = e107::getCoreTemplate('contact','menu'); $contact_shortcodes = e107::getScBatch('contact'); $text = $tp->parseTemplate($head. $template . $foot, true, $contact_shortcodes); diff --git a/e107_themes/templates/footer_default.php b/e107_themes/templates/footer_default.php index 7f75031cf..ec67043cd 100644 --- a/e107_themes/templates/footer_default.php +++ b/e107_themes/templates/footer_default.php @@ -320,8 +320,8 @@ unset($uclist, $bcache); if(!deftrue('e_POWEREDBY_DISABLE')) { - // No IDs or Classes - hinder js disable. - echo "
Proudly powered by e107
"; + // No IDs or Classes - hinder js disable. + echo "
Proudly powered by e107
"; } echo "\n\n";