Changeset 527378
- Timestamp:
- 04/04/2012 04:41:08 PM (14 years ago)
- Location:
- slick-contact-forms
- Files:
-
- 33 added
- 4 edited
-
tags/1.3.5 (added)
-
tags/1.3.5/css (added)
-
tags/1.3.5/css/admin.css (added)
-
tags/1.3.5/css/form.css (added)
-
tags/1.3.5/css/images (added)
-
tags/1.3.5/css/images/bg_input.png (added)
-
tags/1.3.5/css/images/dc_icon32.png (added)
-
tags/1.3.5/dcwp_slick_contact.php (added)
-
tags/1.3.5/inc (added)
-
tags/1.3.5/inc/dcwp_admin.php (added)
-
tags/1.3.5/inc/dcwp_plugin_admin.php (added)
-
tags/1.3.5/js (added)
-
tags/1.3.5/js/jquery.easing.js (added)
-
tags/1.3.5/js/jquery.hoverIntent.minified.js (added)
-
tags/1.3.5/js/jquery.slick.contact.1.3.2.js (added)
-
tags/1.3.5/readme.txt (added)
-
tags/1.3.5/screenshot-1.png (added)
-
tags/1.3.5/screenshot-2.png (added)
-
tags/1.3.5/skin.php (added)
-
tags/1.3.5/skins (added)
-
tags/1.3.5/skins/black.css (added)
-
tags/1.3.5/skins/dark_grey.css (added)
-
tags/1.3.5/skins/grey.css (added)
-
tags/1.3.5/skins/images (added)
-
tags/1.3.5/skins/images/bg_input.png (added)
-
tags/1.3.5/skins/images/loading_black.gif (added)
-
tags/1.3.5/skins/images/loading_white.gif (added)
-
tags/1.3.5/skins/images/tab_black.png (added)
-
tags/1.3.5/skins/images/tab_dark_grey.png (added)
-
tags/1.3.5/skins/images/tab_grey.png (added)
-
tags/1.3.5/skins/images/tab_white.png (added)
-
tags/1.3.5/skins/white.css (added)
-
tags/1.3.5/slick_mail.php (added)
-
trunk/dcwp_slick_contact.php (modified) (1 diff)
-
trunk/inc/dcwp_admin.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/slick_mail.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
slick-contact-forms/trunk/dcwp_slick_contact.php
r482070 r527378 6 6 Description: Create quick and easy floating or slide out contact forms with animated validation error messages. 7 7 Author: Lee Chestnutt 8 Version: 1.3. 48 Version: 1.3.5 9 9 Author URI: http://www.designchemical.com/blog/ 10 Copyright 201 1Lee Chestnutt10 Copyright 2012 Lee Chestnutt 11 11 */ 12 12 -
slick-contact-forms/trunk/inc/dcwp_admin.php
r482070 r527378 659 659 660 660 $options = get_option('dcscf_options'); 661 $ajaxSubmit = $options['redirect'] == 'ajax' ? 'true' : 'false' ;661 $ajaxSubmit = $options['redirect'] == 'ajax' || $options['redirect'] == '' ? 'true' : 'false' ; 662 662 $animate = 'true'; 663 663 -
slick-contact-forms/trunk/readme.txt
r482070 r527378 4 4 Tags: jquery, flyout, drop down, floating, sliding, contact forms, validation, animated, widget 5 5 Requires at least: 3.0 6 Tested up to: 3. 217 Stable tag: 1.3. 46 Tested up to: 3.3.1 7 Stable tag: 1.3.5 8 8 9 9 Slick contact forms allows you quickly and easily create contact forms for any area on your Wordpress site using widgets … … 133 133 == Changelog == 134 134 135 = 1.3.5 = 136 * Edit: Edit slick_mail.php filter function name 137 135 138 = 1.3.4 = 136 139 * Fixed: Bug with submit button class name -
slick-contact-forms/trunk/slick_mail.php
r463130 r527378 119 119 global $redirect, $refSuccess, $refError; 120 120 // filter 121 $name = filter($name);122 $subject = filter($subject);121 $name = dc_filter($name); 122 $subject = dc_filter($subject); 123 123 $url = dc_jqslickcontact_widget::get_dcscf_default('include_url') ? "Origin Page: ".$_SERVER['HTTP_REFERER'] : ""; 124 124 $ip = dc_jqslickcontact_widget::get_dcscf_default('include_ip') ? "IP Address: ".$_SERVER["REMOTE_ADDR"] : ""; … … 134 134 135 135 $emailTo .= $i > 0 ? ',' : '' ; 136 $emailTo .= filter($email);136 $emailTo .= dc_filter($email); 137 137 138 138 // Validate return email & inform admin … … 150 150 // Validate reply to email 151 151 if($replyTo != ''){ 152 $replyTo = filter($replyTo);152 $replyTo = dc_filter($replyTo); 153 153 if (!validateSlickEmail($replyTo)) { 154 154 $replyTo = ''; … … 192 192 193 193 // Remove any un-safe values to prevent email injection 194 function filter($value) {194 function dc_filter($value) { 195 195 $pattern = array("/\n/", "/\r/", "/content-type:/i", "/to:/i", "/from:/i", "/cc:/i"); 196 196 $value = preg_replace($pattern, "", $value);
Note: See TracChangeset
for help on using the changeset viewer.