Changeset 361926
- Timestamp:
- 03/19/2011 01:12:00 AM (15 years ago)
- Location:
- easy-contact-form-lite/trunk
- Files:
-
- 4 edited
-
define.php (modified) (1 diff)
-
easy-contact-form-lite.php (modified) (1 diff)
-
easy-form.class.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-contact-form-lite/trunk/define.php
r361327 r361926 8 8 define('EASYFORM_PLUGIN_NAME','Easy Contact Form Lite'); 9 9 10 $merlic_easyform_version = '1.0. 5';10 $merlic_easyform_version = '1.0.6'; 11 11 $table_name = $wpdb->prefix."easyform"; 12 12 $settings_table_name = $wpdb->prefix."easyform_settings"; -
easy-contact-form-lite/trunk/easy-contact-form-lite.php
r361327 r361926 4 4 Plugin URI: http://wordpress.phpanswer.com/wpplugins/easy-contact-form/ 5 5 Description: This plugin allows you to add custom contact forms to your site. Choose which fields you want, which ones are required and if you want a recaptcha validation.<br />Automatic form validation is provided. Just add the shortcode to the page or post where you want to display the form.<br />In the backend you can add/edit/delete forms. For each form that you create you decide who will receive the email. 6 Version: 1.0. 56 Version: 1.0.6 7 7 Author: Cristian Merli 8 8 Author URI: http://wordpress.phpanswer.com -
easy-contact-form-lite/trunk/easy-form.class.php
r361327 r361926 74 74 "); 75 75 76 $message = ' 77 <style type="text/css"> 78 #message { border: none; } 79 #message th { border: none; padding: 5px 10px 5px 0; text-align: right; vertical-align: top;} 80 #message td { border: none; padding: 5px 10px 5px 0; vertical-align: top; } 81 </style> 82 '; 83 $message .= '<table id="message">'; 84 $message .= '<tr><th>IP Address:</th><td>'.self::get_real_ip_address().'</td></tr>'; 76 $message .= '<p>--- IP Address ---<br />'.self::get_real_ip_address().'</p><br />'; 85 77 86 78 foreach ($form_fields as $field) { 87 79 if ($field->type != 'submit') { 88 80 if ( empty($field->label)) 89 $message .= '< tr><th>'.ucfirst($field->name).':</th><td>'.$_POST['merlic_easyform_'.$field->name].'</td></tr>';81 $message .= '<p>--- '.ucfirst($field->name).' ---<br />'.$value.'</p><br />'; 90 82 else 91 $message .= '< tr><th>'.ucfirst($field->label).':</th><td>'.$_POST['merlic_easyform_'.$field->name].'</td></tr>';83 $message .= '<p>--- '.ucfirst($field->label).' ---<br />'.$value.'</p><br />'; 92 84 } 93 85 } 94 $message .= '</table>';95 86 96 87 $sent = self::send_email(array(get_bloginfo('admin_email')=>get_bloginfo('name')), $form[0]->destinatary, '['.get_bloginfo('name').'] Submitted Form: '.$form[0]->name, $message); -
easy-contact-form-lite/trunk/readme.txt
r361327 r361926 5 5 Requires at least: 3.1 6 6 Tested up to: 3.1 7 Stable tag: 1.0. 57 Stable tag: 1.0.6 8 8 9 9 Add a contact form on any page. Customizable and with validation. … … 44 44 == Changelog == 45 45 46 = 1.0.6 = 47 - Email using plain text to avoid any issues 48 46 49 = 1.0.5 = 47 50 - Bug fix
Note: See TracChangeset
for help on using the changeset viewer.