diff --git a/e107_core/shortcodes/batch/contact_shortcodes.php b/e107_core/shortcodes/batch/contact_shortcodes.php index c40a8a2ab..15a5a400f 100644 --- a/e107_core/shortcodes/batch/contact_shortcodes.php +++ b/e107_core/shortcodes/batch/contact_shortcodes.php @@ -2,7 +2,7 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2016 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * @@ -92,8 +92,8 @@ class contact_shortcodes extends e_shortcode { $userName = deftrue('USERNAME'); - return ""; - + return ""; + } @@ -103,14 +103,14 @@ class contact_shortcodes extends e_shortcode $userEmail = deftrue('USEREMAIL'); $disabled = (!empty($userEmail)) ? 'readonly' : ''; // don't allow change from a verified email address. - return ""; + return ""; } function sc_contact_subject($parm='') { - return ""; + return ""; } @@ -125,7 +125,7 @@ class contact_shortcodes extends e_shortcode $size = 'input-xxlarge'; } - return ""; + return ""; } diff --git a/e107_core/templates/contact_template.php b/e107_core/templates/contact_template.php index b172ed3b8..259fe5414 100644 --- a/e107_core/templates/contact_template.php +++ b/e107_core/templates/contact_template.php @@ -1,5 +1,14 @@
- - {CONTACT_NAME} + + {CONTACT_NAME}
- + {CONTACT_EMAIL}
- - {CONTACT_BODY=rows=5&cols=30} + + {CONTACT_BODY=rows=5&cols=30}
{CONTACT_SUBMIT_BUTTON} @@ -60,29 +69,29 @@ $CONTACT_TEMPLATE['menu'] = ' // In this case (see contact.php) e107::getScBatch('contact')->wrapper('contact/form') // Only one Option is used - WRAPPER > SC_STYLE - $CONTACT_WRAPPER['form']['CONTACT_IMAGECODE'] = "
{---}"; + $CONTACT_WRAPPER['form']['CONTACT_IMAGECODE'] = "
{---}"; $CONTACT_WRAPPER['form']['CONTACT_IMAGECODE_INPUT'] = "{---}
"; $CONTACT_WRAPPER['form']['CONTACT_EMAIL_COPY'] = "
{---}".LANCONTACT_07."
"; - $CONTACT_WRAPPER['form']['CONTACT_PERSON'] = "
{---}
"; + $CONTACT_WRAPPER['form']['CONTACT_PERSON'] = "
{---}
"; $CONTACT_TEMPLATE['form'] = "
{CONTACT_PERSON} -
+
{CONTACT_NAME}
-
+
{CONTACT_EMAIL}
-
+
{CONTACT_SUBJECT}
{CONTACT_EMAIL_COPY} -
- {CONTACT_BODY} +
+ {CONTACT_BODY}
{CONTACT_IMAGECODE} @@ -100,4 +109,4 @@ $CONTACT_TEMPLATE['menu'] = ' -?> \ No newline at end of file +?> diff --git a/e107_languages/English/lan_contact.php b/e107_languages/English/lan_contact.php index 4f579856b..da6852ce5 100644 --- a/e107_languages/English/lan_contact.php +++ b/e107_languages/English/lan_contact.php @@ -2,7 +2,7 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2016 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * @@ -15,23 +15,27 @@ */ -define('LANCONTACT_00', 'Contact Us'); +define("LANCONTACT_00", "Contact Us"); define("LANCONTACT_01", "Contact Details"); define("LANCONTACT_02", "Contact Form"); -define("LANCONTACT_03", "Enter your name:"); -define("LANCONTACT_04", "Enter your e-mail address:"); -define("LANCONTACT_05", "Message subject:"); -define("LANCONTACT_06", "Message:"); +define("LANCONTACT_03", "Enter your name"); +define("LANCONTACT_04", "Enter your e-mail address"); +define("LANCONTACT_05", "Message subject"); +define("LANCONTACT_06", "Message"); define("LANCONTACT_07", "Email a copy of this message to your own address "); define("LANCONTACT_08", "Send"); define("LANCONTACT_09", "Your message was sent."); define("LANCONTACT_10", "There was a problem sending your message."); -define("LANCONTACT_11", "Your email address doesn't appear to be valid.\\nPlease check it and try again."); +define("LANCONTACT_11", "Your email address does not appear to be valid.\\nPlease check it and try again."); define("LANCONTACT_12", "Your message is too short."); define("LANCONTACT_13", "Please include a subject."); -define("LANCONTACT_14", "Send message to:"); +define("LANCONTACT_14", "Send message to"); define("LANCONTACT_15", "Incorrect code entered"); define("LANCONTACT_16", "You must be [registered] and signed-in to use this form."); +define("LANCONTACT_17", "Please enter your name."); +define("LANCONTACT_18", "Please enter your e-mail address."); +define("LANCONTACT_19", "Please enter the subject for your e-mail."); +define("LANCONTACT_20", "Please enter your message for us.");