Version Description
- Fixed: Error for use of array_key_exists function with invalid first argument.
- Fixed: Adding unnecessary rewrite rules.
- Fixed: "Screen Options" doesn't appear on each contact form edit screen.
- Change the comment_type value sent to Akismet from 'contactform7' to 'contact-form' following their blog post.
- Introduce wpcf7_add_meta_boxes function and action with the same name. This makes it easier to add custom meta boxes to the edit screen.
- Pass meta informations of each form submission (e.g. client's IP address) to Flamingo.
- The jQuery Form Plugin (jquery.form.js) has been updated to 3.14 and compressed with YUI compressor.
- Translation for Basque has been created.
- Translations for German, Italian, and Polish have been updated.
Download this release
Release Info
Developer | takayukister |
Plugin | Contact Form 7 |
Version | 3.2.1 |
Comparing to | |
See all releases |
Code changes from version 3.2 to 3.2.1
- admin/admin.php +48 -15
- admin/edit-contact-form.php +8 -29
- admin/js/scripts.js +1 -1
- includes/capabilities.php +1 -1
- includes/classes.php +3 -1
- includes/controller.php +1 -1
- includes/functions.php +1 -0
- includes/js/jquery.form.dev.js +24 -11
- includes/js/jquery.form.js +2 -2
- languages/wpcf7-de_DE.mo +0 -0
- languages/wpcf7-eu.mo +0 -0
- languages/wpcf7-it_IT.mo +0 -0
- languages/wpcf7-ja.mo +0 -0
- languages/wpcf7-pl_PL.mo +0 -0
- languages/wpcf7.pot +211 -207
- modules/acceptance.php +3 -0
- modules/akismet.php +3 -1
- modules/captcha.php +3 -0
- modules/checkbox.php +3 -0
- modules/file.php +3 -0
- modules/flamingo.php +13 -0
- modules/quiz.php +3 -0
- modules/select.php +3 -0
- modules/submit.php +3 -0
- modules/text.php +3 -0
- modules/textarea.php +3 -0
- readme.txt +16 -4
- wp-contact-form-7.php +2 -2
admin/admin.php
CHANGED
@@ -29,6 +29,8 @@ function wpcf7_set_screen_options( $result, $option, $value ) {
|
|
29 |
}
|
30 |
|
31 |
function wpcf7_load_contact_form_admin() {
|
|
|
|
|
32 |
$action = wpcf7_current_action();
|
33 |
|
34 |
if ( 'save' == $action ) {
|
@@ -168,7 +170,20 @@ function wpcf7_load_contact_form_admin() {
|
|
168 |
exit();
|
169 |
}
|
170 |
|
171 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
$current_screen = get_current_screen();
|
173 |
|
174 |
if ( ! class_exists( 'WPCF7_Contact_Form_List_Table' ) )
|
@@ -182,6 +197,8 @@ function wpcf7_load_contact_form_admin() {
|
|
182 |
'default' => 20,
|
183 |
'option' => 'cfseven_contact_forms_per_page' ) );
|
184 |
}
|
|
|
|
|
185 |
}
|
186 |
|
187 |
add_action( 'admin_enqueue_scripts', 'wpcf7_admin_enqueue_scripts' );
|
@@ -209,7 +226,10 @@ function wpcf7_admin_enqueue_scripts( $hook_suffix ) {
|
|
209 |
array( 'jquery', 'thickbox', 'postbox', 'wpcf7-admin-taggenerator' ),
|
210 |
WPCF7_VERSION, true );
|
211 |
|
|
|
|
|
212 |
wp_localize_script( 'wpcf7-admin', '_wpcf7', array(
|
|
|
213 |
'generateTag' => __( 'Generate Tag', 'wpcf7' ),
|
214 |
'pluginUrl' => wpcf7_plugin_url(),
|
215 |
'tagGenerators' => wpcf7_tag_generators() ) );
|
@@ -244,22 +264,12 @@ _wpcf7.tagGenerators = <?php echo json_encode( $taggenerators ) ?>;
|
|
244 |
}
|
245 |
|
246 |
function wpcf7_admin_management_page() {
|
247 |
-
$
|
248 |
-
$unsaved = false;
|
249 |
|
250 |
-
if (
|
251 |
-
$
|
|
|
252 |
|
253 |
-
if ( 'new' == $_GET['post'] && current_user_can( 'wpcf7_edit_contact_forms' ) ) {
|
254 |
-
$unsaved = true;
|
255 |
-
$post_id = -1;
|
256 |
-
$post = wpcf7_get_contact_form_default_pack(
|
257 |
-
array( 'locale' => ( isset( $_GET['locale'] ) ? $_GET['locale'] : '' ) ) );
|
258 |
-
} elseif ( $post = wpcf7_contact_form( $_GET['post'] ) ) {
|
259 |
-
$post_id = (int) $_GET['post'];
|
260 |
-
}
|
261 |
-
|
262 |
-
if ( $post ) {
|
263 |
require_once WPCF7_PLUGIN_DIR . '/admin/includes/meta-boxes.php';
|
264 |
require_once WPCF7_PLUGIN_DIR . '/admin/edit-contact-form.php';
|
265 |
return;
|
@@ -326,6 +336,29 @@ function wpcf7_admin_lang_select_modal() {
|
|
326 |
<?php
|
327 |
}
|
328 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
/* Misc */
|
330 |
|
331 |
add_action( 'wpcf7_admin_notices', 'wpcf7_admin_before_subsubsub' );
|
29 |
}
|
30 |
|
31 |
function wpcf7_load_contact_form_admin() {
|
32 |
+
global $wpcf7_contact_form;
|
33 |
+
|
34 |
$action = wpcf7_current_action();
|
35 |
|
36 |
if ( 'save' == $action ) {
|
170 |
exit();
|
171 |
}
|
172 |
|
173 |
+
$_GET['post'] = isset( $_GET['post'] ) ? $_GET['post'] : '';
|
174 |
+
|
175 |
+
$post = null;
|
176 |
+
|
177 |
+
if ( 'new' == $_GET['post'] && current_user_can( 'wpcf7_edit_contact_forms' ) )
|
178 |
+
$post = wpcf7_get_contact_form_default_pack(
|
179 |
+
array( 'locale' => ( isset( $_GET['locale'] ) ? $_GET['locale'] : '' ) ) );
|
180 |
+
elseif ( ! empty( $_GET['post'] ) )
|
181 |
+
$post = wpcf7_contact_form( $_GET['post'] );
|
182 |
+
|
183 |
+
if ( $post && current_user_can( 'wpcf7_edit_contact_form', $post->id ) ) {
|
184 |
+
wpcf7_add_meta_boxes( $post->id );
|
185 |
+
|
186 |
+
} else {
|
187 |
$current_screen = get_current_screen();
|
188 |
|
189 |
if ( ! class_exists( 'WPCF7_Contact_Form_List_Table' ) )
|
197 |
'default' => 20,
|
198 |
'option' => 'cfseven_contact_forms_per_page' ) );
|
199 |
}
|
200 |
+
|
201 |
+
$wpcf7_contact_form = $post;
|
202 |
}
|
203 |
|
204 |
add_action( 'admin_enqueue_scripts', 'wpcf7_admin_enqueue_scripts' );
|
226 |
array( 'jquery', 'thickbox', 'postbox', 'wpcf7-admin-taggenerator' ),
|
227 |
WPCF7_VERSION, true );
|
228 |
|
229 |
+
$current_screen = get_current_screen();
|
230 |
+
|
231 |
wp_localize_script( 'wpcf7-admin', '_wpcf7', array(
|
232 |
+
'screenId' => $current_screen->id,
|
233 |
'generateTag' => __( 'Generate Tag', 'wpcf7' ),
|
234 |
'pluginUrl' => wpcf7_plugin_url(),
|
235 |
'tagGenerators' => wpcf7_tag_generators() ) );
|
264 |
}
|
265 |
|
266 |
function wpcf7_admin_management_page() {
|
267 |
+
global $wpcf7_contact_form;
|
|
|
268 |
|
269 |
+
if ( $wpcf7_contact_form ) {
|
270 |
+
$post =& $wpcf7_contact_form;
|
271 |
+
$post_id = $post->initial ? -1 : $post->id;
|
272 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
require_once WPCF7_PLUGIN_DIR . '/admin/includes/meta-boxes.php';
|
274 |
require_once WPCF7_PLUGIN_DIR . '/admin/edit-contact-form.php';
|
275 |
return;
|
336 |
<?php
|
337 |
}
|
338 |
|
339 |
+
function wpcf7_add_meta_boxes( $post_id ) {
|
340 |
+
add_meta_box( 'formdiv', __( 'Form', 'wpcf7' ),
|
341 |
+
'wpcf7_form_meta_box', null, 'form', 'core' );
|
342 |
+
|
343 |
+
add_meta_box( 'maildiv', __( 'Mail', 'wpcf7' ),
|
344 |
+
'wpcf7_mail_meta_box', null, 'mail', 'core' );
|
345 |
+
|
346 |
+
add_meta_box( 'mail2div', __( 'Mail (2)', 'wpcf7' ),
|
347 |
+
'wpcf7_mail_meta_box', null, 'mail_2', 'core',
|
348 |
+
array(
|
349 |
+
'id' => 'wpcf7-mail-2',
|
350 |
+
'name' => 'mail_2',
|
351 |
+
'use' => __( 'Use mail (2)', 'wpcf7' ) ) );
|
352 |
+
|
353 |
+
add_meta_box( 'messagesdiv', __( 'Messages', 'wpcf7' ),
|
354 |
+
'wpcf7_messages_meta_box', null, 'messages', 'core' );
|
355 |
+
|
356 |
+
add_meta_box( 'additionalsettingsdiv', __( 'Additional Settings', 'wpcf7' ),
|
357 |
+
'wpcf7_additional_settings_meta_box', null, 'additional_settings', 'core' );
|
358 |
+
|
359 |
+
do_action( 'wpcf7_add_meta_boxes', $post_id );
|
360 |
+
}
|
361 |
+
|
362 |
/* Misc */
|
363 |
|
364 |
add_action( 'wpcf7_admin_notices', 'wpcf7_admin_before_subsubsub' );
|
admin/edit-contact-form.php
CHANGED
@@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) )
|
|
11 |
<h2><?php
|
12 |
echo esc_html( __( 'Contact Form 7', 'wpcf7' ) );
|
13 |
|
14 |
-
if ( ! $
|
15 |
echo ' <a href="#TB_inline?height=300&width=400&inlineId=wpcf7-lang-select-modal" class="add-new-h2 thickbox">' . esc_html( __( 'Add New', 'wpcf7' ) ) . '</a>';
|
16 |
}
|
17 |
?></h2>
|
@@ -41,7 +41,7 @@ if ( $post ) :
|
|
41 |
<div id="titlediv">
|
42 |
<input type="text" id="wpcf7-title" name="wpcf7-title" size="40" value="<?php echo esc_attr( $post->title ); ?>"<?php echo $disabled; ?> />
|
43 |
|
44 |
-
<?php if ( ! $
|
45 |
<p class="tagcode">
|
46 |
<?php echo esc_html( __( "Copy this code and paste it into your post, page or text widget content.", 'wpcf7' ) ); ?><br />
|
47 |
|
@@ -61,7 +61,7 @@ if ( $post ) :
|
|
61 |
</div>
|
62 |
<?php endif; ?>
|
63 |
|
64 |
-
<?php if ( current_user_can( 'wpcf7_edit_contact_form', $post_id ) && ! $
|
65 |
<div class="actions-link">
|
66 |
<?php $copy_nonce = wp_create_nonce( 'wpcf7-copy-contact-form_' . $post_id ); ?>
|
67 |
<input type="submit" name="wpcf7-copy" class="copy" value="<?php echo esc_attr( __( 'Copy', 'wpcf7' ) ); ?>"
|
@@ -79,46 +79,25 @@ if ( $post ) :
|
|
79 |
|
80 |
<?php
|
81 |
|
82 |
-
if ( current_user_can( 'wpcf7_edit_contact_form', $post_id ) ) {
|
83 |
-
add_meta_box( 'formdiv', __( 'Form', 'wpcf7' ),
|
84 |
-
'wpcf7_form_meta_box', 'cfseven', 'form', 'core' );
|
85 |
-
|
86 |
-
add_meta_box( 'maildiv', __( 'Mail', 'wpcf7' ),
|
87 |
-
'wpcf7_mail_meta_box', 'cfseven', 'mail', 'core' );
|
88 |
-
|
89 |
-
add_meta_box( 'mail2div', __( 'Mail (2)', 'wpcf7' ),
|
90 |
-
'wpcf7_mail_meta_box', 'cfseven', 'mail_2', 'core',
|
91 |
-
array(
|
92 |
-
'id' => 'wpcf7-mail-2',
|
93 |
-
'name' => 'mail_2',
|
94 |
-
'use' => __( 'Use mail (2)', 'wpcf7' ) ) );
|
95 |
-
|
96 |
-
add_meta_box( 'messagesdiv', __( 'Messages', 'wpcf7' ),
|
97 |
-
'wpcf7_messages_meta_box', 'cfseven', 'messages', 'core' );
|
98 |
-
|
99 |
-
add_meta_box( 'additionalsettingsdiv', __( 'Additional Settings', 'wpcf7' ),
|
100 |
-
'wpcf7_additional_settings_meta_box', 'cfseven', 'additional_settings', 'core' );
|
101 |
-
}
|
102 |
-
|
103 |
do_action_ref_array( 'wpcf7_admin_after_general_settings', array( &$post ) );
|
104 |
|
105 |
-
do_meta_boxes(
|
106 |
|
107 |
do_action_ref_array( 'wpcf7_admin_after_form', array( &$post ) );
|
108 |
|
109 |
-
do_meta_boxes(
|
110 |
|
111 |
do_action_ref_array( 'wpcf7_admin_after_mail', array( &$post ) );
|
112 |
|
113 |
-
do_meta_boxes(
|
114 |
|
115 |
do_action_ref_array( 'wpcf7_admin_after_mail_2', array( &$post ) );
|
116 |
|
117 |
-
do_meta_boxes(
|
118 |
|
119 |
do_action_ref_array( 'wpcf7_admin_after_messages', array( &$post ) );
|
120 |
|
121 |
-
do_meta_boxes(
|
122 |
|
123 |
do_action_ref_array( 'wpcf7_admin_after_additional_settings', array( &$post ) );
|
124 |
|
11 |
<h2><?php
|
12 |
echo esc_html( __( 'Contact Form 7', 'wpcf7' ) );
|
13 |
|
14 |
+
if ( ! $post->initial ) {
|
15 |
echo ' <a href="#TB_inline?height=300&width=400&inlineId=wpcf7-lang-select-modal" class="add-new-h2 thickbox">' . esc_html( __( 'Add New', 'wpcf7' ) ) . '</a>';
|
16 |
}
|
17 |
?></h2>
|
41 |
<div id="titlediv">
|
42 |
<input type="text" id="wpcf7-title" name="wpcf7-title" size="40" value="<?php echo esc_attr( $post->title ); ?>"<?php echo $disabled; ?> />
|
43 |
|
44 |
+
<?php if ( ! $post->initial ) : ?>
|
45 |
<p class="tagcode">
|
46 |
<?php echo esc_html( __( "Copy this code and paste it into your post, page or text widget content.", 'wpcf7' ) ); ?><br />
|
47 |
|
61 |
</div>
|
62 |
<?php endif; ?>
|
63 |
|
64 |
+
<?php if ( current_user_can( 'wpcf7_edit_contact_form', $post_id ) && ! $post->initial ) : ?>
|
65 |
<div class="actions-link">
|
66 |
<?php $copy_nonce = wp_create_nonce( 'wpcf7-copy-contact-form_' . $post_id ); ?>
|
67 |
<input type="submit" name="wpcf7-copy" class="copy" value="<?php echo esc_attr( __( 'Copy', 'wpcf7' ) ); ?>"
|
79 |
|
80 |
<?php
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
do_action_ref_array( 'wpcf7_admin_after_general_settings', array( &$post ) );
|
83 |
|
84 |
+
do_meta_boxes( null, 'form', $post );
|
85 |
|
86 |
do_action_ref_array( 'wpcf7_admin_after_form', array( &$post ) );
|
87 |
|
88 |
+
do_meta_boxes( null, 'mail', $post );
|
89 |
|
90 |
do_action_ref_array( 'wpcf7_admin_after_mail', array( &$post ) );
|
91 |
|
92 |
+
do_meta_boxes( null, 'mail_2', $post );
|
93 |
|
94 |
do_action_ref_array( 'wpcf7_admin_after_mail_2', array( &$post ) );
|
95 |
|
96 |
+
do_meta_boxes( null, 'messages', $post );
|
97 |
|
98 |
do_action_ref_array( 'wpcf7_admin_after_messages', array( &$post ) );
|
99 |
|
100 |
+
do_meta_boxes( null, 'additional_settings', $post );
|
101 |
|
102 |
do_action_ref_array( 'wpcf7_admin_after_additional_settings', array( &$post ) );
|
103 |
|
admin/js/scripts.js
CHANGED
@@ -47,7 +47,7 @@
|
|
47 |
});
|
48 |
});
|
49 |
|
50 |
-
postboxes.add_postbox_toggles(
|
51 |
|
52 |
} catch (e) {
|
53 |
}
|
47 |
});
|
48 |
});
|
49 |
|
50 |
+
postboxes.add_postbox_toggles(_wpcf7.screenId);
|
51 |
|
52 |
} catch (e) {
|
53 |
}
|
includes/capabilities.php
CHANGED
@@ -11,7 +11,7 @@ function wpcf7_map_meta_cap( $caps, $cap, $user_id, $args ) {
|
|
11 |
|
12 |
$caps = array_diff( $caps, array_keys( $meta_caps ) );
|
13 |
|
14 |
-
if (
|
15 |
$caps[] = $meta_caps[$cap];
|
16 |
|
17 |
return $caps;
|
11 |
|
12 |
$caps = array_diff( $caps, array_keys( $meta_caps ) );
|
13 |
|
14 |
+
if ( isset( $meta_caps[$cap] ) )
|
15 |
$caps[] = $meta_caps[$cap];
|
16 |
|
17 |
return $caps;
|
includes/classes.php
CHANGED
@@ -25,7 +25,9 @@ class WPCF7_ContactForm {
|
|
25 |
register_post_type( self::post_type, array(
|
26 |
'labels' => array(
|
27 |
'name' => __( 'Contact Forms', 'wpcf7' ),
|
28 |
-
'singular_name' => __( 'Contact Form', 'wpcf7' ) )
|
|
|
|
|
29 |
}
|
30 |
|
31 |
public static function find( $args = '' ) {
|
25 |
register_post_type( self::post_type, array(
|
26 |
'labels' => array(
|
27 |
'name' => __( 'Contact Forms', 'wpcf7' ),
|
28 |
+
'singular_name' => __( 'Contact Form', 'wpcf7' ) ),
|
29 |
+
'rewrite' => false,
|
30 |
+
'query_var' => false ) );
|
31 |
}
|
32 |
|
33 |
public static function find( $args = '' ) {
|
includes/controller.php
CHANGED
@@ -238,7 +238,7 @@ function wpcf7_enqueue_scripts() {
|
|
238 |
wp_deregister_script( 'jquery-form' );
|
239 |
wp_register_script( 'jquery-form',
|
240 |
wpcf7_plugin_url( 'includes/js/jquery.form.js' ),
|
241 |
-
array( 'jquery' ), '3.
|
242 |
|
243 |
$in_footer = true;
|
244 |
if ( 'header' === WPCF7_LOAD_JS )
|
238 |
wp_deregister_script( 'jquery-form' );
|
239 |
wp_register_script( 'jquery-form',
|
240 |
wpcf7_plugin_url( 'includes/js/jquery.form.js' ),
|
241 |
+
array( 'jquery' ), '3.14', true );
|
242 |
|
243 |
$in_footer = true;
|
244 |
if ( 'header' === WPCF7_LOAD_JS )
|
includes/functions.php
CHANGED
@@ -192,6 +192,7 @@ function wpcf7_l10n() {
|
|
192 |
'hy_AM' => __( 'Armenian', 'wpcf7' ),
|
193 |
'az_AZ' => __( 'Azerbaijani', 'wpcf7' ),
|
194 |
'bn_BD' => __( 'Bangla', 'wpcf7' ),
|
|
|
195 |
'be_BY' => __( 'Belarusian', 'wpcf7' ),
|
196 |
'bs' => __( 'Bosnian', 'wpcf7' ),
|
197 |
'pt_BR' => __( 'Brazilian Portuguese', 'wpcf7' ),
|
192 |
'hy_AM' => __( 'Armenian', 'wpcf7' ),
|
193 |
'az_AZ' => __( 'Azerbaijani', 'wpcf7' ),
|
194 |
'bn_BD' => __( 'Bangla', 'wpcf7' ),
|
195 |
+
'eu' => __( 'Basque', 'wpcf7' ),
|
196 |
'be_BY' => __( 'Belarusian', 'wpcf7' ),
|
197 |
'bs' => __( 'Bosnian', 'wpcf7' ),
|
198 |
'pt_BR' => __( 'Brazilian Portuguese', 'wpcf7' ),
|
includes/js/jquery.form.dev.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* jQuery Form Plugin
|
3 |
-
* version: 3.
|
4 |
* @requires jQuery v1.3.2 or later
|
5 |
*
|
6 |
* Examples and documentation at: http://malsup.com/jquery/form/
|
@@ -165,7 +165,7 @@ $.fn.ajaxSubmit = function(options) {
|
|
165 |
}
|
166 |
|
167 |
options.success = function(data, status, xhr) { // jQuery 1.4+ passes xhr as 3rd arg
|
168 |
-
var context = options.context ||
|
169 |
for (var i=0, max=callbacks.length; i < max; i++) {
|
170 |
callbacks[i].apply(context, [data, status, xhr || $form, $form]);
|
171 |
}
|
@@ -253,11 +253,11 @@ $.fn.ajaxSubmit = function(options) {
|
|
253 |
}
|
254 |
|
255 |
s.data = null;
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
};
|
262 |
$.ajax(s);
|
263 |
}
|
@@ -316,6 +316,12 @@ $.fn.ajaxSubmit = function(options) {
|
|
316 |
var e = (status === 'timeout' ? 'timeout' : 'aborted');
|
317 |
log('aborting upload... ' + e);
|
318 |
this.aborted = 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
$io.attr('src', s.iframeSrc); // abort op in progress
|
320 |
xhr.error = e;
|
321 |
if (s.error)
|
@@ -426,9 +432,16 @@ $.fn.ajaxSubmit = function(options) {
|
|
426 |
if (s.extraData) {
|
427 |
for (var n in s.extraData) {
|
428 |
if (s.extraData.hasOwnProperty(n)) {
|
429 |
-
|
430 |
-
|
431 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
432 |
}
|
433 |
}
|
434 |
}
|
@@ -997,7 +1010,7 @@ $.fn.clearFields = $.fn.clearInputs = function(includeHidden) {
|
|
997 |
this.selectedIndex = -1;
|
998 |
}
|
999 |
else if (includeHidden) {
|
1000 |
-
// includeHidden can be the
|
1001 |
// indicating a special test; for example:
|
1002 |
// $('#myForm').clearForm('.special:hidden')
|
1003 |
// the above would clean hidden inputs that have the class of 'special'
|
1 |
/*!
|
2 |
* jQuery Form Plugin
|
3 |
+
* version: 3.14 (30-JUL-2012)
|
4 |
* @requires jQuery v1.3.2 or later
|
5 |
*
|
6 |
* Examples and documentation at: http://malsup.com/jquery/form/
|
165 |
}
|
166 |
|
167 |
options.success = function(data, status, xhr) { // jQuery 1.4+ passes xhr as 3rd arg
|
168 |
+
var context = options.context || this ; // jQuery 1.4+ supports scope context
|
169 |
for (var i=0, max=callbacks.length; i < max; i++) {
|
170 |
callbacks[i].apply(context, [data, status, xhr || $form, $form]);
|
171 |
}
|
253 |
}
|
254 |
|
255 |
s.data = null;
|
256 |
+
var beforeSend = s.beforeSend;
|
257 |
+
s.beforeSend = function(xhr, o) {
|
258 |
+
o.data = formdata;
|
259 |
+
if(beforeSend)
|
260 |
+
beforeSend.call(this, xhr, o);
|
261 |
};
|
262 |
$.ajax(s);
|
263 |
}
|
316 |
var e = (status === 'timeout' ? 'timeout' : 'aborted');
|
317 |
log('aborting upload... ' + e);
|
318 |
this.aborted = 1;
|
319 |
+
// #214
|
320 |
+
if (io.contentWindow.document.execCommand) {
|
321 |
+
try { // #214
|
322 |
+
io.contentWindow.document.execCommand('Stop');
|
323 |
+
} catch(ignore) {}
|
324 |
+
}
|
325 |
$io.attr('src', s.iframeSrc); // abort op in progress
|
326 |
xhr.error = e;
|
327 |
if (s.error)
|
432 |
if (s.extraData) {
|
433 |
for (var n in s.extraData) {
|
434 |
if (s.extraData.hasOwnProperty(n)) {
|
435 |
+
// if using the $.param format that allows for multiple values with the same name
|
436 |
+
if($.isPlainObject(s.extraData[n]) && s.extraData[n].hasOwnProperty('name') && s.extraData[n].hasOwnProperty('value')) {
|
437 |
+
extraInputs.push(
|
438 |
+
$('<input type="hidden" name="'+s.extraData[n].name+'">').attr('value',s.extraData[n].value)
|
439 |
+
.appendTo(form)[0]);
|
440 |
+
} else {
|
441 |
+
extraInputs.push(
|
442 |
+
$('<input type="hidden" name="'+n+'">').attr('value',s.extraData[n])
|
443 |
+
.appendTo(form)[0]);
|
444 |
+
}
|
445 |
}
|
446 |
}
|
447 |
}
|
1010 |
this.selectedIndex = -1;
|
1011 |
}
|
1012 |
else if (includeHidden) {
|
1013 |
+
// includeHidden can be the value true, or it can be a selector string
|
1014 |
// indicating a special test; for example:
|
1015 |
// $('#myForm').clearForm('.special:hidden')
|
1016 |
// the above would clean hidden inputs that have the class of 'special'
|
includes/js/jquery.form.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* jQuery Form Plugin
|
3 |
-
* version: 3.
|
4 |
* @requires jQuery v1.3.2 or later
|
5 |
*
|
6 |
* Examples and documentation at: http://malsup.com/jquery/form/
|
@@ -9,4 +9,4 @@
|
|
9 |
* http://malsup.github.com/mit-license.txt
|
10 |
* http://malsup.github.com/gpl-license-v2.txt
|
11 |
*/
|
12 |
-
(function(e){var c={};c.fileapi=e("<input type='file'/>").get(0).files!==undefined;c.formdata=window.FormData!==undefined;e.fn.ajaxSubmit=function(g){if(!this.length){d("ajaxSubmit: skipping submit process - no element selected");return this}var f,w,i,l=this;if(typeof g=="function"){g={success:g}}f=this.attr("method");w=this.attr("action");i=(typeof w==="string")?e.trim(w):"";i=i||window.location.href||"";if(i){i=(i.match(/^([^#]+)/)||[])[1]}g=e.extend(true,{url:i,success:e.ajaxSettings.success,type:f||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},g);var r={};this.trigger("form-pre-serialize",[this,g,r]);if(r.veto){d("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(g.beforeSerialize&&g.beforeSerialize(this,g)===false){d("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var j=g.traditional;if(j===undefined){j=e.ajaxSettings.traditional}var o=[];var z,A=this.formToArray(g.semantic,o);if(g.data){g.extraData=g.data;z=e.param(g.data,j)}if(g.beforeSubmit&&g.beforeSubmit(A,this,g)===false){d("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[A,this,g,r]);if(r.veto){d("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var u=e.param(A,j);if(z){u=(u?(u+"&"+z):z)}if(g.type.toUpperCase()=="GET"){g.url+=(g.url.indexOf("?")>=0?"&":"?")+u;g.data=null}else{g.data=u}var C=[];if(g.resetForm){C.push(function(){l.resetForm()})}if(g.clearForm){C.push(function(){l.clearForm(g.includeHidden)})}if(!g.dataType&&g.target){var h=g.success||function(){};C.push(function(q){var k=g.replaceTarget?"replaceWith":"html";e(g.target)[k](q).each(h,arguments)})}else{if(g.success){C.push(g.success)}}g.success=function(F,q,G){var E=g.context||g;for(var D=0,k=C.length;D<k;D++){C[D].apply(E,[F,q,G||l,l])}};var y=e("input:file:enabled[value]",this);var m=y.length>0;var x="multipart/form-data";var t=(l.attr("enctype")==x||l.attr("encoding")==x);var s=c.fileapi&&c.formdata;d("fileAPI :"+s);var n=(m||t)&&!s;if(g.iframe!==false&&(g.iframe||n)){if(g.closeKeepAlive){e.get(g.closeKeepAlive,function(){B(A)})}else{B(A)}}else{if((m||t)&&s){p(A)}else{e.ajax(g)}}for(var v=0;v<o.length;v++){o[v]=null}this.trigger("form-submit-notify",[this,g]);return this;function p(q){var k=new FormData();for(var D=0;D<q.length;D++){k.append(q[D].name,q[D].value)}if(g.extraData){for(var G in g.extraData){if(g.extraData.hasOwnProperty(G)){k.append(G,g.extraData[G])}}}g.data=null;var F=e.extend(true,{},e.ajaxSettings,g,{contentType:false,processData:false,cache:false,type:"POST"});if(g.uploadProgress){F.xhr=function(){var H=jQuery.ajaxSettings.xhr();if(H.upload){H.upload.onprogress=function(L){var K=0;var I=L.loaded||L.position;var J=L.total;if(L.lengthComputable){K=Math.ceil(I/J*100)}g.uploadProgress(L,I,J,K)}}return H}}F.data=null;var E=F.beforeSend;F.beforeSend=function(I,H){H.data=k;if(E){E.call(H,I,g)}};e.ajax(F)}function B(ab){var G=l[0],F,X,R,Z,U,I,M,K,L,V,Y,P;var J=!!e.fn.prop;if(e(":input[name=submit],:input[id=submit]",G).length){alert('Error: Form elements must not have name or id of "submit".');return}if(ab){for(X=0;X<o.length;X++){F=e(o[X]);if(J){F.prop("disabled",false)}else{F.removeAttr("disabled")}}}R=e.extend(true,{},e.ajaxSettings,g);R.context=R.context||R;U="jqFormIO"+(new Date().getTime());if(R.iframeTarget){I=e(R.iframeTarget);V=I.attr("name");if(!V){I.attr("name",U)}else{U=V}}else{I=e('<iframe name="'+U+'" src="'+R.iframeSrc+'" />');I.css({position:"absolute",top:"-1000px",left:"-1000px"})}M=I[0];K={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(ae){var af=(ae==="timeout"?"timeout":"aborted");d("aborting upload... "+af);this.aborted=1;I.attr("src",R.iframeSrc);K.error=af;if(R.error){R.error.call(R.context,K,af,ae)}if(Z){e.event.trigger("ajaxError",[K,R,af])}if(R.complete){R.complete.call(R.context,K,af)}}};Z=R.global;if(Z&&0===e.active++){e.event.trigger("ajaxStart")}if(Z){e.event.trigger("ajaxSend",[K,R])}if(R.beforeSend&&R.beforeSend.call(R.context,K,R)===false){if(R.global){e.active--}return}if(K.aborted){return}L=G.clk;if(L){V=L.name;if(V&&!L.disabled){R.extraData=R.extraData||{};R.extraData[V]=L.value;if(L.type=="image"){R.extraData[V+".x"]=G.clk_x;R.extraData[V+".y"]=G.clk_y}}}var Q=1;var N=2;function O(af){var ae=af.contentWindow?af.contentWindow.document:af.contentDocument?af.contentDocument:af.document;return ae}var E=e("meta[name=csrf-token]").attr("content");var D=e("meta[name=csrf-param]").attr("content");if(D&&E){R.extraData=R.extraData||{};R.extraData[D]=E}function W(){var ag=l.attr("target"),ae=l.attr("action");G.setAttribute("target",U);if(!f){G.setAttribute("method","POST")}if(ae!=R.url){G.setAttribute("action",R.url)}if(!R.skipEncodingOverride&&(!f||/post/i.test(f))){l.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(R.timeout){P=setTimeout(function(){Y=true;T(Q)},R.timeout)}function ah(){try{var aj=O(M).readyState;d("state = "+aj);if(aj&&aj.toLowerCase()=="uninitialized"){setTimeout(ah,50)}}catch(ak){d("Server abort: ",ak," (",ak.name,")");T(N);if(P){clearTimeout(P)}P=undefined}}var af=[];try{if(R.extraData){for(var ai in R.extraData){if(R.extraData.hasOwnProperty(ai)){af.push(e('<input type="hidden" name="'+ai+'">').attr("value",R.extraData[ai]).appendTo(G)[0])}}}if(!R.iframeTarget){I.appendTo("body");if(M.attachEvent){M.attachEvent("onload",T)}else{M.addEventListener("load",T,false)}}setTimeout(ah,15);G.submit()}finally{G.setAttribute("action",ae);if(ag){G.setAttribute("target",ag)}else{l.removeAttr("target")}e(af).remove()}}if(R.forceSync){W()}else{setTimeout(W,10)}var ac,ad,aa=50,H;function T(aj){if(K.aborted||H){return}try{ad=O(M)}catch(am){d("cannot access response document: ",am);aj=N}if(aj===Q&&K){K.abort("timeout");return}else{if(aj==N&&K){K.abort("server abort");return}}if(!ad||ad.location.href==R.iframeSrc){if(!Y){return}}if(M.detachEvent){M.detachEvent("onload",T)}else{M.removeEventListener("load",T,false)}var ah="success",al;try{if(Y){throw"timeout"}var ag=R.dataType=="xml"||ad.XMLDocument||e.isXMLDoc(ad);d("isXml="+ag);if(!ag&&window.opera&&(ad.body===null||!ad.body.innerHTML)){if(--aa){d("requeing onLoad callback, DOM not available");setTimeout(T,250);return}}var an=ad.body?ad.body:ad.documentElement;K.responseText=an?an.innerHTML:null;K.responseXML=ad.XMLDocument?ad.XMLDocument:ad;if(ag){R.dataType="xml"}K.getResponseHeader=function(aq){var ap={"content-type":R.dataType};return ap[aq]};if(an){K.status=Number(an.getAttribute("status"))||K.status;K.statusText=an.getAttribute("statusText")||K.statusText}var ae=(R.dataType||"").toLowerCase();var ak=/(json|script|text)/.test(ae);if(ak||R.textarea){var ai=ad.getElementsByTagName("textarea")[0];if(ai){K.responseText=ai.value;K.status=Number(ai.getAttribute("status"))||K.status;K.statusText=ai.getAttribute("statusText")||K.statusText}else{if(ak){var af=ad.getElementsByTagName("pre")[0];var ao=ad.getElementsByTagName("body")[0];if(af){K.responseText=af.textContent?af.textContent:af.innerText}else{if(ao){K.responseText=ao.textContent?ao.textContent:ao.innerText}}}}}else{if(ae=="xml"&&!K.responseXML&&K.responseText){K.responseXML=S(K.responseText)}}try{ac=k(K,ae,R)}catch(aj){ah="parsererror";K.error=al=(aj||ah)}}catch(aj){d("error caught: ",aj);ah="error";K.error=al=(aj||ah)}if(K.aborted){d("upload aborted");ah=null}if(K.status){ah=(K.status>=200&&K.status<300||K.status===304)?"success":"error"}if(ah==="success"){if(R.success){R.success.call(R.context,ac,"success",K)}if(Z){e.event.trigger("ajaxSuccess",[K,R])}}else{if(ah){if(al===undefined){al=K.statusText}if(R.error){R.error.call(R.context,K,ah,al)}if(Z){e.event.trigger("ajaxError",[K,R,al])}}}if(Z){e.event.trigger("ajaxComplete",[K,R])}if(Z&&!--e.active){e.event.trigger("ajaxStop")}if(R.complete){R.complete.call(R.context,K,ah)}H=true;if(R.timeout){clearTimeout(P)}setTimeout(function(){if(!R.iframeTarget){I.remove()}K.responseXML=null},100)}var S=e.parseXML||function(ae,af){if(window.ActiveXObject){af=new ActiveXObject("Microsoft.XMLDOM");af.async="false";af.loadXML(ae)}else{af=(new DOMParser()).parseFromString(ae,"text/xml")}return(af&&af.documentElement&&af.documentElement.nodeName!="parsererror")?af:null};var q=e.parseJSON||function(ae){return window["eval"]("("+ae+")")};var k=function(aj,ah,ag){var af=aj.getResponseHeader("content-type")||"",ae=ah==="xml"||!ah&&af.indexOf("xml")>=0,ai=ae?aj.responseXML:aj.responseText;if(ae&&ai.documentElement.nodeName==="parsererror"){if(e.error){e.error("parsererror")}}if(ag&&ag.dataFilter){ai=ag.dataFilter(ai,ah)}if(typeof ai==="string"){if(ah==="json"||!ah&&af.indexOf("json")>=0){ai=q(ai)}else{if(ah==="script"||!ah&&af.indexOf("javascript")>=0){e.globalEval(ai)}}}return ai}}};e.fn.ajaxForm=function(f){f=f||{};f.delegation=f.delegation&&e.isFunction(e.fn.on);if(!f.delegation&&this.length===0){var g={s:this.selector,c:this.context};if(!e.isReady&&g.s){d("DOM not ready, queuing ajaxForm");e(function(){e(g.s,g.c).ajaxForm(f)});return this}d("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)"));return this}if(f.delegation){e(document).off("submit.form-plugin",this.selector,b).off("click.form-plugin",this.selector,a).on("submit.form-plugin",this.selector,f,b).on("click.form-plugin",this.selector,f,a);return this}return this.ajaxFormUnbind().bind("submit.form-plugin",f,b).bind("click.form-plugin",f,a)};function b(g){var f=g.data;if(!g.isDefaultPrevented()){g.preventDefault();e(this).ajaxSubmit(f)}}function a(j){var i=j.target;var g=e(i);if(!(g.is(":submit,input:image"))){var f=g.closest(":submit");if(f.length===0){return}i=f[0]}var h=this;h.clk=i;if(i.type=="image"){if(j.offsetX!==undefined){h.clk_x=j.offsetX;h.clk_y=j.offsetY}else{if(typeof e.fn.offset=="function"){var k=g.offset();h.clk_x=j.pageX-k.left;h.clk_y=j.pageY-k.top}else{h.clk_x=j.pageX-i.offsetLeft;h.clk_y=j.pageY-i.offsetTop}}}setTimeout(function(){h.clk=h.clk_x=h.clk_y=null},100)}e.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};e.fn.formToArray=function(w,f){var u=[];if(this.length===0){return u}var k=this[0];var o=w?k.getElementsByTagName("*"):k.elements;if(!o){return u}var q,p,m,x,l,s,h;for(q=0,s=o.length;q<s;q++){l=o[q];m=l.name;if(!m){continue}if(w&&k.clk&&l.type=="image"){if(!l.disabled&&k.clk==l){u.push({name:m,value:e(l).val(),type:l.type});u.push({name:m+".x",value:k.clk_x},{name:m+".y",value:k.clk_y})}continue}x=e.fieldValue(l,true);if(x&&x.constructor==Array){if(f){f.push(l)}for(p=0,h=x.length;p<h;p++){u.push({name:m,value:x[p]})}}else{if(c.fileapi&&l.type=="file"&&!l.disabled){if(f){f.push(l)}var g=l.files;if(g.length){for(p=0;p<g.length;p++){u.push({name:m,value:g[p],type:l.type})}}else{u.push({name:m,value:"",type:l.type})}}else{if(x!==null&&typeof x!="undefined"){if(f){f.push(l)}u.push({name:m,value:x,type:l.type,required:l.required})}}}}if(!w&&k.clk){var r=e(k.clk),t=r[0];m=t.name;if(m&&!t.disabled&&t.type=="image"){u.push({name:m,value:r.val()});u.push({name:m+".x",value:k.clk_x},{name:m+".y",value:k.clk_y})}}return u};e.fn.formSerialize=function(f){return e.param(this.formToArray(f))};e.fn.fieldSerialize=function(g){var f=[];this.each(function(){var l=this.name;if(!l){return}var j=e.fieldValue(this,g);if(j&&j.constructor==Array){for(var k=0,h=j.length;k<h;k++){f.push({name:l,value:j[k]})}}else{if(j!==null&&typeof j!="undefined"){f.push({name:this.name,value:j})}}});return e.param(f)};e.fn.fieldValue=function(l){for(var k=[],h=0,f=this.length;h<f;h++){var j=this[h];var g=e.fieldValue(j,l);if(g===null||typeof g=="undefined"||(g.constructor==Array&&!g.length)){continue}if(g.constructor==Array){e.merge(k,g)}else{k.push(g)}}return k};e.fieldValue=function(f,m){var h=f.name,s=f.type,u=f.tagName.toLowerCase();if(m===undefined){m=true}if(m&&(!h||f.disabled||s=="reset"||s=="button"||(s=="checkbox"||s=="radio")&&!f.checked||(s=="submit"||s=="image")&&f.form&&f.form.clk!=f||u=="select"&&f.selectedIndex==-1)){return null}if(u=="select"){var o=f.selectedIndex;if(o<0){return null}var q=[],g=f.options;var k=(s=="select-one");var p=(k?o+1:g.length);for(var j=(k?o:0);j<p;j++){var l=g[j];if(l.selected){var r=l.value;if(!r){r=(l.attributes&&l.attributes.value&&!(l.attributes.value.specified))?l.text:l.value}if(k){return r}q.push(r)}}return q}return e(f).val()};e.fn.clearForm=function(f){return this.each(function(){e("input,select,textarea",this).clearFields(f)})};e.fn.clearFields=e.fn.clearInputs=function(f){var g=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var i=this.type,h=this.tagName.toLowerCase();if(g.test(i)||h=="textarea"){this.value=""}else{if(i=="checkbox"||i=="radio"){this.checked=false}else{if(h=="select"){this.selectedIndex=-1}else{if(f){if((f===true&&/hidden/.test(i))||(typeof f=="string"&&e(this).is(f))){this.value=""}}}}}})};e.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};e.fn.enable=function(f){if(f===undefined){f=true}return this.each(function(){this.disabled=!f})};e.fn.selected=function(f){if(f===undefined){f=true}return this.each(function(){var g=this.type;if(g=="checkbox"||g=="radio"){this.checked=f}else{if(this.tagName.toLowerCase()=="option"){var h=e(this).parent("select");if(f&&h[0]&&h[0].type=="select-one"){h.find("option").selected(false)}this.selected=f}}})};e.fn.ajaxSubmit.debug=false;function d(){if(!e.fn.ajaxSubmit.debug){return}var f="[jquery.form] "+Array.prototype.join.call(arguments,"");if(window.console&&window.console.log){window.console.log(f)}else{if(window.opera&&window.opera.postError){window.opera.postError(f)}}}})(jQuery);
|
1 |
/*!
|
2 |
* jQuery Form Plugin
|
3 |
+
* version: 3.14 (30-JUL-2012)
|
4 |
* @requires jQuery v1.3.2 or later
|
5 |
*
|
6 |
* Examples and documentation at: http://malsup.com/jquery/form/
|
9 |
* http://malsup.github.com/mit-license.txt
|
10 |
* http://malsup.github.com/gpl-license-v2.txt
|
11 |
*/
|
12 |
+
(function(e){var c={};c.fileapi=e("<input type='file'/>").get(0).files!==undefined;c.formdata=window.FormData!==undefined;e.fn.ajaxSubmit=function(g){if(!this.length){d("ajaxSubmit: skipping submit process - no element selected");return this}var f,w,i,l=this;if(typeof g=="function"){g={success:g}}f=this.attr("method");w=this.attr("action");i=(typeof w==="string")?e.trim(w):"";i=i||window.location.href||"";if(i){i=(i.match(/^([^#]+)/)||[])[1]}g=e.extend(true,{url:i,success:e.ajaxSettings.success,type:f||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},g);var r={};this.trigger("form-pre-serialize",[this,g,r]);if(r.veto){d("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(g.beforeSerialize&&g.beforeSerialize(this,g)===false){d("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var j=g.traditional;if(j===undefined){j=e.ajaxSettings.traditional}var o=[];var z,A=this.formToArray(g.semantic,o);if(g.data){g.extraData=g.data;z=e.param(g.data,j)}if(g.beforeSubmit&&g.beforeSubmit(A,this,g)===false){d("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[A,this,g,r]);if(r.veto){d("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var u=e.param(A,j);if(z){u=(u?(u+"&"+z):z)}if(g.type.toUpperCase()=="GET"){g.url+=(g.url.indexOf("?")>=0?"&":"?")+u;g.data=null}else{g.data=u}var C=[];if(g.resetForm){C.push(function(){l.resetForm()})}if(g.clearForm){C.push(function(){l.clearForm(g.includeHidden)})}if(!g.dataType&&g.target){var h=g.success||function(){};C.push(function(q){var k=g.replaceTarget?"replaceWith":"html";e(g.target)[k](q).each(h,arguments)})}else{if(g.success){C.push(g.success)}}g.success=function(F,q,G){var E=g.context||this;for(var D=0,k=C.length;D<k;D++){C[D].apply(E,[F,q,G||l,l])}};var y=e("input:file:enabled[value]",this);var m=y.length>0;var x="multipart/form-data";var t=(l.attr("enctype")==x||l.attr("encoding")==x);var s=c.fileapi&&c.formdata;d("fileAPI :"+s);var n=(m||t)&&!s;if(g.iframe!==false&&(g.iframe||n)){if(g.closeKeepAlive){e.get(g.closeKeepAlive,function(){B(A)})}else{B(A)}}else{if((m||t)&&s){p(A)}else{e.ajax(g)}}for(var v=0;v<o.length;v++){o[v]=null}this.trigger("form-submit-notify",[this,g]);return this;function p(q){var k=new FormData();for(var D=0;D<q.length;D++){k.append(q[D].name,q[D].value)}if(g.extraData){for(var G in g.extraData){if(g.extraData.hasOwnProperty(G)){k.append(G,g.extraData[G])}}}g.data=null;var F=e.extend(true,{},e.ajaxSettings,g,{contentType:false,processData:false,cache:false,type:"POST"});if(g.uploadProgress){F.xhr=function(){var H=jQuery.ajaxSettings.xhr();if(H.upload){H.upload.onprogress=function(L){var K=0;var I=L.loaded||L.position;var J=L.total;if(L.lengthComputable){K=Math.ceil(I/J*100)}g.uploadProgress(L,I,J,K)}}return H}}F.data=null;var E=F.beforeSend;F.beforeSend=function(I,H){H.data=k;if(E){E.call(this,I,H)}};e.ajax(F)}function B(ab){var G=l[0],F,X,R,Z,U,I,M,K,L,V,Y,P;var J=!!e.fn.prop;if(e(":input[name=submit],:input[id=submit]",G).length){alert('Error: Form elements must not have name or id of "submit".');return}if(ab){for(X=0;X<o.length;X++){F=e(o[X]);if(J){F.prop("disabled",false)}else{F.removeAttr("disabled")}}}R=e.extend(true,{},e.ajaxSettings,g);R.context=R.context||R;U="jqFormIO"+(new Date().getTime());if(R.iframeTarget){I=e(R.iframeTarget);V=I.attr("name");if(!V){I.attr("name",U)}else{U=V}}else{I=e('<iframe name="'+U+'" src="'+R.iframeSrc+'" />');I.css({position:"absolute",top:"-1000px",left:"-1000px"})}M=I[0];K={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(ae){var af=(ae==="timeout"?"timeout":"aborted");d("aborting upload... "+af);this.aborted=1;if(M.contentWindow.document.execCommand){try{M.contentWindow.document.execCommand("Stop")}catch(ag){}}I.attr("src",R.iframeSrc);K.error=af;if(R.error){R.error.call(R.context,K,af,ae)}if(Z){e.event.trigger("ajaxError",[K,R,af])}if(R.complete){R.complete.call(R.context,K,af)}}};Z=R.global;if(Z&&0===e.active++){e.event.trigger("ajaxStart")}if(Z){e.event.trigger("ajaxSend",[K,R])}if(R.beforeSend&&R.beforeSend.call(R.context,K,R)===false){if(R.global){e.active--}return}if(K.aborted){return}L=G.clk;if(L){V=L.name;if(V&&!L.disabled){R.extraData=R.extraData||{};R.extraData[V]=L.value;if(L.type=="image"){R.extraData[V+".x"]=G.clk_x;R.extraData[V+".y"]=G.clk_y}}}var Q=1;var N=2;function O(af){var ae=af.contentWindow?af.contentWindow.document:af.contentDocument?af.contentDocument:af.document;return ae}var E=e("meta[name=csrf-token]").attr("content");var D=e("meta[name=csrf-param]").attr("content");if(D&&E){R.extraData=R.extraData||{};R.extraData[D]=E}function W(){var ag=l.attr("target"),ae=l.attr("action");G.setAttribute("target",U);if(!f){G.setAttribute("method","POST")}if(ae!=R.url){G.setAttribute("action",R.url)}if(!R.skipEncodingOverride&&(!f||/post/i.test(f))){l.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(R.timeout){P=setTimeout(function(){Y=true;T(Q)},R.timeout)}function ah(){try{var aj=O(M).readyState;d("state = "+aj);if(aj&&aj.toLowerCase()=="uninitialized"){setTimeout(ah,50)}}catch(ak){d("Server abort: ",ak," (",ak.name,")");T(N);if(P){clearTimeout(P)}P=undefined}}var af=[];try{if(R.extraData){for(var ai in R.extraData){if(R.extraData.hasOwnProperty(ai)){if(e.isPlainObject(R.extraData[ai])&&R.extraData[ai].hasOwnProperty("name")&&R.extraData[ai].hasOwnProperty("value")){af.push(e('<input type="hidden" name="'+R.extraData[ai].name+'">').attr("value",R.extraData[ai].value).appendTo(G)[0])}else{af.push(e('<input type="hidden" name="'+ai+'">').attr("value",R.extraData[ai]).appendTo(G)[0])}}}}if(!R.iframeTarget){I.appendTo("body");if(M.attachEvent){M.attachEvent("onload",T)}else{M.addEventListener("load",T,false)}}setTimeout(ah,15);G.submit()}finally{G.setAttribute("action",ae);if(ag){G.setAttribute("target",ag)}else{l.removeAttr("target")}e(af).remove()}}if(R.forceSync){W()}else{setTimeout(W,10)}var ac,ad,aa=50,H;function T(aj){if(K.aborted||H){return}try{ad=O(M)}catch(am){d("cannot access response document: ",am);aj=N}if(aj===Q&&K){K.abort("timeout");return}else{if(aj==N&&K){K.abort("server abort");return}}if(!ad||ad.location.href==R.iframeSrc){if(!Y){return}}if(M.detachEvent){M.detachEvent("onload",T)}else{M.removeEventListener("load",T,false)}var ah="success",al;try{if(Y){throw"timeout"}var ag=R.dataType=="xml"||ad.XMLDocument||e.isXMLDoc(ad);d("isXml="+ag);if(!ag&&window.opera&&(ad.body===null||!ad.body.innerHTML)){if(--aa){d("requeing onLoad callback, DOM not available");setTimeout(T,250);return}}var an=ad.body?ad.body:ad.documentElement;K.responseText=an?an.innerHTML:null;K.responseXML=ad.XMLDocument?ad.XMLDocument:ad;if(ag){R.dataType="xml"}K.getResponseHeader=function(aq){var ap={"content-type":R.dataType};return ap[aq]};if(an){K.status=Number(an.getAttribute("status"))||K.status;K.statusText=an.getAttribute("statusText")||K.statusText}var ae=(R.dataType||"").toLowerCase();var ak=/(json|script|text)/.test(ae);if(ak||R.textarea){var ai=ad.getElementsByTagName("textarea")[0];if(ai){K.responseText=ai.value;K.status=Number(ai.getAttribute("status"))||K.status;K.statusText=ai.getAttribute("statusText")||K.statusText}else{if(ak){var af=ad.getElementsByTagName("pre")[0];var ao=ad.getElementsByTagName("body")[0];if(af){K.responseText=af.textContent?af.textContent:af.innerText}else{if(ao){K.responseText=ao.textContent?ao.textContent:ao.innerText}}}}}else{if(ae=="xml"&&!K.responseXML&&K.responseText){K.responseXML=S(K.responseText)}}try{ac=k(K,ae,R)}catch(aj){ah="parsererror";K.error=al=(aj||ah)}}catch(aj){d("error caught: ",aj);ah="error";K.error=al=(aj||ah)}if(K.aborted){d("upload aborted");ah=null}if(K.status){ah=(K.status>=200&&K.status<300||K.status===304)?"success":"error"}if(ah==="success"){if(R.success){R.success.call(R.context,ac,"success",K)}if(Z){e.event.trigger("ajaxSuccess",[K,R])}}else{if(ah){if(al===undefined){al=K.statusText}if(R.error){R.error.call(R.context,K,ah,al)}if(Z){e.event.trigger("ajaxError",[K,R,al])}}}if(Z){e.event.trigger("ajaxComplete",[K,R])}if(Z&&!--e.active){e.event.trigger("ajaxStop")}if(R.complete){R.complete.call(R.context,K,ah)}H=true;if(R.timeout){clearTimeout(P)}setTimeout(function(){if(!R.iframeTarget){I.remove()}K.responseXML=null},100)}var S=e.parseXML||function(ae,af){if(window.ActiveXObject){af=new ActiveXObject("Microsoft.XMLDOM");af.async="false";af.loadXML(ae)}else{af=(new DOMParser()).parseFromString(ae,"text/xml")}return(af&&af.documentElement&&af.documentElement.nodeName!="parsererror")?af:null};var q=e.parseJSON||function(ae){return window["eval"]("("+ae+")")};var k=function(aj,ah,ag){var af=aj.getResponseHeader("content-type")||"",ae=ah==="xml"||!ah&&af.indexOf("xml")>=0,ai=ae?aj.responseXML:aj.responseText;if(ae&&ai.documentElement.nodeName==="parsererror"){if(e.error){e.error("parsererror")}}if(ag&&ag.dataFilter){ai=ag.dataFilter(ai,ah)}if(typeof ai==="string"){if(ah==="json"||!ah&&af.indexOf("json")>=0){ai=q(ai)}else{if(ah==="script"||!ah&&af.indexOf("javascript")>=0){e.globalEval(ai)}}}return ai}}};e.fn.ajaxForm=function(f){f=f||{};f.delegation=f.delegation&&e.isFunction(e.fn.on);if(!f.delegation&&this.length===0){var g={s:this.selector,c:this.context};if(!e.isReady&&g.s){d("DOM not ready, queuing ajaxForm");e(function(){e(g.s,g.c).ajaxForm(f)});return this}d("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)"));return this}if(f.delegation){e(document).off("submit.form-plugin",this.selector,b).off("click.form-plugin",this.selector,a).on("submit.form-plugin",this.selector,f,b).on("click.form-plugin",this.selector,f,a);return this}return this.ajaxFormUnbind().bind("submit.form-plugin",f,b).bind("click.form-plugin",f,a)};function b(g){var f=g.data;if(!g.isDefaultPrevented()){g.preventDefault();e(this).ajaxSubmit(f)}}function a(j){var i=j.target;var g=e(i);if(!(g.is(":submit,input:image"))){var f=g.closest(":submit");if(f.length===0){return}i=f[0]}var h=this;h.clk=i;if(i.type=="image"){if(j.offsetX!==undefined){h.clk_x=j.offsetX;h.clk_y=j.offsetY}else{if(typeof e.fn.offset=="function"){var k=g.offset();h.clk_x=j.pageX-k.left;h.clk_y=j.pageY-k.top}else{h.clk_x=j.pageX-i.offsetLeft;h.clk_y=j.pageY-i.offsetTop}}}setTimeout(function(){h.clk=h.clk_x=h.clk_y=null},100)}e.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};e.fn.formToArray=function(w,f){var u=[];if(this.length===0){return u}var k=this[0];var o=w?k.getElementsByTagName("*"):k.elements;if(!o){return u}var q,p,m,x,l,s,h;for(q=0,s=o.length;q<s;q++){l=o[q];m=l.name;if(!m){continue}if(w&&k.clk&&l.type=="image"){if(!l.disabled&&k.clk==l){u.push({name:m,value:e(l).val(),type:l.type});u.push({name:m+".x",value:k.clk_x},{name:m+".y",value:k.clk_y})}continue}x=e.fieldValue(l,true);if(x&&x.constructor==Array){if(f){f.push(l)}for(p=0,h=x.length;p<h;p++){u.push({name:m,value:x[p]})}}else{if(c.fileapi&&l.type=="file"&&!l.disabled){if(f){f.push(l)}var g=l.files;if(g.length){for(p=0;p<g.length;p++){u.push({name:m,value:g[p],type:l.type})}}else{u.push({name:m,value:"",type:l.type})}}else{if(x!==null&&typeof x!="undefined"){if(f){f.push(l)}u.push({name:m,value:x,type:l.type,required:l.required})}}}}if(!w&&k.clk){var r=e(k.clk),t=r[0];m=t.name;if(m&&!t.disabled&&t.type=="image"){u.push({name:m,value:r.val()});u.push({name:m+".x",value:k.clk_x},{name:m+".y",value:k.clk_y})}}return u};e.fn.formSerialize=function(f){return e.param(this.formToArray(f))};e.fn.fieldSerialize=function(g){var f=[];this.each(function(){var l=this.name;if(!l){return}var j=e.fieldValue(this,g);if(j&&j.constructor==Array){for(var k=0,h=j.length;k<h;k++){f.push({name:l,value:j[k]})}}else{if(j!==null&&typeof j!="undefined"){f.push({name:this.name,value:j})}}});return e.param(f)};e.fn.fieldValue=function(l){for(var k=[],h=0,f=this.length;h<f;h++){var j=this[h];var g=e.fieldValue(j,l);if(g===null||typeof g=="undefined"||(g.constructor==Array&&!g.length)){continue}if(g.constructor==Array){e.merge(k,g)}else{k.push(g)}}return k};e.fieldValue=function(f,m){var h=f.name,s=f.type,u=f.tagName.toLowerCase();if(m===undefined){m=true}if(m&&(!h||f.disabled||s=="reset"||s=="button"||(s=="checkbox"||s=="radio")&&!f.checked||(s=="submit"||s=="image")&&f.form&&f.form.clk!=f||u=="select"&&f.selectedIndex==-1)){return null}if(u=="select"){var o=f.selectedIndex;if(o<0){return null}var q=[],g=f.options;var k=(s=="select-one");var p=(k?o+1:g.length);for(var j=(k?o:0);j<p;j++){var l=g[j];if(l.selected){var r=l.value;if(!r){r=(l.attributes&&l.attributes.value&&!(l.attributes.value.specified))?l.text:l.value}if(k){return r}q.push(r)}}return q}return e(f).val()};e.fn.clearForm=function(f){return this.each(function(){e("input,select,textarea",this).clearFields(f)})};e.fn.clearFields=e.fn.clearInputs=function(f){var g=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var i=this.type,h=this.tagName.toLowerCase();if(g.test(i)||h=="textarea"){this.value=""}else{if(i=="checkbox"||i=="radio"){this.checked=false}else{if(h=="select"){this.selectedIndex=-1}else{if(f){if((f===true&&/hidden/.test(i))||(typeof f=="string"&&e(this).is(f))){this.value=""}}}}}})};e.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};e.fn.enable=function(f){if(f===undefined){f=true}return this.each(function(){this.disabled=!f})};e.fn.selected=function(f){if(f===undefined){f=true}return this.each(function(){var g=this.type;if(g=="checkbox"||g=="radio"){this.checked=f}else{if(this.tagName.toLowerCase()=="option"){var h=e(this).parent("select");if(f&&h[0]&&h[0].type=="select-one"){h.find("option").selected(false)}this.selected=f}}})};e.fn.ajaxSubmit.debug=false;function d(){if(!e.fn.ajaxSubmit.debug){return}var f="[jquery.form] "+Array.prototype.join.call(arguments,"");if(window.console&&window.console.log){window.console.log(f)}else{if(window.opera&&window.opera.postError){window.opera.postError(f)}}}})(jQuery);
|
languages/wpcf7-de_DE.mo
CHANGED
Binary file
|
languages/wpcf7-eu.mo
ADDED
Binary file
|
languages/wpcf7-it_IT.mo
CHANGED
Binary file
|
languages/wpcf7-ja.mo
CHANGED
Binary file
|
languages/wpcf7-pl_PL.mo
CHANGED
Binary file
|
languages/wpcf7.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-
|
6 |
-
"PO-Revision-Date: 2012-
|
7 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -25,7 +25,7 @@ msgid "Contact form %d"
|
|
25 |
msgstr ""
|
26 |
|
27 |
#: contact-form-7/admin/admin.php:8
|
28 |
-
#: contact-form-7/admin/admin.php:
|
29 |
#: contact-form-7/admin/edit-contact-form.php:12
|
30 |
msgid "Contact Form 7"
|
31 |
msgstr ""
|
@@ -43,114 +43,138 @@ msgstr ""
|
|
43 |
msgid "Edit"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: contact-form-7/admin/admin.php:
|
47 |
-
#: contact-form-7/admin/admin.php:
|
48 |
msgid "You are not allowed to edit this item."
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: contact-form-7/admin/admin.php:
|
52 |
msgid "You are not allowed to delete this item."
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: contact-form-7/admin/admin.php:
|
56 |
msgid "Error in deleting."
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: contact-form-7/admin/admin.php:
|
60 |
#: contact-form-7/includes/classes.php:27
|
61 |
msgid "Contact Forms"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: contact-form-7/admin/admin.php:
|
65 |
msgid "Generate Tag"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: contact-form-7/admin/admin.php:
|
69 |
-
#: contact-form-7/admin/admin.php:
|
70 |
-
#: contact-form-7/admin/admin.php:
|
71 |
#: contact-form-7/admin/edit-contact-form.php:15
|
72 |
msgid "Add New"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: contact-form-7/admin/admin.php:
|
76 |
#, php-format
|
77 |
msgid "Search results for “%s”"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: contact-form-7/admin/admin.php:
|
81 |
msgid "Search Contact Forms"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: contact-form-7/admin/admin.php:
|
85 |
#, php-format
|
86 |
msgid "Use the default language (%s)"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: contact-form-7/admin/admin.php:
|
90 |
msgid "Or"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: contact-form-7/admin/admin.php:
|
94 |
msgid "(select language)"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: contact-form-7/admin/admin.php:
|
98 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
msgstr ""
|
100 |
|
101 |
#: contact-form-7/admin/admin.php:356
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
msgid "Contact form saved."
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: contact-form-7/admin/admin.php:
|
106 |
msgid "Contact form deleted."
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: contact-form-7/admin/admin.php:
|
110 |
msgid "Settings"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: contact-form-7/admin/admin.php:
|
114 |
msgid "http://contactform7.com/docs/"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: contact-form-7/admin/admin.php:
|
118 |
msgid "Docs"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: contact-form-7/admin/admin.php:
|
122 |
msgid "http://contactform7.com/faq/"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: contact-form-7/admin/admin.php:
|
126 |
msgid "FAQ"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: contact-form-7/admin/admin.php:
|
130 |
msgid "http://contactform7.com/support/"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: contact-form-7/admin/admin.php:
|
134 |
msgid "Support"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: contact-form-7/admin/admin.php:
|
138 |
msgid "Contact Form 7 needs your support. Please donate today."
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: contact-form-7/admin/admin.php:
|
142 |
msgid "Your contribution is needed for making this plugin better."
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: contact-form-7/admin/admin.php:
|
146 |
msgid "http://contactform7.com/donate/"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: contact-form-7/admin/admin.php:
|
150 |
msgid "Donate"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: contact-form-7/admin/admin.php:
|
154 |
#, php-format
|
155 |
msgid "<strong>Contact Form 7 %1$s requires WordPress %2$s or higher.</strong> Please <a href=\"%3$s\">update WordPress</a> first."
|
156 |
msgstr ""
|
@@ -183,30 +207,6 @@ msgid ""
|
|
183 |
" 'Cancel' to stop, 'OK' to delete."
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: contact-form-7/admin/edit-contact-form.php:83
|
187 |
-
msgid "Form"
|
188 |
-
msgstr ""
|
189 |
-
|
190 |
-
#: contact-form-7/admin/edit-contact-form.php:86
|
191 |
-
msgid "Mail"
|
192 |
-
msgstr ""
|
193 |
-
|
194 |
-
#: contact-form-7/admin/edit-contact-form.php:89
|
195 |
-
msgid "Mail (2)"
|
196 |
-
msgstr ""
|
197 |
-
|
198 |
-
#: contact-form-7/admin/edit-contact-form.php:94
|
199 |
-
msgid "Use mail (2)"
|
200 |
-
msgstr ""
|
201 |
-
|
202 |
-
#: contact-form-7/admin/edit-contact-form.php:96
|
203 |
-
msgid "Messages"
|
204 |
-
msgstr ""
|
205 |
-
|
206 |
-
#: contact-form-7/admin/edit-contact-form.php:99
|
207 |
-
msgid "Additional Settings"
|
208 |
-
msgstr ""
|
209 |
-
|
210 |
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:11
|
211 |
msgid "Title"
|
212 |
msgstr ""
|
@@ -274,7 +274,7 @@ msgstr ""
|
|
274 |
msgid "Contact Form"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: contact-form-7/includes/classes.php:
|
278 |
msgid "Untitled"
|
279 |
msgstr ""
|
280 |
|
@@ -410,289 +410,293 @@ msgid "Bangla"
|
|
410 |
msgstr ""
|
411 |
|
412 |
#: contact-form-7/includes/functions.php:195
|
413 |
-
msgid "
|
414 |
msgstr ""
|
415 |
|
416 |
#: contact-form-7/includes/functions.php:196
|
417 |
-
msgid "
|
418 |
msgstr ""
|
419 |
|
420 |
#: contact-form-7/includes/functions.php:197
|
421 |
-
msgid "
|
422 |
msgstr ""
|
423 |
|
424 |
#: contact-form-7/includes/functions.php:198
|
425 |
-
msgid "
|
426 |
msgstr ""
|
427 |
|
428 |
#: contact-form-7/includes/functions.php:199
|
429 |
-
msgid "
|
430 |
msgstr ""
|
431 |
|
432 |
#: contact-form-7/includes/functions.php:200
|
433 |
-
msgid "
|
434 |
msgstr ""
|
435 |
|
436 |
#: contact-form-7/includes/functions.php:201
|
437 |
-
msgid "Chinese (
|
438 |
msgstr ""
|
439 |
|
440 |
#: contact-form-7/includes/functions.php:202
|
441 |
-
msgid "
|
442 |
msgstr ""
|
443 |
|
444 |
#: contact-form-7/includes/functions.php:203
|
445 |
-
msgid "
|
446 |
msgstr ""
|
447 |
|
448 |
#: contact-form-7/includes/functions.php:204
|
449 |
-
msgid "
|
450 |
msgstr ""
|
451 |
|
452 |
#: contact-form-7/includes/functions.php:205
|
453 |
-
msgid "
|
454 |
msgstr ""
|
455 |
|
456 |
#: contact-form-7/includes/functions.php:206
|
457 |
-
msgid "
|
458 |
msgstr ""
|
459 |
|
460 |
#: contact-form-7/includes/functions.php:207
|
461 |
-
msgid "
|
462 |
msgstr ""
|
463 |
|
464 |
#: contact-form-7/includes/functions.php:208
|
465 |
-
msgid "
|
466 |
msgstr ""
|
467 |
|
468 |
#: contact-form-7/includes/functions.php:209
|
469 |
-
msgid "
|
470 |
msgstr ""
|
471 |
|
472 |
#: contact-form-7/includes/functions.php:210
|
473 |
-
msgid "
|
474 |
msgstr ""
|
475 |
|
476 |
#: contact-form-7/includes/functions.php:211
|
477 |
-
msgid "
|
478 |
msgstr ""
|
479 |
|
480 |
#: contact-form-7/includes/functions.php:212
|
481 |
-
msgid "
|
482 |
msgstr ""
|
483 |
|
484 |
#: contact-form-7/includes/functions.php:213
|
485 |
-
msgid "
|
486 |
msgstr ""
|
487 |
|
488 |
#: contact-form-7/includes/functions.php:214
|
489 |
-
msgid "
|
490 |
msgstr ""
|
491 |
|
492 |
#: contact-form-7/includes/functions.php:215
|
493 |
-
msgid "
|
494 |
msgstr ""
|
495 |
|
496 |
#: contact-form-7/includes/functions.php:216
|
497 |
-
msgid "
|
498 |
msgstr ""
|
499 |
|
500 |
#: contact-form-7/includes/functions.php:217
|
501 |
-
msgid "
|
502 |
msgstr ""
|
503 |
|
504 |
#: contact-form-7/includes/functions.php:218
|
505 |
-
msgid "
|
506 |
msgstr ""
|
507 |
|
508 |
#: contact-form-7/includes/functions.php:219
|
509 |
-
msgid "
|
510 |
msgstr ""
|
511 |
|
512 |
#: contact-form-7/includes/functions.php:220
|
513 |
-
msgid "
|
514 |
msgstr ""
|
515 |
|
516 |
#: contact-form-7/includes/functions.php:221
|
517 |
-
msgid "
|
518 |
msgstr ""
|
519 |
|
520 |
#: contact-form-7/includes/functions.php:222
|
521 |
-
msgid "
|
522 |
msgstr ""
|
523 |
|
524 |
#: contact-form-7/includes/functions.php:223
|
525 |
-
msgid "
|
526 |
msgstr ""
|
527 |
|
528 |
#: contact-form-7/includes/functions.php:224
|
529 |
-
msgid "
|
530 |
msgstr ""
|
531 |
|
532 |
#: contact-form-7/includes/functions.php:225
|
533 |
-
msgid "
|
534 |
msgstr ""
|
535 |
|
536 |
#: contact-form-7/includes/functions.php:226
|
537 |
-
msgid "
|
538 |
msgstr ""
|
539 |
|
540 |
#: contact-form-7/includes/functions.php:227
|
541 |
-
msgid "
|
542 |
msgstr ""
|
543 |
|
544 |
#: contact-form-7/includes/functions.php:228
|
545 |
-
msgid "
|
546 |
msgstr ""
|
547 |
|
548 |
#: contact-form-7/includes/functions.php:229
|
549 |
-
msgid "
|
550 |
msgstr ""
|
551 |
|
552 |
#: contact-form-7/includes/functions.php:230
|
553 |
-
msgid "
|
554 |
msgstr ""
|
555 |
|
556 |
#: contact-form-7/includes/functions.php:231
|
557 |
-
msgid "
|
558 |
msgstr ""
|
559 |
|
560 |
#: contact-form-7/includes/functions.php:232
|
561 |
-
msgid "
|
562 |
msgstr ""
|
563 |
|
564 |
#: contact-form-7/includes/functions.php:233
|
565 |
-
msgid "
|
566 |
msgstr ""
|
567 |
|
568 |
#: contact-form-7/includes/functions.php:234
|
569 |
-
msgid "
|
570 |
msgstr ""
|
571 |
|
572 |
#: contact-form-7/includes/functions.php:235
|
573 |
-
msgid "
|
574 |
msgstr ""
|
575 |
|
576 |
#: contact-form-7/includes/functions.php:236
|
577 |
-
msgid "
|
578 |
msgstr ""
|
579 |
|
580 |
#: contact-form-7/includes/functions.php:237
|
581 |
-
msgid "
|
582 |
msgstr ""
|
583 |
|
584 |
#: contact-form-7/includes/functions.php:238
|
585 |
-
msgid "
|
586 |
msgstr ""
|
587 |
|
588 |
#: contact-form-7/includes/functions.php:239
|
589 |
-
msgid "
|
590 |
msgstr ""
|
591 |
|
592 |
#: contact-form-7/includes/functions.php:240
|
593 |
-
msgid "
|
594 |
msgstr ""
|
595 |
|
596 |
#: contact-form-7/includes/functions.php:241
|
597 |
-
msgid "
|
598 |
msgstr ""
|
599 |
|
600 |
#: contact-form-7/includes/functions.php:242
|
601 |
-
msgid "
|
602 |
msgstr ""
|
603 |
|
604 |
#: contact-form-7/includes/functions.php:243
|
605 |
-
msgid "
|
606 |
msgstr ""
|
607 |
|
608 |
#: contact-form-7/includes/functions.php:244
|
609 |
-
msgid "
|
610 |
msgstr ""
|
611 |
|
612 |
#: contact-form-7/includes/functions.php:245
|
|
|
|
|
|
|
|
|
613 |
msgid "Vietnamese"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: contact-form-7/modules/acceptance.php:
|
617 |
msgid "Acceptance"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: contact-form-7/modules/acceptance.php:
|
621 |
-
#: contact-form-7/modules/captcha.php:
|
622 |
-
#: contact-form-7/modules/checkbox.php:
|
623 |
-
#: contact-form-7/modules/file.php:
|
624 |
-
#: contact-form-7/modules/quiz.php:
|
625 |
-
#: contact-form-7/modules/select.php:
|
626 |
-
#: contact-form-7/modules/text.php:
|
627 |
-
#: contact-form-7/modules/textarea.php:
|
628 |
msgid "Name"
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: contact-form-7/modules/acceptance.php:167
|
632 |
#: contact-form-7/modules/acceptance.php:170
|
633 |
-
#: contact-form-7/modules/
|
634 |
#: contact-form-7/modules/captcha.php:222
|
635 |
-
#: contact-form-7/modules/captcha.php:
|
636 |
#: contact-form-7/modules/captcha.php:230
|
637 |
-
#: contact-form-7/modules/captcha.php:
|
638 |
-
#: contact-form-7/modules/captcha.php:
|
639 |
#: contact-form-7/modules/captcha.php:248
|
640 |
-
#: contact-form-7/modules/captcha.php:
|
641 |
#: contact-form-7/modules/captcha.php:256
|
642 |
-
#: contact-form-7/modules/
|
643 |
#: contact-form-7/modules/checkbox.php:196
|
644 |
-
#: contact-form-7/modules/
|
645 |
#: contact-form-7/modules/file.php:246
|
646 |
-
#: contact-form-7/modules/file.php:
|
647 |
#: contact-form-7/modules/file.php:254
|
648 |
-
#: contact-form-7/modules/
|
649 |
#: contact-form-7/modules/quiz.php:187
|
650 |
-
#: contact-form-7/modules/quiz.php:
|
651 |
#: contact-form-7/modules/quiz.php:195
|
652 |
-
#: contact-form-7/modules/
|
653 |
#: contact-form-7/modules/select.php:157
|
654 |
-
#: contact-form-7/modules/
|
655 |
#: contact-form-7/modules/submit.php:71
|
656 |
-
#: contact-form-7/modules/submit.php:
|
657 |
-
#: contact-form-7/modules/
|
658 |
#: contact-form-7/modules/text.php:184
|
659 |
-
#: contact-form-7/modules/text.php:
|
660 |
#: contact-form-7/modules/text.php:192
|
661 |
-
#: contact-form-7/modules/text.php:
|
662 |
-
#: contact-form-7/modules/text.php:
|
663 |
-
#: contact-form-7/modules/
|
664 |
#: contact-form-7/modules/textarea.php:145
|
665 |
-
#: contact-form-7/modules/textarea.php:
|
666 |
#: contact-form-7/modules/textarea.php:153
|
667 |
-
#: contact-form-7/modules/textarea.php:
|
|
|
668 |
msgid "optional"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: contact-form-7/modules/acceptance.php:
|
672 |
msgid "Make this checkbox checked by default?"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: contact-form-7/modules/acceptance.php:
|
676 |
msgid "Make this checkbox work inversely?"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: contact-form-7/modules/acceptance.php:
|
680 |
msgid "* That means visitor who accepts the term unchecks it."
|
681 |
msgstr ""
|
682 |
|
683 |
-
#: contact-form-7/modules/acceptance.php:
|
684 |
-
#: contact-form-7/modules/captcha.php:
|
685 |
-
#: contact-form-7/modules/checkbox.php:
|
686 |
-
#: contact-form-7/modules/file.php:
|
687 |
-
#: contact-form-7/modules/quiz.php:
|
688 |
-
#: contact-form-7/modules/select.php:
|
689 |
-
#: contact-form-7/modules/submit.php:
|
690 |
-
#: contact-form-7/modules/text.php:
|
691 |
-
#: contact-form-7/modules/textarea.php:
|
692 |
msgid "Copy this code and paste it into the form left."
|
693 |
msgstr ""
|
694 |
|
695 |
-
#: contact-form-7/modules/akismet.php:
|
696 |
msgid "Akismet judged the sending activity as spamming"
|
697 |
msgstr ""
|
698 |
|
@@ -708,105 +712,105 @@ msgstr ""
|
|
708 |
msgid "Your entered code is incorrect."
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: contact-form-7/modules/captcha.php:
|
712 |
msgid "CAPTCHA"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: contact-form-7/modules/captcha.php:
|
716 |
msgid "Note: To use CAPTCHA, you need Really Simple CAPTCHA plugin installed."
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: contact-form-7/modules/captcha.php:
|
720 |
msgid "Image settings"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: contact-form-7/modules/captcha.php:
|
724 |
msgid "Foreground color"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: contact-form-7/modules/captcha.php:
|
728 |
msgid "Background color"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: contact-form-7/modules/captcha.php:
|
732 |
msgid "Image size"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: contact-form-7/modules/captcha.php:
|
736 |
msgid "Small"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: contact-form-7/modules/captcha.php:
|
740 |
msgid "Medium"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: contact-form-7/modules/captcha.php:
|
744 |
msgid "Large"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: contact-form-7/modules/captcha.php:
|
748 |
msgid "Input field settings"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: contact-form-7/modules/captcha.php:
|
752 |
msgid "For image"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: contact-form-7/modules/captcha.php:
|
756 |
msgid "For input field"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: contact-form-7/modules/captcha.php:
|
760 |
#, php-format
|
761 |
msgid "This contact form contains CAPTCHA fields, but the temporary folder for the files (%s) does not exist or is not writable. You can create the folder or change its permission manually."
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: contact-form-7/modules/captcha.php:
|
765 |
msgid "This contact form contains CAPTCHA fields, but the necessary libraries (GD and FreeType) are not available on your server."
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: contact-form-7/modules/checkbox.php:
|
769 |
msgid "Checkboxes"
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: contact-form-7/modules/checkbox.php:
|
773 |
msgid "Radio buttons"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: contact-form-7/modules/checkbox.php:
|
777 |
-
#: contact-form-7/modules/file.php:
|
778 |
-
#: contact-form-7/modules/select.php:
|
779 |
-
#: contact-form-7/modules/text.php:
|
780 |
-
#: contact-form-7/modules/textarea.php:
|
781 |
msgid "Required field?"
|
782 |
msgstr ""
|
783 |
|
784 |
-
#: contact-form-7/modules/checkbox.php:
|
785 |
-
#: contact-form-7/modules/select.php:
|
786 |
msgid "Choices"
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: contact-form-7/modules/checkbox.php:
|
790 |
-
#: contact-form-7/modules/select.php:
|
791 |
msgid "* One choice per line."
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: contact-form-7/modules/checkbox.php:
|
795 |
msgid "Put a label first, a checkbox last?"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: contact-form-7/modules/checkbox.php:
|
799 |
msgid "Wrap each item with <label> tag?"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#: contact-form-7/modules/checkbox.php:
|
803 |
msgid "Make checkboxes exclusive?"
|
804 |
msgstr ""
|
805 |
|
806 |
-
#: contact-form-7/modules/checkbox.php:
|
807 |
-
#: contact-form-7/modules/select.php:
|
808 |
-
#: contact-form-7/modules/text.php:
|
809 |
-
#: contact-form-7/modules/textarea.php:
|
810 |
msgid "And, put this code into the Mail fields below."
|
811 |
msgstr ""
|
812 |
|
@@ -842,27 +846,27 @@ msgstr ""
|
|
842 |
msgid "Failed to upload file. Error occurred."
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: contact-form-7/modules/file.php:
|
846 |
msgid "File upload"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: contact-form-7/modules/file.php:
|
850 |
msgid "File size limit"
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: contact-form-7/modules/file.php:
|
854 |
msgid "bytes"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: contact-form-7/modules/file.php:
|
858 |
msgid "Acceptable file types"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: contact-form-7/modules/file.php:
|
862 |
msgid "And, put this code into the File Attachments field below."
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: contact-form-7/modules/file.php:
|
866 |
#, php-format
|
867 |
msgid "This contact form contains file uploading fields, but the temporary folder for the files (%s) does not exist or is not writable. You can create the folder or change its permission manually."
|
868 |
msgstr ""
|
@@ -880,73 +884,73 @@ msgstr ""
|
|
880 |
msgid "Your answer is not correct."
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: contact-form-7/modules/quiz.php:
|
884 |
msgid "Quiz"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: contact-form-7/modules/quiz.php:
|
888 |
msgid "Quizzes"
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: contact-form-7/modules/quiz.php:
|
892 |
msgid "* quiz|answer (e.g. 1+1=?|2)"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: contact-form-7/modules/select.php:
|
896 |
msgid "Drop-down menu"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: contact-form-7/modules/select.php:
|
900 |
msgid "Allow multiple selections?"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: contact-form-7/modules/select.php:
|
904 |
msgid "Insert a blank item as the first option?"
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: contact-form-7/modules/submit.php:
|
908 |
msgid "Submit button"
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: contact-form-7/modules/submit.php:
|
912 |
msgid "Label"
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: contact-form-7/modules/text.php:
|
916 |
msgid "Text field"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: contact-form-7/modules/text.php:
|
920 |
msgid "Email field"
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: contact-form-7/modules/text.php:
|
924 |
msgid "Akismet"
|
925 |
msgstr ""
|
926 |
|
927 |
-
#: contact-form-7/modules/text.php:
|
928 |
msgid "This field requires author's name"
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: contact-form-7/modules/text.php:
|
932 |
msgid "This field requires author's URL"
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: contact-form-7/modules/text.php:
|
936 |
msgid "This field requires author's email address"
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: contact-form-7/modules/text.php:
|
940 |
-
#: contact-form-7/modules/textarea.php:
|
941 |
msgid "Default value"
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: contact-form-7/modules/text.php:
|
945 |
-
#: contact-form-7/modules/textarea.php:
|
946 |
msgid "Use this text as watermark?"
|
947 |
msgstr ""
|
948 |
|
949 |
-
#: contact-form-7/modules/textarea.php:
|
950 |
msgid "Text area"
|
951 |
msgstr ""
|
952 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contact Form 7\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-07-30 18:56+0900\n"
|
6 |
+
"PO-Revision-Date: 2012-07-30 18:56+0900\n"
|
7 |
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
25 |
msgstr ""
|
26 |
|
27 |
#: contact-form-7/admin/admin.php:8
|
28 |
+
#: contact-form-7/admin/admin.php:286
|
29 |
#: contact-form-7/admin/edit-contact-form.php:12
|
30 |
msgid "Contact Form 7"
|
31 |
msgstr ""
|
43 |
msgid "Edit"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: contact-form-7/admin/admin.php:41
|
47 |
+
#: contact-form-7/admin/admin.php:113
|
48 |
msgid "You are not allowed to edit this item."
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: contact-form-7/admin/admin.php:154
|
52 |
msgid "You are not allowed to delete this item."
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: contact-form-7/admin/admin.php:157
|
56 |
msgid "Error in deleting."
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: contact-form-7/admin/admin.php:196
|
60 |
#: contact-form-7/includes/classes.php:27
|
61 |
msgid "Contact Forms"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: contact-form-7/admin/admin.php:233
|
65 |
msgid "Generate Tag"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: contact-form-7/admin/admin.php:288
|
69 |
+
#: contact-form-7/admin/admin.php:320
|
70 |
+
#: contact-form-7/admin/admin.php:333
|
71 |
#: contact-form-7/admin/edit-contact-form.php:15
|
72 |
msgid "Add New"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: contact-form-7/admin/admin.php:292
|
76 |
#, php-format
|
77 |
msgid "Search results for “%s”"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: contact-form-7/admin/admin.php:301
|
81 |
msgid "Search Contact Forms"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: contact-form-7/admin/admin.php:319
|
85 |
#, php-format
|
86 |
msgid "Use the default language (%s)"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: contact-form-7/admin/admin.php:323
|
90 |
msgid "Or"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: contact-form-7/admin/admin.php:328
|
94 |
msgid "(select language)"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: contact-form-7/admin/admin.php:340
|
98 |
+
msgid "Form"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: contact-form-7/admin/admin.php:343
|
102 |
+
msgid "Mail"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: contact-form-7/admin/admin.php:346
|
106 |
+
msgid "Mail (2)"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: contact-form-7/admin/admin.php:351
|
110 |
+
msgid "Use mail (2)"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: contact-form-7/admin/admin.php:353
|
114 |
+
msgid "Messages"
|
115 |
msgstr ""
|
116 |
|
117 |
#: contact-form-7/admin/admin.php:356
|
118 |
+
msgid "Additional Settings"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: contact-form-7/admin/admin.php:387
|
122 |
+
msgid "Contact form created."
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: contact-form-7/admin/admin.php:389
|
126 |
msgid "Contact form saved."
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: contact-form-7/admin/admin.php:391
|
130 |
msgid "Contact form deleted."
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: contact-form-7/admin/admin.php:408
|
134 |
msgid "Settings"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: contact-form-7/admin/admin.php:419
|
138 |
msgid "http://contactform7.com/docs/"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: contact-form-7/admin/admin.php:420
|
142 |
msgid "Docs"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: contact-form-7/admin/admin.php:421
|
146 |
msgid "http://contactform7.com/faq/"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: contact-form-7/admin/admin.php:422
|
150 |
msgid "FAQ"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: contact-form-7/admin/admin.php:423
|
154 |
msgid "http://contactform7.com/support/"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: contact-form-7/admin/admin.php:424
|
158 |
msgid "Support"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: contact-form-7/admin/admin.php:455
|
162 |
msgid "Contact Form 7 needs your support. Please donate today."
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: contact-form-7/admin/admin.php:456
|
166 |
msgid "Your contribution is needed for making this plugin better."
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: contact-form-7/admin/admin.php:462
|
170 |
msgid "http://contactform7.com/donate/"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: contact-form-7/admin/admin.php:462
|
174 |
msgid "Donate"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: contact-form-7/admin/admin.php:482
|
178 |
#, php-format
|
179 |
msgid "<strong>Contact Form 7 %1$s requires WordPress %2$s or higher.</strong> Please <a href=\"%3$s\">update WordPress</a> first."
|
180 |
msgstr ""
|
207 |
" 'Cancel' to stop, 'OK' to delete."
|
208 |
msgstr ""
|
209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
#: contact-form-7/admin/includes/class-contact-forms-list-table.php:11
|
211 |
msgid "Title"
|
212 |
msgstr ""
|
274 |
msgid "Contact Form"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: contact-form-7/includes/classes.php:739
|
278 |
msgid "Untitled"
|
279 |
msgstr ""
|
280 |
|
410 |
msgstr ""
|
411 |
|
412 |
#: contact-form-7/includes/functions.php:195
|
413 |
+
msgid "Basque"
|
414 |
msgstr ""
|
415 |
|
416 |
#: contact-form-7/includes/functions.php:196
|
417 |
+
msgid "Belarusian"
|
418 |
msgstr ""
|
419 |
|
420 |
#: contact-form-7/includes/functions.php:197
|
421 |
+
msgid "Bosnian"
|
422 |
msgstr ""
|
423 |
|
424 |
#: contact-form-7/includes/functions.php:198
|
425 |
+
msgid "Brazilian Portuguese"
|
426 |
msgstr ""
|
427 |
|
428 |
#: contact-form-7/includes/functions.php:199
|
429 |
+
msgid "Bulgarian"
|
430 |
msgstr ""
|
431 |
|
432 |
#: contact-form-7/includes/functions.php:200
|
433 |
+
msgid "Catalan"
|
434 |
msgstr ""
|
435 |
|
436 |
#: contact-form-7/includes/functions.php:201
|
437 |
+
msgid "Chinese (Simplified)"
|
438 |
msgstr ""
|
439 |
|
440 |
#: contact-form-7/includes/functions.php:202
|
441 |
+
msgid "Chinese (Traditional)"
|
442 |
msgstr ""
|
443 |
|
444 |
#: contact-form-7/includes/functions.php:203
|
445 |
+
msgid "Croatian"
|
446 |
msgstr ""
|
447 |
|
448 |
#: contact-form-7/includes/functions.php:204
|
449 |
+
msgid "Czech"
|
450 |
msgstr ""
|
451 |
|
452 |
#: contact-form-7/includes/functions.php:205
|
453 |
+
msgid "Danish"
|
454 |
msgstr ""
|
455 |
|
456 |
#: contact-form-7/includes/functions.php:206
|
457 |
+
msgid "Dutch"
|
458 |
msgstr ""
|
459 |
|
460 |
#: contact-form-7/includes/functions.php:207
|
461 |
+
msgid "English"
|
462 |
msgstr ""
|
463 |
|
464 |
#: contact-form-7/includes/functions.php:208
|
465 |
+
msgid "Esperanto"
|
466 |
msgstr ""
|
467 |
|
468 |
#: contact-form-7/includes/functions.php:209
|
469 |
+
msgid "Estonian"
|
470 |
msgstr ""
|
471 |
|
472 |
#: contact-form-7/includes/functions.php:210
|
473 |
+
msgid "Finnish"
|
474 |
msgstr ""
|
475 |
|
476 |
#: contact-form-7/includes/functions.php:211
|
477 |
+
msgid "French"
|
478 |
msgstr ""
|
479 |
|
480 |
#: contact-form-7/includes/functions.php:212
|
481 |
+
msgid "Galician"
|
482 |
msgstr ""
|
483 |
|
484 |
#: contact-form-7/includes/functions.php:213
|
485 |
+
msgid "Georgian"
|
486 |
msgstr ""
|
487 |
|
488 |
#: contact-form-7/includes/functions.php:214
|
489 |
+
msgid "German"
|
490 |
msgstr ""
|
491 |
|
492 |
#: contact-form-7/includes/functions.php:215
|
493 |
+
msgid "Greek"
|
494 |
msgstr ""
|
495 |
|
496 |
#: contact-form-7/includes/functions.php:216
|
497 |
+
msgid "Hebrew"
|
498 |
msgstr ""
|
499 |
|
500 |
#: contact-form-7/includes/functions.php:217
|
501 |
+
msgid "Hindi"
|
502 |
msgstr ""
|
503 |
|
504 |
#: contact-form-7/includes/functions.php:218
|
505 |
+
msgid "Hungarian"
|
506 |
msgstr ""
|
507 |
|
508 |
#: contact-form-7/includes/functions.php:219
|
509 |
+
msgid "Indonesian"
|
510 |
msgstr ""
|
511 |
|
512 |
#: contact-form-7/includes/functions.php:220
|
513 |
+
msgid "Italian"
|
514 |
msgstr ""
|
515 |
|
516 |
#: contact-form-7/includes/functions.php:221
|
517 |
+
msgid "Japanese"
|
518 |
msgstr ""
|
519 |
|
520 |
#: contact-form-7/includes/functions.php:222
|
521 |
+
msgid "Korean"
|
522 |
msgstr ""
|
523 |
|
524 |
#: contact-form-7/includes/functions.php:223
|
525 |
+
msgid "Latvian"
|
526 |
msgstr ""
|
527 |
|
528 |
#: contact-form-7/includes/functions.php:224
|
529 |
+
msgid "Lithuanian"
|
530 |
msgstr ""
|
531 |
|
532 |
#: contact-form-7/includes/functions.php:225
|
533 |
+
msgid "Macedonian"
|
534 |
msgstr ""
|
535 |
|
536 |
#: contact-form-7/includes/functions.php:226
|
537 |
+
msgid "Malay"
|
538 |
msgstr ""
|
539 |
|
540 |
#: contact-form-7/includes/functions.php:227
|
541 |
+
msgid "Malayalam"
|
542 |
msgstr ""
|
543 |
|
544 |
#: contact-form-7/includes/functions.php:228
|
545 |
+
msgid "Maltese"
|
546 |
msgstr ""
|
547 |
|
548 |
#: contact-form-7/includes/functions.php:229
|
549 |
+
msgid "Norwegian"
|
550 |
msgstr ""
|
551 |
|
552 |
#: contact-form-7/includes/functions.php:230
|
553 |
+
msgid "Persian"
|
554 |
msgstr ""
|
555 |
|
556 |
#: contact-form-7/includes/functions.php:231
|
557 |
+
msgid "Polish"
|
558 |
msgstr ""
|
559 |
|
560 |
#: contact-form-7/includes/functions.php:232
|
561 |
+
msgid "Portuguese"
|
562 |
msgstr ""
|
563 |
|
564 |
#: contact-form-7/includes/functions.php:233
|
565 |
+
msgid "Russian"
|
566 |
msgstr ""
|
567 |
|
568 |
#: contact-form-7/includes/functions.php:234
|
569 |
+
msgid "Romanian"
|
570 |
msgstr ""
|
571 |
|
572 |
#: contact-form-7/includes/functions.php:235
|
573 |
+
msgid "Serbian"
|
574 |
msgstr ""
|
575 |
|
576 |
#: contact-form-7/includes/functions.php:236
|
577 |
+
msgid "Sinhala"
|
578 |
msgstr ""
|
579 |
|
580 |
#: contact-form-7/includes/functions.php:237
|
581 |
+
msgid "Slovak"
|
582 |
msgstr ""
|
583 |
|
584 |
#: contact-form-7/includes/functions.php:238
|
585 |
+
msgid "Slovene"
|
586 |
msgstr ""
|
587 |
|
588 |
#: contact-form-7/includes/functions.php:239
|
589 |
+
msgid "Spanish"
|
590 |
msgstr ""
|
591 |
|
592 |
#: contact-form-7/includes/functions.php:240
|
593 |
+
msgid "Swedish"
|
594 |
msgstr ""
|
595 |
|
596 |
#: contact-form-7/includes/functions.php:241
|
597 |
+
msgid "Tamil"
|
598 |
msgstr ""
|
599 |
|
600 |
#: contact-form-7/includes/functions.php:242
|
601 |
+
msgid "Thai"
|
602 |
msgstr ""
|
603 |
|
604 |
#: contact-form-7/includes/functions.php:243
|
605 |
+
msgid "Tagalog"
|
606 |
msgstr ""
|
607 |
|
608 |
#: contact-form-7/includes/functions.php:244
|
609 |
+
msgid "Turkish"
|
610 |
msgstr ""
|
611 |
|
612 |
#: contact-form-7/includes/functions.php:245
|
613 |
+
msgid "Ukrainian"
|
614 |
+
msgstr ""
|
615 |
+
|
616 |
+
#: contact-form-7/includes/functions.php:246
|
617 |
msgid "Vietnamese"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: contact-form-7/modules/acceptance.php:156
|
621 |
msgid "Acceptance"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: contact-form-7/modules/acceptance.php:165
|
625 |
+
#: contact-form-7/modules/captcha.php:215
|
626 |
+
#: contact-form-7/modules/checkbox.php:191
|
627 |
+
#: contact-form-7/modules/file.php:241
|
628 |
+
#: contact-form-7/modules/quiz.php:182
|
629 |
+
#: contact-form-7/modules/select.php:152
|
630 |
+
#: contact-form-7/modules/text.php:179
|
631 |
+
#: contact-form-7/modules/textarea.php:140
|
632 |
msgid "Name"
|
633 |
msgstr ""
|
634 |
|
|
|
635 |
#: contact-form-7/modules/acceptance.php:170
|
636 |
+
#: contact-form-7/modules/acceptance.php:173
|
637 |
#: contact-form-7/modules/captcha.php:222
|
638 |
+
#: contact-form-7/modules/captcha.php:225
|
639 |
#: contact-form-7/modules/captcha.php:230
|
640 |
+
#: contact-form-7/modules/captcha.php:233
|
641 |
+
#: contact-form-7/modules/captcha.php:237
|
642 |
#: contact-form-7/modules/captcha.php:248
|
643 |
+
#: contact-form-7/modules/captcha.php:251
|
644 |
#: contact-form-7/modules/captcha.php:256
|
645 |
+
#: contact-form-7/modules/captcha.php:259
|
646 |
#: contact-form-7/modules/checkbox.php:196
|
647 |
+
#: contact-form-7/modules/checkbox.php:199
|
648 |
#: contact-form-7/modules/file.php:246
|
649 |
+
#: contact-form-7/modules/file.php:249
|
650 |
#: contact-form-7/modules/file.php:254
|
651 |
+
#: contact-form-7/modules/file.php:257
|
652 |
#: contact-form-7/modules/quiz.php:187
|
653 |
+
#: contact-form-7/modules/quiz.php:190
|
654 |
#: contact-form-7/modules/quiz.php:195
|
655 |
+
#: contact-form-7/modules/quiz.php:198
|
656 |
#: contact-form-7/modules/select.php:157
|
657 |
+
#: contact-form-7/modules/select.php:160
|
658 |
#: contact-form-7/modules/submit.php:71
|
659 |
+
#: contact-form-7/modules/submit.php:74
|
660 |
+
#: contact-form-7/modules/submit.php:79
|
661 |
#: contact-form-7/modules/text.php:184
|
662 |
+
#: contact-form-7/modules/text.php:187
|
663 |
#: contact-form-7/modules/text.php:192
|
664 |
+
#: contact-form-7/modules/text.php:195
|
665 |
+
#: contact-form-7/modules/text.php:200
|
666 |
+
#: contact-form-7/modules/text.php:211
|
667 |
#: contact-form-7/modules/textarea.php:145
|
668 |
+
#: contact-form-7/modules/textarea.php:148
|
669 |
#: contact-form-7/modules/textarea.php:153
|
670 |
+
#: contact-form-7/modules/textarea.php:156
|
671 |
+
#: contact-form-7/modules/textarea.php:161
|
672 |
msgid "optional"
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: contact-form-7/modules/acceptance.php:179
|
676 |
msgid "Make this checkbox checked by default?"
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: contact-form-7/modules/acceptance.php:180
|
680 |
msgid "Make this checkbox work inversely?"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: contact-form-7/modules/acceptance.php:181
|
684 |
msgid "* That means visitor who accepts the term unchecks it."
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: contact-form-7/modules/acceptance.php:186
|
688 |
+
#: contact-form-7/modules/captcha.php:264
|
689 |
+
#: contact-form-7/modules/checkbox.php:219
|
690 |
+
#: contact-form-7/modules/file.php:262
|
691 |
+
#: contact-form-7/modules/quiz.php:210
|
692 |
+
#: contact-form-7/modules/select.php:177
|
693 |
+
#: contact-form-7/modules/submit.php:86
|
694 |
+
#: contact-form-7/modules/text.php:219
|
695 |
+
#: contact-form-7/modules/textarea.php:169
|
696 |
msgid "Copy this code and paste it into the form left."
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: contact-form-7/modules/akismet.php:110
|
700 |
msgid "Akismet judged the sending activity as spamming"
|
701 |
msgstr ""
|
702 |
|
712 |
msgid "Your entered code is incorrect."
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: contact-form-7/modules/captcha.php:201
|
716 |
msgid "CAPTCHA"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: contact-form-7/modules/captcha.php:212
|
720 |
msgid "Note: To use CAPTCHA, you need Really Simple CAPTCHA plugin installed."
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: contact-form-7/modules/captcha.php:219
|
724 |
msgid "Image settings"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: contact-form-7/modules/captcha.php:230
|
728 |
msgid "Foreground color"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: contact-form-7/modules/captcha.php:233
|
732 |
msgid "Background color"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: contact-form-7/modules/captcha.php:237
|
736 |
msgid "Image size"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: contact-form-7/modules/captcha.php:238
|
740 |
msgid "Small"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: contact-form-7/modules/captcha.php:239
|
744 |
msgid "Medium"
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: contact-form-7/modules/captcha.php:240
|
748 |
msgid "Large"
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: contact-form-7/modules/captcha.php:245
|
752 |
msgid "Input field settings"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: contact-form-7/modules/captcha.php:265
|
756 |
msgid "For image"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: contact-form-7/modules/captcha.php:267
|
760 |
msgid "For input field"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: contact-form-7/modules/captcha.php:297
|
764 |
#, php-format
|
765 |
msgid "This contact form contains CAPTCHA fields, but the temporary folder for the files (%s) does not exist or is not writable. You can create the folder or change its permission manually."
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: contact-form-7/modules/captcha.php:303
|
769 |
msgid "This contact form contains CAPTCHA fields, but the necessary libraries (GD and FreeType) are not available on your server."
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: contact-form-7/modules/checkbox.php:164
|
773 |
msgid "Checkboxes"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: contact-form-7/modules/checkbox.php:167
|
777 |
msgid "Radio buttons"
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: contact-form-7/modules/checkbox.php:188
|
781 |
+
#: contact-form-7/modules/file.php:240
|
782 |
+
#: contact-form-7/modules/select.php:151
|
783 |
+
#: contact-form-7/modules/text.php:178
|
784 |
+
#: contact-form-7/modules/textarea.php:139
|
785 |
msgid "Required field?"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: contact-form-7/modules/checkbox.php:204
|
789 |
+
#: contact-form-7/modules/select.php:165
|
790 |
msgid "Choices"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: contact-form-7/modules/checkbox.php:206
|
794 |
+
#: contact-form-7/modules/select.php:167
|
795 |
msgid "* One choice per line."
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: contact-form-7/modules/checkbox.php:210
|
799 |
msgid "Put a label first, a checkbox last?"
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: contact-form-7/modules/checkbox.php:211
|
803 |
msgid "Wrap each item with <label> tag?"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: contact-form-7/modules/checkbox.php:213
|
807 |
msgid "Make checkboxes exclusive?"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: contact-form-7/modules/checkbox.php:221
|
811 |
+
#: contact-form-7/modules/select.php:179
|
812 |
+
#: contact-form-7/modules/text.php:221
|
813 |
+
#: contact-form-7/modules/textarea.php:171
|
814 |
msgid "And, put this code into the Mail fields below."
|
815 |
msgstr ""
|
816 |
|
846 |
msgid "Failed to upload file. Error occurred."
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: contact-form-7/modules/file.php:231
|
850 |
msgid "File upload"
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: contact-form-7/modules/file.php:254
|
854 |
msgid "File size limit"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: contact-form-7/modules/file.php:254
|
858 |
msgid "bytes"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: contact-form-7/modules/file.php:257
|
862 |
msgid "Acceptable file types"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: contact-form-7/modules/file.php:264
|
866 |
msgid "And, put this code into the File Attachments field below."
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: contact-form-7/modules/file.php:289
|
870 |
#, php-format
|
871 |
msgid "This contact form contains file uploading fields, but the temporary folder for the files (%s) does not exist or is not writable. You can create the folder or change its permission manually."
|
872 |
msgstr ""
|
884 |
msgid "Your answer is not correct."
|
885 |
msgstr ""
|
886 |
|
887 |
+
#: contact-form-7/modules/quiz.php:173
|
888 |
msgid "Quiz"
|
889 |
msgstr ""
|
890 |
|
891 |
+
#: contact-form-7/modules/quiz.php:203
|
892 |
msgid "Quizzes"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: contact-form-7/modules/quiz.php:205
|
896 |
msgid "* quiz|answer (e.g. 1+1=?|2)"
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: contact-form-7/modules/select.php:142
|
900 |
msgid "Drop-down menu"
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: contact-form-7/modules/select.php:171
|
904 |
msgid "Allow multiple selections?"
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: contact-form-7/modules/select.php:172
|
908 |
msgid "Insert a blank item as the first option?"
|
909 |
msgstr ""
|
910 |
|
911 |
+
#: contact-form-7/modules/submit.php:61
|
912 |
msgid "Submit button"
|
913 |
msgstr ""
|
914 |
|
915 |
+
#: contact-form-7/modules/submit.php:79
|
916 |
msgid "Label"
|
917 |
msgstr ""
|
918 |
|
919 |
+
#: contact-form-7/modules/text.php:155
|
920 |
msgid "Text field"
|
921 |
msgstr ""
|
922 |
|
923 |
+
#: contact-form-7/modules/text.php:158
|
924 |
msgid "Email field"
|
925 |
msgstr ""
|
926 |
|
927 |
+
#: contact-form-7/modules/text.php:200
|
928 |
msgid "Akismet"
|
929 |
msgstr ""
|
930 |
|
931 |
+
#: contact-form-7/modules/text.php:202
|
932 |
msgid "This field requires author's name"
|
933 |
msgstr ""
|
934 |
|
935 |
+
#: contact-form-7/modules/text.php:203
|
936 |
msgid "This field requires author's URL"
|
937 |
msgstr ""
|
938 |
|
939 |
+
#: contact-form-7/modules/text.php:205
|
940 |
msgid "This field requires author's email address"
|
941 |
msgstr ""
|
942 |
|
943 |
+
#: contact-form-7/modules/text.php:211
|
944 |
+
#: contact-form-7/modules/textarea.php:161
|
945 |
msgid "Default value"
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: contact-form-7/modules/text.php:214
|
949 |
+
#: contact-form-7/modules/textarea.php:164
|
950 |
msgid "Use this text as watermark?"
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: contact-form-7/modules/textarea.php:130
|
954 |
msgid "Text area"
|
955 |
msgstr ""
|
956 |
|
modules/acceptance.php
CHANGED
@@ -150,6 +150,9 @@ function wpcf7_acceptance_as_validation() {
|
|
150 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_acceptance', 35 );
|
151 |
|
152 |
function wpcf7_add_tag_generator_acceptance() {
|
|
|
|
|
|
|
153 |
wpcf7_add_tag_generator( 'acceptance', __( 'Acceptance', 'wpcf7' ),
|
154 |
'wpcf7-tg-pane-acceptance', 'wpcf7_tg_pane_acceptance' );
|
155 |
}
|
150 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_acceptance', 35 );
|
151 |
|
152 |
function wpcf7_add_tag_generator_acceptance() {
|
153 |
+
if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
|
154 |
+
return;
|
155 |
+
|
156 |
wpcf7_add_tag_generator( 'acceptance', __( 'Acceptance', 'wpcf7' ),
|
157 |
'wpcf7-tg-pane-acceptance', 'wpcf7_tg_pane_acceptance' );
|
158 |
}
|
modules/akismet.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
** Akismet Filter
|
|
|
4 |
**/
|
5 |
|
6 |
add_filter( 'wpcf7_spam', 'wpcf7_akismet' );
|
@@ -58,7 +59,8 @@ function wpcf7_akismet( $spam ) {
|
|
58 |
$c['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
|
59 |
$c['referrer'] = $_SERVER['HTTP_REFERER'];
|
60 |
|
61 |
-
|
|
|
62 |
|
63 |
if ( $permalink = get_permalink() )
|
64 |
$c['permalink'] = $permalink;
|
1 |
<?php
|
2 |
/**
|
3 |
** Akismet Filter
|
4 |
+
** Akismet API: http://akismet.com/development/api/
|
5 |
**/
|
6 |
|
7 |
add_filter( 'wpcf7_spam', 'wpcf7_akismet' );
|
59 |
$c['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
|
60 |
$c['referrer'] = $_SERVER['HTTP_REFERER'];
|
61 |
|
62 |
+
// http://blog.akismet.com/2012/06/19/pro-tip-tell-us-your-comment_type/
|
63 |
+
$c['comment_type'] = 'contact-form';
|
64 |
|
65 |
if ( $permalink = get_permalink() )
|
66 |
$c['permalink'] = $permalink;
|
modules/captcha.php
CHANGED
@@ -195,6 +195,9 @@ function wpcf7_captcha_messages( $messages ) {
|
|
195 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_captcha', 45 );
|
196 |
|
197 |
function wpcf7_add_tag_generator_captcha() {
|
|
|
|
|
|
|
198 |
wpcf7_add_tag_generator( 'captcha', __( 'CAPTCHA', 'wpcf7' ),
|
199 |
'wpcf7-tg-pane-captcha', 'wpcf7_tg_pane_captcha' );
|
200 |
}
|
195 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_captcha', 45 );
|
196 |
|
197 |
function wpcf7_add_tag_generator_captcha() {
|
198 |
+
if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
|
199 |
+
return;
|
200 |
+
|
201 |
wpcf7_add_tag_generator( 'captcha', __( 'CAPTCHA', 'wpcf7' ),
|
202 |
'wpcf7-tg-pane-captcha', 'wpcf7_tg_pane_captcha' );
|
203 |
}
|
modules/checkbox.php
CHANGED
@@ -158,6 +158,9 @@ function wpcf7_checkbox_validation_filter( $result, $tag ) {
|
|
158 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_checkbox_and_radio', 30 );
|
159 |
|
160 |
function wpcf7_add_tag_generator_checkbox_and_radio() {
|
|
|
|
|
|
|
161 |
wpcf7_add_tag_generator( 'checkbox', __( 'Checkboxes', 'wpcf7' ),
|
162 |
'wpcf7-tg-pane-checkbox', 'wpcf7_tg_pane_checkbox' );
|
163 |
|
158 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_checkbox_and_radio', 30 );
|
159 |
|
160 |
function wpcf7_add_tag_generator_checkbox_and_radio() {
|
161 |
+
if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
|
162 |
+
return;
|
163 |
+
|
164 |
wpcf7_add_tag_generator( 'checkbox', __( 'Checkboxes', 'wpcf7' ),
|
165 |
'wpcf7-tg-pane-checkbox', 'wpcf7_tg_pane_checkbox' );
|
166 |
|
modules/file.php
CHANGED
@@ -225,6 +225,9 @@ function wpcf7_file_messages( $messages ) {
|
|
225 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_file', 50 );
|
226 |
|
227 |
function wpcf7_add_tag_generator_file() {
|
|
|
|
|
|
|
228 |
wpcf7_add_tag_generator( 'file', __( 'File upload', 'wpcf7' ),
|
229 |
'wpcf7-tg-pane-file', 'wpcf7_tg_pane_file' );
|
230 |
}
|
225 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_file', 50 );
|
226 |
|
227 |
function wpcf7_add_tag_generator_file() {
|
228 |
+
if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
|
229 |
+
return;
|
230 |
+
|
231 |
wpcf7_add_tag_generator( 'file', __( 'File upload', 'wpcf7' ),
|
232 |
'wpcf7-tg-pane-file', 'wpcf7_tg_pane_file' );
|
233 |
}
|
modules/flamingo.php
CHANGED
@@ -41,9 +41,22 @@ function wpcf7_flamingo_before_send_mail( $contactform ) {
|
|
41 |
unset( $posted_data[$key] );
|
42 |
}
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
$args = array(
|
45 |
'channel' => 'contact-form-7',
|
46 |
'fields' => $posted_data,
|
|
|
47 |
'email' => '',
|
48 |
'name' => '',
|
49 |
'from' => '',
|
41 |
unset( $posted_data[$key] );
|
42 |
}
|
43 |
|
44 |
+
$meta = array(
|
45 |
+
'remote_ip' => apply_filters( 'wpcf7_special_mail_tags', '', '_remote_ip' ),
|
46 |
+
'url' => apply_filters( 'wpcf7_special_mail_tags', '', '_url' ),
|
47 |
+
'date' => apply_filters( 'wpcf7_special_mail_tags', '', '_date' ),
|
48 |
+
'time' => apply_filters( 'wpcf7_special_mail_tags', '', '_time' ),
|
49 |
+
'post_id' => apply_filters( 'wpcf7_special_mail_tags', '', '_post_id' ),
|
50 |
+
'post_name' => apply_filters( 'wpcf7_special_mail_tags', '', '_post_name' ),
|
51 |
+
'post_title' => apply_filters( 'wpcf7_special_mail_tags', '', '_post_title' ),
|
52 |
+
'post_url' => apply_filters( 'wpcf7_special_mail_tags', '', '_post_url' ),
|
53 |
+
'post_author' => apply_filters( 'wpcf7_special_mail_tags', '', '_post_author' ),
|
54 |
+
'post_author_email' => apply_filters( 'wpcf7_special_mail_tags', '', '_post_author_email' ) );
|
55 |
+
|
56 |
$args = array(
|
57 |
'channel' => 'contact-form-7',
|
58 |
'fields' => $posted_data,
|
59 |
+
'meta' => $meta,
|
60 |
'email' => '',
|
61 |
'name' => '',
|
62 |
'from' => '',
|
modules/quiz.php
CHANGED
@@ -167,6 +167,9 @@ function wpcf7_quiz_messages( $messages ) {
|
|
167 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_quiz', 40 );
|
168 |
|
169 |
function wpcf7_add_tag_generator_quiz() {
|
|
|
|
|
|
|
170 |
wpcf7_add_tag_generator( 'quiz', __( 'Quiz', 'wpcf7' ),
|
171 |
'wpcf7-tg-pane-quiz', 'wpcf7_tg_pane_quiz' );
|
172 |
}
|
167 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_quiz', 40 );
|
168 |
|
169 |
function wpcf7_add_tag_generator_quiz() {
|
170 |
+
if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
|
171 |
+
return;
|
172 |
+
|
173 |
wpcf7_add_tag_generator( 'quiz', __( 'Quiz', 'wpcf7' ),
|
174 |
'wpcf7-tg-pane-quiz', 'wpcf7_tg_pane_quiz' );
|
175 |
}
|
modules/select.php
CHANGED
@@ -136,6 +136,9 @@ function wpcf7_select_validation_filter( $result, $tag ) {
|
|
136 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_menu', 25 );
|
137 |
|
138 |
function wpcf7_add_tag_generator_menu() {
|
|
|
|
|
|
|
139 |
wpcf7_add_tag_generator( 'menu', __( 'Drop-down menu', 'wpcf7' ),
|
140 |
'wpcf7-tg-pane-menu', 'wpcf7_tg_pane_menu' );
|
141 |
}
|
136 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_menu', 25 );
|
137 |
|
138 |
function wpcf7_add_tag_generator_menu() {
|
139 |
+
if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
|
140 |
+
return;
|
141 |
+
|
142 |
wpcf7_add_tag_generator( 'menu', __( 'Drop-down menu', 'wpcf7' ),
|
143 |
'wpcf7-tg-pane-menu', 'wpcf7_tg_pane_menu' );
|
144 |
}
|
modules/submit.php
CHANGED
@@ -55,6 +55,9 @@ function wpcf7_submit_shortcode_handler( $tag ) {
|
|
55 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_submit', 55 );
|
56 |
|
57 |
function wpcf7_add_tag_generator_submit() {
|
|
|
|
|
|
|
58 |
wpcf7_add_tag_generator( 'submit', __( 'Submit button', 'wpcf7' ),
|
59 |
'wpcf7-tg-pane-submit', 'wpcf7_tg_pane_submit', array( 'nameless' => 1 ) );
|
60 |
}
|
55 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_submit', 55 );
|
56 |
|
57 |
function wpcf7_add_tag_generator_submit() {
|
58 |
+
if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
|
59 |
+
return;
|
60 |
+
|
61 |
wpcf7_add_tag_generator( 'submit', __( 'Submit button', 'wpcf7' ),
|
62 |
'wpcf7-tg-pane-submit', 'wpcf7_tg_pane_submit', array( 'nameless' => 1 ) );
|
63 |
}
|
modules/text.php
CHANGED
@@ -149,6 +149,9 @@ function wpcf7_text_validation_filter( $result, $tag ) {
|
|
149 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_text_and_email', 15 );
|
150 |
|
151 |
function wpcf7_add_tag_generator_text_and_email() {
|
|
|
|
|
|
|
152 |
wpcf7_add_tag_generator( 'text', __( 'Text field', 'wpcf7' ),
|
153 |
'wpcf7-tg-pane-text', 'wpcf7_tg_pane_text' );
|
154 |
|
149 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_text_and_email', 15 );
|
150 |
|
151 |
function wpcf7_add_tag_generator_text_and_email() {
|
152 |
+
if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
|
153 |
+
return;
|
154 |
+
|
155 |
wpcf7_add_tag_generator( 'text', __( 'Text field', 'wpcf7' ),
|
156 |
'wpcf7-tg-pane-text', 'wpcf7_tg_pane_text' );
|
157 |
|
modules/textarea.php
CHANGED
@@ -124,6 +124,9 @@ function wpcf7_textarea_validation_filter( $result, $tag ) {
|
|
124 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_textarea', 20 );
|
125 |
|
126 |
function wpcf7_add_tag_generator_textarea() {
|
|
|
|
|
|
|
127 |
wpcf7_add_tag_generator( 'textarea', __( 'Text area', 'wpcf7' ),
|
128 |
'wpcf7-tg-pane-textarea', 'wpcf7_tg_pane_textarea' );
|
129 |
}
|
124 |
add_action( 'admin_init', 'wpcf7_add_tag_generator_textarea', 20 );
|
125 |
|
126 |
function wpcf7_add_tag_generator_textarea() {
|
127 |
+
if ( ! function_exists( 'wpcf7_add_tag_generator' ) )
|
128 |
+
return;
|
129 |
+
|
130 |
wpcf7_add_tag_generator( 'textarea', __( 'Text area', 'wpcf7' ),
|
131 |
'wpcf7-tg-pane-textarea', 'wpcf7_tg_pane_textarea' );
|
132 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: takayukister
|
|
3 |
Donate link: http://contactform7.com/donate/
|
4 |
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
|
5 |
Requires at least: 3.2
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 3.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -30,6 +30,7 @@ It is hard to continue development and support for this plugin without contribut
|
|
30 |
* Armenian (hy_AM) - [Emmanuelle Traduction](http://www.translatonline.com/)
|
31 |
* Azerbaijani (az_AZ) - [Zaur Bayramov](http://bloglayaq.com/)
|
32 |
* Bangla (bn_BD) - [SM Mehdi Akram](http://www.shamokaldarpon.com/)
|
|
|
33 |
* Belarusian (be_BY) - [Igor Dubilei](http://www.iflexion.com/)
|
34 |
* Bosnian (bs) - [Vedran](http://www.seorabbit.com/)
|
35 |
* Brazilian Portuguese (pt_BR) - [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/), [Henrique Vianna](http://henriquevianna.com/), [Caciano Gabriel Batista](http://www.gn10.com.br/), [Gervásio Antônio](http://twitter.com/gervasioantonio)
|
@@ -64,7 +65,7 @@ It is hard to continue development and support for this plugin without contribut
|
|
64 |
* Maltese (mt_MT) - [Ajoft Technologies](http://www.ajoft.com/)
|
65 |
* Norwegian (nb_NO) - Kjetil M. Bergem, [aanvik.net](http://www.aanvik.net), [Peter Holme](http://holme.se/nettsteder/)
|
66 |
* Persian (Farsi; fa_IR) - [Mohammad Musavi](http://www.musavis.com/), [Mohsen Firoozmandan](http://www.rankbazar.com/)
|
67 |
-
* Polish (pl_PL) - [Zbigniew Czernik](http://zibik.jogger.pl/), [Daniel Fruzynski](http://www.poradnik-webmastera.com), [RafalDesign](http://www.rafaldesign.pl/)
|
68 |
* Portuguese (pt_PT) - [Hugo Baeta](http://hugobaeta.com), [Pedro Nave](http://pedronave.com/)
|
69 |
* Russian (ru_RU) - Dmitry Volotovich, [kg69design](http://kg69design.com/), [Denis Voituk](http://artprima.cz/)
|
70 |
* Romanian (ro_RO) - [Stas Sushkov](http://stas.nerd.ro/), [Anunturi Jibo](http://www.jibo.ro/), [Marius Olar](http://webdudes.ro/)
|
@@ -103,7 +104,6 @@ Do you have questions or issues with Contact Form 7? Use these support channels
|
|
103 |
1. [Docs](http://contactform7.com/docs/)
|
104 |
1. [FAQ](http://contactform7.com/faq/)
|
105 |
1. [Support Forum](http://wordpress.org/support/plugin/contact-form-7)
|
106 |
-
1. [WordPress HelpCenter](http://wphelpcenter.com/plugins/contact-form-7/)
|
107 |
|
108 |
[Support](http://contactform7.com/support/)
|
109 |
|
@@ -113,6 +113,18 @@ Do you have questions or issues with Contact Form 7? Use these support channels
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
= 3.2 =
|
117 |
|
118 |
* Enhanced admin panel. Introduced list table view for contact forms.
|
3 |
Donate link: http://contactform7.com/donate/
|
4 |
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
|
5 |
Requires at least: 3.2
|
6 |
+
Tested up to: 3.4.1
|
7 |
+
Stable tag: 3.2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
30 |
* Armenian (hy_AM) - [Emmanuelle Traduction](http://www.translatonline.com/)
|
31 |
* Azerbaijani (az_AZ) - [Zaur Bayramov](http://bloglayaq.com/)
|
32 |
* Bangla (bn_BD) - [SM Mehdi Akram](http://www.shamokaldarpon.com/)
|
33 |
+
* Basque (Euskara; eu) - [karrikas](http://blog.karrikas.com/)
|
34 |
* Belarusian (be_BY) - [Igor Dubilei](http://www.iflexion.com/)
|
35 |
* Bosnian (bs) - [Vedran](http://www.seorabbit.com/)
|
36 |
* Brazilian Portuguese (pt_BR) - [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/), [Henrique Vianna](http://henriquevianna.com/), [Caciano Gabriel Batista](http://www.gn10.com.br/), [Gervásio Antônio](http://twitter.com/gervasioantonio)
|
65 |
* Maltese (mt_MT) - [Ajoft Technologies](http://www.ajoft.com/)
|
66 |
* Norwegian (nb_NO) - Kjetil M. Bergem, [aanvik.net](http://www.aanvik.net), [Peter Holme](http://holme.se/nettsteder/)
|
67 |
* Persian (Farsi; fa_IR) - [Mohammad Musavi](http://www.musavis.com/), [Mohsen Firoozmandan](http://www.rankbazar.com/)
|
68 |
+
* Polish (pl_PL) - [Zbigniew Czernik](http://zibik.jogger.pl/), [Daniel Fruzynski](http://www.poradnik-webmastera.com), [RafalDesign](http://www.rafaldesign.pl/), [Bartosz Arendt](http://digitalfactory.pl/)
|
69 |
* Portuguese (pt_PT) - [Hugo Baeta](http://hugobaeta.com), [Pedro Nave](http://pedronave.com/)
|
70 |
* Russian (ru_RU) - Dmitry Volotovich, [kg69design](http://kg69design.com/), [Denis Voituk](http://artprima.cz/)
|
71 |
* Romanian (ro_RO) - [Stas Sushkov](http://stas.nerd.ro/), [Anunturi Jibo](http://www.jibo.ro/), [Marius Olar](http://webdudes.ro/)
|
104 |
1. [Docs](http://contactform7.com/docs/)
|
105 |
1. [FAQ](http://contactform7.com/faq/)
|
106 |
1. [Support Forum](http://wordpress.org/support/plugin/contact-form-7)
|
|
|
107 |
|
108 |
[Support](http://contactform7.com/support/)
|
109 |
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 3.2.1 =
|
117 |
+
|
118 |
+
* Fixed: Error for use of array_key_exists function with invalid first argument.
|
119 |
+
* Fixed: Adding unnecessary rewrite rules.
|
120 |
+
* Fixed: "Screen Options" doesn't appear on each contact form edit screen.
|
121 |
+
* Change the comment_type value sent to Akismet from 'contactform7' to 'contact-form' following their blog post.
|
122 |
+
* Introduce wpcf7_add_meta_boxes function and action with the same name. This makes it easier to add custom meta boxes to the edit screen.
|
123 |
+
* Pass meta informations of each form submission (e.g. client's IP address) to Flamingo.
|
124 |
+
* The jQuery Form Plugin (jquery.form.js) has been updated to 3.14 and compressed with YUI compressor.
|
125 |
+
* Translation for Basque has been created.
|
126 |
+
* Translations for German, Italian, and Polish have been updated.
|
127 |
+
|
128 |
= 3.2 =
|
129 |
|
130 |
* Enhanced admin panel. Introduced list table view for contact forms.
|
wp-contact-form-7.php
CHANGED
@@ -7,7 +7,7 @@ Author: Takayuki Miyoshi
|
|
7 |
Author URI: http://ideasilo.wordpress.com/
|
8 |
Text Domain: wpcf7
|
9 |
Domain Path: /languages/
|
10 |
-
Version: 3.2
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2007-2012 Takayuki Miyoshi (email: takayukister at gmail.com)
|
@@ -27,7 +27,7 @@ Version: 3.2
|
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
30 |
-
define( 'WPCF7_VERSION', '3.2' );
|
31 |
|
32 |
define( 'WPCF7_REQUIRED_WP_VERSION', '3.2' );
|
33 |
|
7 |
Author URI: http://ideasilo.wordpress.com/
|
8 |
Text Domain: wpcf7
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 3.2.1
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2007-2012 Takayuki Miyoshi (email: takayukister at gmail.com)
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
30 |
+
define( 'WPCF7_VERSION', '3.2.1' );
|
31 |
|
32 |
define( 'WPCF7_REQUIRED_WP_VERSION', '3.2' );
|
33 |
|