Changeset 513386
- Timestamp:
- 03/02/2012 08:29:13 AM (14 years ago)
- Location:
- ajax-contact-me
- Files:
-
- 2 edited
- 9 copied
-
tags/1.31 (copied) (copied from ajax-contact-me/trunk)
-
tags/1.31/contact-me.php (copied) (copied from ajax-contact-me/trunk/contact-me.php) (4 diffs)
-
tags/1.31/css (copied) (copied from ajax-contact-me/trunk/css)
-
tags/1.31/images (copied) (copied from ajax-contact-me/trunk/images)
-
tags/1.31/index.html (copied) (copied from ajax-contact-me/trunk/index.html)
-
tags/1.31/languages (copied) (copied from ajax-contact-me/trunk/languages)
-
tags/1.31/languages/contactme-sl_SI.mo (copied) (copied from ajax-contact-me/trunk/languages/contactme-sl_SI.mo)
-
tags/1.31/languages/contactme-sl_SI.po (copied) (copied from ajax-contact-me/trunk/languages/contactme-sl_SI.po)
-
tags/1.31/readme.txt (copied) (copied from ajax-contact-me/trunk/readme.txt) (2 diffs)
-
trunk/contact-me.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ajax-contact-me/tags/1.31/contact-me.php
r508245 r513386 4 4 Plugin URI: http://www.icprojects.net/ajax-contact-form.html 5 5 Description: Light AJAX-ed contact form. Use shortcode [contactme] to add the form to posts/pages. 6 Version: 1.3 06 Version: 1.31 7 7 Author: Ivan Churakov 8 8 Author URI: http://www.icprojects.net/about/ 9 9 */ 10 define('CM_VERSION', 1.3 0);10 define('CM_VERSION', 1.31); 11 11 wp_enqueue_script("jquery"); 12 12 … … 255 255 <script type="text/javascript"> 256 256 jQuery(document).ready(function(){ 257 jQuery("# contactform'.$suffix.'").submit(function(){257 jQuery("#submit'.$suffix.'").click(function(){ 258 258 var action = "'.get_bloginfo("wpurl").'/wp-admin/admin-ajax.php"; 259 259 jQuery("#submit'.$suffix.'").attr("disabled","disabled").after("<img src=\''.plugins_url('/images/ajax-loader.gif', __FILE__).'\' class=\'contactme_loader\' width=\'16\' height=\'16\'/>"); … … 294 294 <br /> 295 295 <input type="hidden" name="action" id="action'.$suffix.'" value="'.time().'"> 296 <input type=" submit" class="contactme_submit" id="submit'.$suffix.'" value="'.__('Submit', 'contactme').'" />296 <input type="button" class="contactme_submit" id="submit'.$suffix.'" value="'.__('Submit', 'contactme').'" /> 297 297 </fieldset> 298 298 </form> … … 343 343 $msg = __('You have been contacted by', 'contactme').' '.$name.'. '.__('The message is as follows.', 'contactme').PHP_EOL.PHP_EOL; 344 344 $msg .= $comments.PHP_EOL.PHP_EOL; 345 $msg .= __('You can contact', 'contactme').' '.$name.' '.__('via email', 'contactme').' '.$email.'.'; 345 $msg .= __('You can contact', 'contactme').' '.$name.' '.__('via email', 'contactme').' '.$email.'.'.PHP_EOL; 346 $msg .= __('Sent via', 'contactme').' '.$_SERVER['HTTP_REFERER']; 346 347 $msg = wordwrap($msg, 70); 347 $mail_headers .= "From: ".$name." <".$ email.">".PHP_EOL;348 $mail_headers .= "From: ".$name." <".$this->options['from_email'].">".PHP_EOL; 348 349 $mail_headers .= "Reply-To: ".$email.PHP_EOL; 349 350 $mail_headers .= "MIME-Version: 1.0".PHP_EOL; -
ajax-contact-me/tags/1.31/readme.txt
r508290 r513386 9 9 Requires at least: 3.0 10 10 Tested up to: 3.3.1 11 Stable tag: 1.3 011 Stable tag: 1.31 12 12 13 13 Contact Me is an elegant and light AJAX contact form. Activate the plugin and insert simple short code [contactme] into posts/pages. … … 41 41 == Changelog == 42 42 43 = 1.31 = 44 * Mail headers updated. 45 * Added URL of the page where the form was submitted from. 46 43 47 = 1.30 = 44 48 * Slovenian translation added. -
ajax-contact-me/trunk/contact-me.php
r508245 r513386 4 4 Plugin URI: http://www.icprojects.net/ajax-contact-form.html 5 5 Description: Light AJAX-ed contact form. Use shortcode [contactme] to add the form to posts/pages. 6 Version: 1.3 06 Version: 1.31 7 7 Author: Ivan Churakov 8 8 Author URI: http://www.icprojects.net/about/ 9 9 */ 10 define('CM_VERSION', 1.3 0);10 define('CM_VERSION', 1.31); 11 11 wp_enqueue_script("jquery"); 12 12 … … 255 255 <script type="text/javascript"> 256 256 jQuery(document).ready(function(){ 257 jQuery("# contactform'.$suffix.'").submit(function(){257 jQuery("#submit'.$suffix.'").click(function(){ 258 258 var action = "'.get_bloginfo("wpurl").'/wp-admin/admin-ajax.php"; 259 259 jQuery("#submit'.$suffix.'").attr("disabled","disabled").after("<img src=\''.plugins_url('/images/ajax-loader.gif', __FILE__).'\' class=\'contactme_loader\' width=\'16\' height=\'16\'/>"); … … 294 294 <br /> 295 295 <input type="hidden" name="action" id="action'.$suffix.'" value="'.time().'"> 296 <input type=" submit" class="contactme_submit" id="submit'.$suffix.'" value="'.__('Submit', 'contactme').'" />296 <input type="button" class="contactme_submit" id="submit'.$suffix.'" value="'.__('Submit', 'contactme').'" /> 297 297 </fieldset> 298 298 </form> … … 343 343 $msg = __('You have been contacted by', 'contactme').' '.$name.'. '.__('The message is as follows.', 'contactme').PHP_EOL.PHP_EOL; 344 344 $msg .= $comments.PHP_EOL.PHP_EOL; 345 $msg .= __('You can contact', 'contactme').' '.$name.' '.__('via email', 'contactme').' '.$email.'.'; 345 $msg .= __('You can contact', 'contactme').' '.$name.' '.__('via email', 'contactme').' '.$email.'.'.PHP_EOL; 346 $msg .= __('Sent via', 'contactme').' '.$_SERVER['HTTP_REFERER']; 346 347 $msg = wordwrap($msg, 70); 347 $mail_headers .= "From: ".$name." <".$ email.">".PHP_EOL;348 $mail_headers .= "From: ".$name." <".$this->options['from_email'].">".PHP_EOL; 348 349 $mail_headers .= "Reply-To: ".$email.PHP_EOL; 349 350 $mail_headers .= "MIME-Version: 1.0".PHP_EOL; -
ajax-contact-me/trunk/readme.txt
r508290 r513386 9 9 Requires at least: 3.0 10 10 Tested up to: 3.3.1 11 Stable tag: 1.3 011 Stable tag: 1.31 12 12 13 13 Contact Me is an elegant and light AJAX contact form. Activate the plugin and insert simple short code [contactme] into posts/pages. … … 41 41 == Changelog == 42 42 43 = 1.31 = 44 * Mail headers updated. 45 * Added URL of the page where the form was submitted from. 46 43 47 = 1.30 = 44 48 * Slovenian translation added.
Note: See TracChangeset
for help on using the changeset viewer.