email successfully sent[:de]Vielen Dank
e-Mail erfolgreich versandt', 'mlcf'); add_option('mlcf_error_message', '[:en]Please fill in the required fields[:de]Bitte füllen Sie alle notwendigen Felder aus', 'mlcf'); add_option('mlcf_error_wrong_mail', '[:en]Please check your email[:de]Bitte überprüfen Sie ihre e-Mail Adresse', 'mlcf'); add_option('mlcf_field_name', '[:en]Name * [:de]Name * ', 'mlcf'); add_option('mlcf_field_email', '[:en]Your e-mail * [:de] e-Mail * ', 'mlcf'); add_option('mlcf_field_subject', '[:en]Subject[:de]Betreff', 'mlcf'); add_option('mlcf_field_www', '[:en]Your website [:de]Ihre Website ', 'mlcf'); add_option('mlcf_field_message', '[:en]Your message:[:de]Nachricht:', 'mlcf'); add_option('mlcf_field_required', '[:en]* Please fill in the required fields[:de]* Bitte füllen Sie alle benötigten Felder aus', 'mlcf'); add_option('mlcf_field_submit', '[:en]Submit[:de]Senden', 'mlcf'); add_option('mlcf_recaptcha_enabled', false, 'mlcf'); add_option('mlcf_recaptcha_private', '6Le-tcQSAAAAAF0zyxYijsjUOL3AnSJaLmN-IEw-', 'mlcf'); add_option('mlcf_recaptcha_public', '6Le-tcQSAAAAADDyIpTh9wP8to_4HHeSMkp6KNTN', 'mlcf'); add_option('mlcf_recaptcha_error_msg', ''."[:en]The reCAPTCHA wasn't entered correctly. Please try again[:de]".''."Das Captcha stimmt nicht.", 'mlcf'); /*check form submission and update options*/ if ('process' == $_POST['stage']) { update_option('mlcf_email', $_POST['mlcf_email']); update_option('mlcf_subject', $_POST['mlcf_subject']); update_option('mlcf_email_from', $_POST['mlcf_email_from']); update_option('mlcf_success_message', $_POST['mlcf_success_message']); update_option('mlcf_error_message', $_POST['mlcf_error_message']); update_option('mlcf_error_wrong_mail', $_POST['mlcf_error_wrong_mail']); update_option('mlcf_field_name', $_POST['mlcf_field_name']); update_option('mlcf_field_email', $_POST['mlcf_field_email']); update_option('mlcf_field_subject', $_POST['mlcf_field_subject']); update_option('mlcf_field_www', $_POST['mlcf_field_www']); update_option('mlcf_field_message', $_POST['mlcf_field_message']); update_option('mlcf_field_required', $_POST['mlcf_field_required']); update_option('mlcf_field_submit', $_POST['mlcf_field_submit']); update_option('mlcf_recaptcha_enabled', $_POST['mlcf_recaptcha_enabled']); update_option('mlcf_recaptcha_private', $_POST['mlcf_recaptcha_private']); update_option('mlcf_recaptcha_public', $_POST['mlcf_recaptcha_public']); update_option('mlcf_recaptcha_error_msg', $_POST['mlcf_recaptcha_error_msg']); update_option('mlcf_delete_options', $_POST['mlcf_delete_options']); } /*Get options for form fields*/ $mlcf_email = stripslashes(get_option('mlcf_email')); $mlcf_subject = stripslashes(get_option('mlcf_subject')); $mlcf_email_from = stripslashes(get_option('mlcf_email_from')); $mlcf_success_message = stripslashes(get_option('mlcf_success_message')); $mlcf_error_message = stripslashes(get_option('mlcf_error_message')); $mlcf_error_wrong_mail = stripslashes(get_option('mlcf_error_wrong_mail')); $mlcf_field_name = stripslashes(get_option('mlcf_field_name')); $mlcf_field_email = stripslashes(get_option('mlcf_field_email')); $mlcf_field_subject = stripslashes(get_option('mlcf_field_subject')); $mlcf_field_www = stripslashes(get_option('mlcf_field_www')); $mlcf_field_message = stripslashes(get_option('mlcf_field_message')); $mlcf_field_required = stripslashes(get_option('mlcf_field_required')); $mlcf_field_submit = stripslashes(get_option('mlcf_field_submit')); if ( get_option('mlcf_recaptcha_enabled') ){ $mlcf_recaptcha_enabled = ' value="true" checked="checked"'; $mlcf_recaptcha_class_enabled ='mlcf_recaptcha_class_enabled'; $mlcf_recaptcha_error_msg =get_option('mlcf_recaptcha_error_msg'); }else{ $mlcf_recaptcha_enabled = 'value="false"'; $mlcf_recaptcha_input_enabled = ' disabled="disabled" '; $mlcf_recaptcha_class_enabled = 'mlcf_recaptcha_class_enabled disabled'; } $mlcf_recaptcha_private = stripslashes(get_option('mlcf_recaptcha_private')); $mlcf_recaptcha_public = stripslashes(get_option('mlcf_recaptcha_public')); $mlcf_delete_options = get_option('mlcf_delete_options') ? ' value="true" checked="checked"' : 'value="false"'; ?>







<p style="[your CSS here]"> </p>.', 'mlcf') ?>
<p style="color:red;">Please fill in the required fields.</p>.', 'mlcf') ?>


/>

You have to sign up a free Key at recaptcha.


value="" size="40" />


value="" size="40" />


value="" size="40" />

/>


Add the following in any post or page using Editors HTML-View:

<!--contact form-->

You may include may some styles like the following in the CSS of your theme, but it should work with standard Stylesheets too.

.contactform{ 
  height: 34em;
  width: 400px;
  /* border: 3px dotted green; */
  margin: 2em;
}
.contactform input, .contactform textarea{ 
  width: 300px;
  margin-bottom: 0.5em;
  border: 2px solid #3e3f3f;
}

div.contactleft{ 
  /* border: 1px dotted blue; */
  width: 8em;
  float: left;
  text-align: right;
}
div.contactright{ 
  /* border: 1px dotted yellow; */
}
.contacrequired{
  text-align: left;
  margin-left: 10em;
}
.contactsubmit{
width: 5em !important;
float: left;
margin-left: 8em;
margin-top: 1em;
}
.mailsend{
color: green;
}
.error{
color: red;
}