Changeset 340708
- Timestamp:
- 02/04/2011 03:41:29 PM (15 years ago)
- Location:
- contact-dialog/trunk
- Files:
-
- 4 edited
-
contact-dialog.php (modified) (1 diff)
-
lib/nscontactdialog.class.php (modified) (2 diffs)
-
lib/nscontactdialogadmin.class.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
contact-dialog/trunk/contact-dialog.php
r336425 r340708 5 5 Description: An AJAX-driven contact form in a modal dialog box. 6 6 Author: James Lafferty 7 Version: 0.4. 27 Version: 0.4.4 8 8 Author URI: https://github.com/kalchas 9 9 License: GPL2 -
contact-dialog/trunk/lib/nscontactdialog.class.php
r334000 r340708 100 100 101 101 $options['contact_form'] = NSContactDialogAdmin::get_contact_form(); 102 103 $options['url'] = get_bloginfo('wpurl'); 102 104 103 105 echo 'jQuery(function($){$(document).nsContactDialog(' . json_encode($options) . ');})'; … … 146 148 147 149 wp_enqueue_script('jquery-validate', self::URL . 'js/jquery.validate.min.js', array('jquery'), false); 148 149 wp_enqueue_script('jquery-nscontact-dialog', self::URL . 'js/jquery.ns-contactdialog.js', array('jquery-validate', 'jquery-ui-custom'), false); 150 151 wp_enqueue_script('recaptcha', 'http://www.google.com/recaptcha/api/js/recaptcha_ajax.js', array(), false); 152 153 wp_enqueue_script('jquery-nscontact-dialog', self::URL . 'js/jquery.ns-contactdialog.js', array('jquery-validate', 'jquery-ui-custom', 'recaptcha'), false); 150 154 151 155 wp_enqueue_script('jquery-nscontact-jsonp', get_bloginfo('wpurl') . '?nscontactdialog=' . wp_create_nonce(basename(__FILE__)) . '&nscdaction=add-dialogs', array('jquery-nscontact-dialog'), true); -
contact-dialog/trunk/lib/nscontactdialogadmin.class.php
r333137 r340708 143 143 $contact_form .= '<p><label>' . __('Message', 'contact-dialog') . '<br /><textarea class="message-body" name="message-body"></textarea></label></p>'; 144 144 145 $contact_form .= '<div id="recaptcha"></div>'; 146 145 147 $contact_form .= '<p><input class="button" type="submit" value="' . __('Send Message', 'contact-dialog') . '" /></p>'; 146 148 -
contact-dialog/trunk/readme.txt
r336425 r340708 34 34 35 35 == Changelog == 36 = 0.4.4 = 37 * Fixed bug preventing the display of the Recaptcha in IE. Thank you to [welshylad](http://wordpress.org/support/profile/welshylad) for pointing this out. 38 39 * Fixed bug that was preventing proper submission on subdirectory installs of WordPress. Thank you to [jeptech](http://wordpress.org/support/profile/jeptech) for finding this. 40 36 41 = 0.4.2 = 37 42 * Added additional French translation on admin side. … … 54 59 55 60 == Upgrade Notice == 61 = 0.4.4 = 62 * Fixes serious bugs for Internet Explorer and subdirectory installs of WordPress 63 56 64 = 0.4.2 = 57 65 * This updates some fields that previously were not being translated into French.
Note: See TracChangeset
for help on using the changeset viewer.