Merge lp:~yoboy-leguesh/ubuntu-party/bug720119 into lp:ubuntu-party

Proposed by YoBoY
Status: Merged
Merged at revision: 7
Proposed branch: lp:~yoboy-leguesh/ubuntu-party/bug720119
Merge into: lp:ubuntu-party
Diff against target: 8305 lines (+7976/-0)
37 files modified
wp-content/plugins/contact-form-7/admin/admin.php (+370/-0)
wp-content/plugins/contact-form-7/admin/edit.php (+351/-0)
wp-content/plugins/contact-form-7/admin/scripts.js (+116/-0)
wp-content/plugins/contact-form-7/admin/styles-rtl.css (+22/-0)
wp-content/plugins/contact-form-7/admin/styles.css (+248/-0)
wp-content/plugins/contact-form-7/admin/taggenerator.js (+262/-0)
wp-content/plugins/contact-form-7/includes/classes.php (+645/-0)
wp-content/plugins/contact-form-7/includes/controller.php (+288/-0)
wp-content/plugins/contact-form-7/includes/formatting.php (+144/-0)
wp-content/plugins/contact-form-7/includes/functions.php (+225/-0)
wp-content/plugins/contact-form-7/includes/pipe.php (+67/-0)
wp-content/plugins/contact-form-7/includes/shortcodes.php (+171/-0)
wp-content/plugins/contact-form-7/includes/taggenerator.php (+49/-0)
wp-content/plugins/contact-form-7/jquery.form.js (+791/-0)
wp-content/plugins/contact-form-7/languages/readme.txt (+9/-0)
wp-content/plugins/contact-form-7/languages/wpcf7.pot (+842/-0)
wp-content/plugins/contact-form-7/license.txt (+339/-0)
wp-content/plugins/contact-form-7/modules/acceptance.php (+186/-0)
wp-content/plugins/contact-form-7/modules/captcha.php (+490/-0)
wp-content/plugins/contact-form-7/modules/checkbox.php (+244/-0)
wp-content/plugins/contact-form-7/modules/file.php (+349/-0)
wp-content/plugins/contact-form-7/modules/icl.php (+79/-0)
wp-content/plugins/contact-form-7/modules/quiz.php (+214/-0)
wp-content/plugins/contact-form-7/modules/response.php (+17/-0)
wp-content/plugins/contact-form-7/modules/select.php (+193/-0)
wp-content/plugins/contact-form-7/modules/special-mail-tags.php (+69/-0)
wp-content/plugins/contact-form-7/modules/submit.php (+97/-0)
wp-content/plugins/contact-form-7/modules/text.php (+210/-0)
wp-content/plugins/contact-form-7/modules/textarea.php (+172/-0)
wp-content/plugins/contact-form-7/readme.txt (+136/-0)
wp-content/plugins/contact-form-7/scripts.js (+198/-0)
wp-content/plugins/contact-form-7/settings.php (+111/-0)
wp-content/plugins/contact-form-7/styles-rtl.css (+12/-0)
wp-content/plugins/contact-form-7/styles.css (+65/-0)
wp-content/plugins/contact-form-7/uninstall.php (+18/-0)
wp-content/plugins/contact-form-7/wp-contact-form-7.php (+69/-0)
wp-content/themes/ubuntu-party_light/images/icons/up_mail.svg (+108/-0)
To merge this branch: bzr merge lp:~yoboy-leguesh/ubuntu-party/bug720119
Reviewer Review Type Date Requested Status
Ubuntu Party WebApps Developpers Pending
Review via email: mp+50354@code.launchpad.net

Description of the change

Ajout d'un plugin de contact, et d'une icone enveloppe

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory 'wp-content/plugins/contact-form-7'
=== added directory 'wp-content/plugins/contact-form-7/admin'
=== added file 'wp-content/plugins/contact-form-7/admin/admin.php'
--- wp-content/plugins/contact-form-7/admin/admin.php 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/admin/admin.php 2011-02-18 16:15:41 +0000
@@ -0,0 +1,370 @@
1<?php
2
3function wpcf7_admin_has_edit_cap() {
4 return current_user_can( WPCF7_ADMIN_READ_WRITE_CAPABILITY );
5}
6
7add_action( 'admin_menu', 'wpcf7_admin_add_pages', 9 );
8
9function wpcf7_admin_add_pages() {
10
11 if ( isset( $_POST['wpcf7-save'] ) && wpcf7_admin_has_edit_cap() ) {
12 $id = $_POST['wpcf7-id'];
13 check_admin_referer( 'wpcf7-save_' . $id );
14
15 if ( ! $contact_form = wpcf7_contact_form( $id ) ) {
16 $contact_form = new WPCF7_ContactForm();
17 $contact_form->initial = true;
18 }
19
20 $title = trim( $_POST['wpcf7-title'] );
21
22 $form = trim( $_POST['wpcf7-form'] );
23
24 $mail = array(
25 'subject' => trim( $_POST['wpcf7-mail-subject'] ),
26 'sender' => trim( $_POST['wpcf7-mail-sender'] ),
27 'body' => trim( $_POST['wpcf7-mail-body'] ),
28 'recipient' => trim( $_POST['wpcf7-mail-recipient'] ),
29 'additional_headers' => trim( $_POST['wpcf7-mail-additional-headers'] ),
30 'attachments' => trim( $_POST['wpcf7-mail-attachments'] ),
31 'use_html' =>
32 isset( $_POST['wpcf7-mail-use-html'] ) && 1 == $_POST['wpcf7-mail-use-html']
33 );
34
35 $mail_2 = array(
36 'active' =>
37 isset( $_POST['wpcf7-mail-2-active'] ) && 1 == $_POST['wpcf7-mail-2-active'],
38 'subject' => trim( $_POST['wpcf7-mail-2-subject'] ),
39 'sender' => trim( $_POST['wpcf7-mail-2-sender'] ),
40 'body' => trim( $_POST['wpcf7-mail-2-body'] ),
41 'recipient' => trim( $_POST['wpcf7-mail-2-recipient'] ),
42 'additional_headers' => trim( $_POST['wpcf7-mail-2-additional-headers'] ),
43 'attachments' => trim( $_POST['wpcf7-mail-2-attachments'] ),
44 'use_html' =>
45 isset( $_POST['wpcf7-mail-2-use-html'] ) && 1 == $_POST['wpcf7-mail-2-use-html']
46 );
47
48 $messages = $contact_form->messages;
49 foreach ( wpcf7_messages() as $key => $arr ) {
50 $field_name = 'wpcf7-message-' . strtr( $key, '_', '-' );
51 if ( isset( $_POST[$field_name] ) )
52 $messages[$key] = trim( $_POST[$field_name] );
53 }
54
55 $additional_settings = trim( $_POST['wpcf7-additional-settings'] );
56
57 $query = array();
58 $query['message'] = ( $contact_form->initial ) ? 'created' : 'saved';
59
60 $contact_form->title = $title;
61 $contact_form->form = $form;
62 $contact_form->mail = $mail;
63 $contact_form->mail_2 = $mail_2;
64 $contact_form->messages = $messages;
65 $contact_form->additional_settings = $additional_settings;
66
67 $contact_form->save();
68
69 $query['contactform'] = $contact_form->id;
70 $redirect_to = wpcf7_admin_url( $query );
71 wp_redirect( $redirect_to );
72 exit();
73 } elseif ( isset( $_POST['wpcf7-copy'] ) && wpcf7_admin_has_edit_cap() ) {
74 $id = $_POST['wpcf7-id'];
75 check_admin_referer( 'wpcf7-copy_' . $id );
76
77 $query = array();
78
79 if ( $contact_form = wpcf7_contact_form( $id ) ) {
80 $new_contact_form = $contact_form->copy();
81 $new_contact_form->save();
82
83 $query['contactform'] = $new_contact_form->id;
84 $query['message'] = 'created';
85 } else {
86 $query['contactform'] = $contact_form->id;
87 }
88
89 $redirect_to = wpcf7_admin_url( $query );
90 wp_redirect( $redirect_to );
91 exit();
92 } elseif ( isset( $_POST['wpcf7-delete'] ) && wpcf7_admin_has_edit_cap() ) {
93 $id = $_POST['wpcf7-id'];
94 check_admin_referer( 'wpcf7-delete_' . $id );
95
96 if ( $contact_form = wpcf7_contact_form( $id ) )
97 $contact_form->delete();
98
99 $redirect_to = wpcf7_admin_url( array( 'message' => 'deleted' ) );
100 wp_redirect( $redirect_to );
101 exit();
102 } elseif ( isset( $_GET['wpcf7-create-table'] ) ) {
103 check_admin_referer( 'wpcf7-create-table' );
104
105 $query = array();
106
107 if ( ! wpcf7_table_exists() && current_user_can( 'activate_plugins' ) ) {
108 wpcf7_install();
109 if ( wpcf7_table_exists() ) {
110 $query['message'] = 'table_created';
111 } else {
112 $query['message'] = 'table_not_created';
113 }
114 }
115
116 wp_redirect( wpcf7_admin_url( $query ) );
117 exit();
118 }
119
120 add_menu_page( __( 'Contact Form 7', 'wpcf7' ), __( 'Contact', 'wpcf7' ),
121 WPCF7_ADMIN_READ_CAPABILITY, 'wpcf7', 'wpcf7_admin_management_page' );
122
123 add_submenu_page( 'wpcf7', __( 'Edit Contact Forms', 'wpcf7' ), __( 'Edit', 'wpcf7' ),
124 WPCF7_ADMIN_READ_CAPABILITY, 'wpcf7', 'wpcf7_admin_management_page' );
125}
126
127add_action( 'admin_print_styles', 'wpcf7_admin_enqueue_styles' );
128
129function wpcf7_admin_enqueue_styles() {
130 global $plugin_page;
131
132 if ( ! isset( $plugin_page ) || 'wpcf7' != $plugin_page )
133 return;
134
135 wp_enqueue_style( 'thickbox' );
136
137 wp_enqueue_style( 'contact-form-7-admin', wpcf7_plugin_url( 'admin/styles.css' ),
138 array(), WPCF7_VERSION, 'all' );
139
140 if ( 'rtl' == get_bloginfo( 'text_direction' ) ) {
141 wp_enqueue_style( 'contact-form-7-admin-rtl',
142 wpcf7_plugin_url( 'admin/styles-rtl.css' ), array(), WPCF7_VERSION, 'all' );
143 }
144}
145
146add_action( 'admin_print_scripts', 'wpcf7_admin_enqueue_scripts' );
147
148function wpcf7_admin_enqueue_scripts() {
149 global $plugin_page;
150
151 if ( ! isset( $plugin_page ) || 'wpcf7' != $plugin_page )
152 return;
153
154 wp_enqueue_script( 'thickbox' );
155
156 wp_enqueue_script( 'wpcf7-admin-taggenerator', wpcf7_plugin_url( 'admin/taggenerator.js' ),
157 array( 'jquery' ), WPCF7_VERSION, true );
158
159 wp_enqueue_script( 'wpcf7-admin', wpcf7_plugin_url( 'admin/scripts.js' ),
160 array( 'jquery', 'wpcf7-admin-taggenerator' ), WPCF7_VERSION, true );
161 wp_localize_script( 'wpcf7-admin', '_wpcf7L10n', array(
162 'generateTag' => __( 'Generate Tag', 'wpcf7' ),
163 'show' => __( "Show", 'wpcf7' ),
164 'hide' => __( "Hide", 'wpcf7' ) ) );
165}
166
167add_action( 'admin_footer', 'wpcf7_admin_footer' );
168
169function wpcf7_admin_footer() {
170 global $plugin_page;
171
172 if ( ! isset( $plugin_page ) || 'wpcf7' != $plugin_page )
173 return;
174
175?>
176<script type="text/javascript">
177/* <![CDATA[ */
178var _wpcf7 = {
179 pluginUrl: '<?php echo wpcf7_plugin_url(); ?>',
180 tagGenerators: {
181<?php wpcf7_print_tag_generators(); ?>
182 }
183};
184/* ]]> */
185</script>
186<?php
187}
188
189function wpcf7_admin_management_page() {
190 $contact_forms = wpcf7_contact_forms();
191
192 $unsaved = false;
193
194 if ( ! isset( $_GET['contactform'] ) )
195 $_GET['contactform'] = '';
196
197 if ( 'new' == $_GET['contactform'] ) {
198 $unsaved = true;
199 $current = -1;
200 $cf = wpcf7_contact_form_default_pack( isset( $_GET['locale'] ) ? $_GET['locale'] : '' );
201 } elseif ( $cf = wpcf7_contact_form( $_GET['contactform'] ) ) {
202 $current = (int) $_GET['contactform'];
203 } else {
204 $first = reset( $contact_forms ); // Returns first item
205 $current = $first->id;
206 $cf = wpcf7_contact_form( $current );
207 }
208
209 require_once WPCF7_PLUGIN_DIR . '/admin/edit.php';
210}
211
212/* Install and default settings */
213
214add_action( 'activate_' . WPCF7_PLUGIN_BASENAME, 'wpcf7_install' );
215
216function wpcf7_install() {
217 global $wpdb, $wpcf7;
218
219 if ( wpcf7_table_exists() )
220 return; // Exists already
221
222 $charset_collate = '';
223 if ( $wpdb->has_cap( 'collation' ) ) {
224 if ( ! empty( $wpdb->charset ) )
225 $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
226 if ( ! empty( $wpdb->collate ) )
227 $charset_collate .= " COLLATE $wpdb->collate";
228 }
229
230 $wpdb->query( "CREATE TABLE IF NOT EXISTS $wpcf7->contactforms (
231 cf7_unit_id bigint(20) unsigned NOT NULL auto_increment,
232 title varchar(200) NOT NULL default '',
233 form text NOT NULL,
234 mail text NOT NULL,
235 mail_2 text NOT NULL,
236 messages text NOT NULL,
237 additional_settings text NOT NULL,
238 PRIMARY KEY (cf7_unit_id)) $charset_collate;" );
239
240 if ( ! wpcf7_table_exists() )
241 return false; // Failed to create
242
243 $legacy_data = get_option( 'wpcf7' );
244 if ( is_array( $legacy_data )
245 && is_array( $legacy_data['contact_forms'] ) && $legacy_data['contact_forms'] ) {
246 foreach ( $legacy_data['contact_forms'] as $key => $value ) {
247 $wpdb->insert( $wpcf7->contactforms, array(
248 'cf7_unit_id' => $key,
249 'title' => $value['title'],
250 'form' => maybe_serialize( $value['form'] ),
251 'mail' => maybe_serialize( $value['mail'] ),
252 'mail_2' => maybe_serialize( $value['mail_2'] ),
253 'messages' => maybe_serialize( $value['messages'] ),
254 'additional_settings' => maybe_serialize( $value['additional_settings'] )
255 ), array( '%d', '%s', '%s', '%s', '%s', '%s', '%s' ) );
256 }
257 } else {
258 wpcf7_load_plugin_textdomain();
259
260 $wpdb->insert( $wpcf7->contactforms, array(
261 'title' => __( 'Contact form', 'wpcf7' ) . ' 1',
262 'form' => maybe_serialize( wpcf7_default_form_template() ),
263 'mail' => maybe_serialize( wpcf7_default_mail_template() ),
264 'mail_2' => maybe_serialize ( wpcf7_default_mail_2_template() ),
265 'messages' => maybe_serialize( wpcf7_default_messages_template() ) ) );
266 }
267}
268
269/* Misc */
270
271add_filter( 'plugin_action_links', 'wpcf7_plugin_action_links', 10, 2 );
272
273function wpcf7_plugin_action_links( $links, $file ) {
274 if ( $file != WPCF7_PLUGIN_BASENAME )
275 return $links;
276
277 $url = wpcf7_admin_url( array( 'page' => 'wpcf7' ) );
278
279 $settings_link = '<a href="' . esc_attr( $url ) . '">'
280 . esc_html( __( 'Settings', 'wpcf7' ) ) . '</a>';
281
282 array_unshift( $links, $settings_link );
283
284 return $links;
285}
286
287add_action( 'wpcf7_admin_before_subsubsub', 'wpcf7_cf7com_links', 9 );
288
289function wpcf7_cf7com_links( &$contact_form ) {
290 $links = '<div class="cf7com-links">'
291 . '<a href="' . esc_url_raw( __( 'http://contactform7.com/', 'wpcf7' ) ) . '" target="_blank">'
292 . esc_html( __( 'Contactform7.com', 'wpcf7' ) ) . '</a>&ensp;'
293 . '<a href="' . esc_url_raw( __( 'http://contactform7.com/docs/', 'wpcf7' ) ) . '" target="_blank">'
294 . esc_html( __( 'Docs', 'wpcf7' ) ) . '</a> - '
295 . '<a href="' . esc_url_raw( __( 'http://contactform7.com/faq/', 'wpcf7' ) ) . '" target="_blank">'
296 . esc_html( __( 'FAQ', 'wpcf7' ) ) . '</a> - '
297 . '<a href="' . esc_url_raw( __( 'http://contactform7.com/support/', 'wpcf7' ) ) . '" target="_blank">'
298 . esc_html( __( 'Support', 'wpcf7' ) ) . '</a>'
299 . '</div>';
300
301 echo apply_filters( 'wpcf7_cf7com_links', $links );
302}
303
304add_action( 'wpcf7_admin_before_subsubsub', 'wpcf7_updated_message' );
305
306function wpcf7_updated_message( &$contact_form ) {
307 if ( ! isset( $_GET['message'] ) )
308 return;
309
310 switch ( $_GET['message'] ) {
311 case 'created':
312 $updated_message = __( "Contact form created.", 'wpcf7' );
313 break;
314 case 'saved':
315 $updated_message = __( "Contact form saved.", 'wpcf7' );
316 break;
317 case 'deleted':
318 $updated_message = __( "Contact form deleted.", 'wpcf7' );
319 break;
320 case 'table_created':
321 $updated_message = __( "Database table created.", 'wpcf7' );
322 break;
323 case 'table_not_created':
324 $updated_message = __( "Failed to create database table.", 'wpcf7' );
325 break;
326 }
327
328 if ( ! $updated_message )
329 return;
330
331?>
332<div id="message" class="updated fade"><p><?php echo esc_html( $updated_message ); ?></p></div>
333<?php
334}
335
336add_action( 'wpcf7_admin_before_subsubsub', 'wpcf7_donation_link' );
337
338function wpcf7_donation_link( &$contact_form ) {
339 if ( ! WPCF7_SHOW_DONATION_LINK )
340 return;
341
342 if ( 'new' == $_GET['contactform'] || ! empty($_GET['message']) )
343 return;
344
345 $show_link = true;
346
347 $num = mt_rand( 0, 99 );
348
349 if ( $num >= 20 )
350 $show_link = false;
351
352 $show_link = apply_filters( 'wpcf7_show_donation_link', $show_link );
353
354 if ( ! $show_link )
355 return;
356
357 $texts = array(
358 __( "Contact Form 7 needs your support. Please donate today.", 'wpcf7' ),
359 __( "Your contribution is needed for making this plugin better.", 'wpcf7' ) );
360
361 $text = $texts[array_rand( $texts )];
362
363?>
364<div class="donation">
365<p><a href="<?php echo esc_url_raw( __( 'http://contactform7.com/donate/', 'wpcf7' ) ); ?>"><?php echo esc_html( $text ); ?></a> <a href="<?php echo esc_url_raw( __( 'http://contactform7.com/donate/', 'wpcf7' ) ); ?>" class="button"><?php echo esc_html( __( "Donate", 'wpcf7' ) ); ?></a></p>
366</div>
367<?php
368}
369
370?>
0\ No newline at end of file371\ No newline at end of file
1372
=== added file 'wp-content/plugins/contact-form-7/admin/edit.php'
--- wp-content/plugins/contact-form-7/admin/edit.php 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/admin/edit.php 2011-02-18 16:15:41 +0000
@@ -0,0 +1,351 @@
1<?php
2
3/* No table warning */
4if ( ! wpcf7_table_exists() ) {
5 if ( current_user_can( 'activate_plugins' ) ) {
6 $create_table_link_url = wpcf7_admin_url( array( 'wpcf7-create-table' => 1 ) );
7 $create_table_link_url = wp_nonce_url( $create_table_link_url, 'wpcf7-create-table' );
8 $message = sprintf(
9 __( '<strong>The database table for Contact Form 7 does not exist.</strong> You must <a href="%s">create the table</a> for it to work.', 'wpcf7' ),
10 $create_table_link_url );
11 } else {
12 $message = __( "<strong>The database table for Contact Form 7 does not exist.</strong>", 'wpcf7' );
13 }
14?>
15 <div class="wrap">
16 <?php screen_icon( 'edit-pages' ); ?>
17 <h2><?php echo esc_html( __( 'Contact Form 7', 'wpcf7' ) ); ?></h2>
18 <div id="message" class="updated fade">
19 <p><?php echo $message; ?></p>
20 </div>
21 </div>
22<?php
23 return;
24}
25
26?><div class="wrap wpcf7">
27
28<?php screen_icon( 'edit-pages' ); ?>
29
30<h2><?php echo esc_html( __( 'Contact Form 7', 'wpcf7' ) ); ?></h2>
31
32<?php do_action_ref_array( 'wpcf7_admin_before_subsubsub', array( &$cf ) ); ?>
33
34<ul class="subsubsub">
35<?php
36$first = array_shift( $contact_forms );
37if ( ! is_null( $first ) ) : ?>
38<li><a href="<?php echo wpcf7_admin_url( array( 'contactform' => $first->id ) ); ?>"<?php if ( $first->id == $current ) echo ' class="current"'; ?>><?php echo esc_html( $first->title ); ?></a></li>
39<?php endif;
40foreach ( $contact_forms as $v ) : ?>
41<li>| <a href="<?php echo wpcf7_admin_url( array( 'contactform' => $v->id ) ); ?>"<?php if ( $v->id == $current ) echo ' class="current"'; ?>><?php echo esc_html( $v->title ); ?></a></li>
42<?php endforeach; ?>
43
44<?php if ( wpcf7_admin_has_edit_cap() ) : ?>
45<li class="addnew"><a class="thickbox<?php if ( $unsaved ) echo ' current'; ?>" href="#TB_inline?height=300&width=400&inlineId=wpcf7-lang-select-modal"><?php echo esc_html( __( 'Add new', 'wpcf7' ) ); ?></a></li>
46<?php endif; ?>
47</ul>
48
49<br class="clear" />
50
51<?php if ( $cf ) : ?>
52<?php $disabled = ( wpcf7_admin_has_edit_cap() ) ? '' : ' disabled="disabled"'; ?>
53
54<form method="post" action="<?php echo wpcf7_admin_url( array( 'contactform' => $current ) ); ?>" id="wpcf7-admin-form-element">
55 <?php if ( wpcf7_admin_has_edit_cap() ) wp_nonce_field( 'wpcf7-save_' . $current ); ?>
56 <input type="hidden" id="wpcf7-id" name="wpcf7-id" value="<?php echo $current; ?>" />
57
58 <table class="widefat">
59 <tbody>
60 <tr>
61 <td scope="col">
62 <div style="position: relative;">
63 <input type="text" id="wpcf7-title" name="wpcf7-title" size="40" value="<?php echo esc_attr( $cf->title ); ?>"<?php echo $disabled; ?> />
64
65 <?php if ( ! $unsaved ) : ?>
66 <p class="tagcode">
67 <?php echo esc_html( __( "Copy this code and paste it into your post, page or text widget content.", 'wpcf7' ) ); ?><br />
68
69 <input type="text" id="contact-form-anchor-text" onfocus="this.select();" readonly="readonly" />
70 </p>
71 <?php endif; ?>
72
73 <?php if ( wpcf7_admin_has_edit_cap() ) : ?>
74 <div class="save-contact-form">
75 <input type="submit" class="button button-highlighted" name="wpcf7-save" value="<?php echo esc_attr( __( 'Save', 'wpcf7' ) ); ?>" />
76 </div>
77 <?php endif; ?>
78
79 <?php if ( wpcf7_admin_has_edit_cap() && ! $unsaved ) : ?>
80 <div class="actions-link">
81 <?php $copy_nonce = wp_create_nonce( 'wpcf7-copy_' . $current ); ?>
82 <input type="submit" name="wpcf7-copy" class="copy" value="<?php echo esc_attr( __( 'Copy', 'wpcf7' ) ); ?>"
83 <?php echo "onclick=\"this.form._wpnonce.value = '$copy_nonce'; return true;\""; ?> />
84 |
85
86 <?php $delete_nonce = wp_create_nonce( 'wpcf7-delete_' . $current ); ?>
87 <input type="submit" name="wpcf7-delete" class="delete" value="<?php echo esc_attr( __( 'Delete', 'wpcf7' ) ); ?>"
88 <?php echo "onclick=\"if (confirm('" .
89 esc_js( __( "You are about to delete this contact form.\n 'Cancel' to stop, 'OK' to delete.", 'wpcf7' ) ) .
90 "')) {this.form._wpnonce.value = '$delete_nonce'; return true;} return false;\""; ?> />
91 </div>
92 <?php endif; ?>
93 </div>
94 </td>
95 </tr>
96 </tbody>
97 </table>
98
99<?php do_action_ref_array( 'wpcf7_admin_after_general_settings', array( &$cf ) ); ?>
100
101<?php if ( wpcf7_admin_has_edit_cap() ) : ?>
102
103 <table class="widefat" style="margin-top: 1em;">
104 <thead><tr><th scope="col" colspan="2"><?php echo esc_html( __( 'Form', 'wpcf7' ) ); ?></th></tr></thead>
105
106 <tbody>
107 <tr>
108
109 <td scope="col" style="width: 50%;">
110 <div><textarea id="wpcf7-form" name="wpcf7-form" cols="100" rows="20"><?php echo esc_html( $cf->form ); ?></textarea></div>
111 </td>
112
113 <td scope="col" style="width: 50%;">
114 <div id="taggenerator"></div>
115 </td>
116
117 </tr>
118 </tbody>
119 </table>
120
121<?php endif; ?>
122
123<?php do_action_ref_array( 'wpcf7_admin_after_form', array( &$cf ) ); ?>
124
125<?php if ( wpcf7_admin_has_edit_cap() ) : ?>
126
127 <table class="widefat" style="margin-top: 1em;">
128 <thead><tr><th scope="col" colspan="2"><?php echo esc_html( __( 'Mail', 'wpcf7' ) ); ?></th></tr></thead>
129
130 <tbody>
131 <tr>
132 <td scope="col" style="width: 50%;">
133
134 <div class="mail-field">
135 <label for="wpcf7-mail-recipient"><?php echo esc_html( __( 'To:', 'wpcf7' ) ); ?></label><br />
136 <input type="text" id="wpcf7-mail-recipient" name="wpcf7-mail-recipient" class="wide" size="70" value="<?php echo esc_attr( $cf->mail['recipient'] ); ?>" />
137 </div>
138
139 <div class="mail-field">
140 <label for="wpcf7-mail-sender"><?php echo esc_html( __( 'From:', 'wpcf7' ) ); ?></label><br />
141 <input type="text" id="wpcf7-mail-sender" name="wpcf7-mail-sender" class="wide" size="70" value="<?php echo esc_attr( $cf->mail['sender'] ); ?>" />
142 </div>
143
144 <div class="mail-field">
145 <label for="wpcf7-mail-subject"><?php echo esc_html( __( 'Subject:', 'wpcf7' ) ); ?></label><br />
146 <input type="text" id="wpcf7-mail-subject" name="wpcf7-mail-subject" class="wide" size="70" value="<?php echo esc_attr( $cf->mail['subject'] ); ?>" />
147 </div>
148
149 <div class="pseudo-hr"></div>
150
151 <div class="mail-field">
152 <label for="wpcf7-mail-additional-headers"><?php echo esc_html( __( 'Additional headers:', 'wpcf7' ) ); ?></label><br />
153 <textarea id="wpcf7-mail-additional-headers" name="wpcf7-mail-additional-headers" cols="100" rows="2"><?php echo esc_html( $cf->mail['additional_headers'] ); ?></textarea>
154 </div>
155
156 <div class="mail-field">
157 <label for="wpcf7-mail-attachments"><?php echo esc_html( __( 'File attachments:', 'wpcf7' ) ); ?></label><br />
158 <input type="text" id="wpcf7-mail-attachments" name="wpcf7-mail-attachments" class="wide" size="70" value="<?php echo esc_attr( $cf->mail['attachments'] ); ?>" />
159 </div>
160
161 <div class="pseudo-hr"></div>
162
163 <div class="mail-field">
164 <input type="checkbox" id="wpcf7-mail-use-html" name="wpcf7-mail-use-html" value="1"<?php echo ( $cf->mail['use_html'] ) ? ' checked="checked"' : ''; ?> />
165 <label for="wpcf7-mail-use-html"><?php echo esc_html( __( 'Use HTML content type', 'wpcf7' ) ); ?></label>
166 </div>
167
168 </td>
169 <td scope="col" style="width: 50%;">
170
171 <div class="mail-field">
172 <label for="wpcf7-mail-body"><?php echo esc_html( __( 'Message body:', 'wpcf7' ) ); ?></label><br />
173 <textarea id="wpcf7-mail-body" name="wpcf7-mail-body" cols="100" rows="16"><?php echo esc_html( $cf->mail['body'] ); ?></textarea>
174 </div>
175
176 </td>
177 </tr>
178 </tbody>
179 </table>
180
181<?php endif; ?>
182
183<?php do_action_ref_array( 'wpcf7_admin_after_mail', array( &$cf ) ); ?>
184
185<?php if ( wpcf7_admin_has_edit_cap() ) : ?>
186
187 <table class="widefat" style="margin-top: 1em;">
188 <thead><tr><th scope="col" colspan="2"><?php echo esc_html( __( 'Mail (2)', 'wpcf7' ) ); ?></th></tr></thead>
189
190 <tbody>
191 <tr>
192 <td scope="col" colspan="2">
193 <input type="checkbox" id="wpcf7-mail-2-active" name="wpcf7-mail-2-active" value="1"<?php echo ( $cf->mail_2['active'] ) ? ' checked="checked"' : ''; ?> />
194 <label for="wpcf7-mail-2-active"><?php echo esc_html( __( 'Use mail (2)', 'wpcf7' ) ); ?></label>
195 </td>
196 </tr>
197
198 <tr id="mail-2-fields">
199 <td scope="col" style="width: 50%;">
200
201 <div class="mail-field">
202 <label for="wpcf7-mail-2-recipient"><?php echo esc_html( __( 'To:', 'wpcf7' ) ); ?></label><br />
203 <input type="text" id="wpcf7-mail-2-recipient" name="wpcf7-mail-2-recipient" class="wide" size="70" value="<?php echo esc_attr( $cf->mail_2['recipient'] ); ?>" />
204 </div>
205
206 <div class="mail-field">
207 <label for="wpcf7-mail-2-sender"><?php echo esc_html( __( 'From:', 'wpcf7' ) ); ?></label><br />
208 <input type="text" id="wpcf7-mail-2-sender" name="wpcf7-mail-2-sender" class="wide" size="70" value="<?php echo esc_attr( $cf->mail_2['sender'] ); ?>" />
209 </div>
210
211 <div class="mail-field">
212 <label for="wpcf7-mail-2-subject"><?php echo esc_html( __( 'Subject:', 'wpcf7' ) ); ?></label><br />
213 <input type="text" id="wpcf7-mail-2-subject" name="wpcf7-mail-2-subject" class="wide" size="70" value="<?php echo esc_attr( $cf->mail_2['subject'] ); ?>" />
214 </div>
215
216 <div class="pseudo-hr"></div>
217
218 <div class="mail-field">
219 <label for="wpcf7-mail-2-additional-headers"><?php echo esc_html( __( 'Additional headers:', 'wpcf7' ) ); ?></label><br />
220 <textarea id="wpcf7-mail-2-additional-headers" name="wpcf7-mail-2-additional-headers" cols="100" rows="2"><?php echo esc_html( $cf->mail_2['additional_headers'] ); ?></textarea>
221 </div>
222
223 <div class="mail-field">
224 <label for="wpcf7-mail-2-attachments"><?php echo esc_html( __( 'File attachments:', 'wpcf7' ) ); ?></label><br />
225 <input type="text" id="wpcf7-mail-2-attachments" name="wpcf7-mail-2-attachments" class="wide" size="70" value="<?php echo esc_attr( $cf->mail_2['attachments'] ); ?>" />
226 </div>
227
228 <div class="pseudo-hr"></div>
229
230 <div class="mail-field">
231 <input type="checkbox" id="wpcf7-mail-2-use-html" name="wpcf7-mail-2-use-html" value="1"<?php echo ( $cf->mail_2['use_html'] ) ? ' checked="checked"' : ''; ?> />
232 <label for="wpcf7-mail-2-use-html"><?php echo esc_html( __( 'Use HTML content type', 'wpcf7' ) ); ?></label>
233 </div>
234
235 </td>
236 <td scope="col" style="width: 50%;">
237
238 <div class="mail-field">
239 <label for="wpcf7-mail-2-body"><?php echo esc_html( __( 'Message body:', 'wpcf7' ) ); ?></label><br />
240 <textarea id="wpcf7-mail-2-body" name="wpcf7-mail-2-body" cols="100" rows="16"><?php echo esc_html( $cf->mail_2['body'] ); ?></textarea>
241 </div>
242
243 </td>
244 </tr>
245 </tbody>
246 </table>
247
248<?php endif; ?>
249
250<?php do_action_ref_array( 'wpcf7_admin_after_mail_2', array( &$cf ) ); ?>
251
252<?php if ( wpcf7_admin_has_edit_cap() ) : ?>
253
254 <table class="widefat" style="margin-top: 1em;">
255 <thead><tr><th scope="col"><?php echo esc_html( __( 'Messages', 'wpcf7' ) ); ?> <span id="message-fields-toggle-switch"></span></th></tr></thead>
256
257 <tbody>
258 <tr>
259 <td scope="col">
260 <div id="message-fields">
261
262<?php foreach ( wpcf7_messages() as $key => $arr ) :
263 $field_name = 'wpcf7-message-' . strtr( $key, '_', '-' );
264?>
265 <div class="message-field">
266 <label for="<?php echo $field_name; ?>"><em># <?php echo esc_html( $arr['description'] ); ?></em></label><br />
267 <input type="text" id="<?php echo $field_name; ?>" name="<?php echo $field_name; ?>" class="wide" size="70" value="<?php echo esc_attr( $cf->messages[$key] ); ?>" />
268 </div>
269
270<?php endforeach; ?>
271
272 </div>
273 </td>
274 </tr>
275 </tbody>
276 </table>
277
278<?php endif; ?>
279
280<?php do_action_ref_array( 'wpcf7_admin_after_messages', array( &$cf ) ); ?>
281
282<?php if ( wpcf7_admin_has_edit_cap() ) : ?>
283
284 <table class="widefat" style="margin-top: 1em;">
285 <thead><tr><th scope="col"><?php echo esc_html( __( 'Additional Settings', 'wpcf7' ) ); ?> <span id="additional-settings-fields-toggle-switch"></span></th></tr></thead>
286
287 <tbody>
288 <tr>
289 <td scope="col">
290 <div id="additional-settings-fields">
291 <textarea id="wpcf7-additional-settings" name="wpcf7-additional-settings" cols="100" rows="8"><?php echo esc_html( $cf->additional_settings ); ?></textarea>
292 </div>
293 </td>
294 </tr>
295 </tbody>
296 </table>
297
298<?php endif; ?>
299
300<?php do_action_ref_array( 'wpcf7_admin_after_additional_settings', array( &$cf ) ); ?>
301
302<?php if ( wpcf7_admin_has_edit_cap() ) : ?>
303
304 <table class="widefat" style="margin-top: 1em;">
305 <tbody>
306 <tr>
307 <td scope="col">
308 <div class="save-contact-form">
309 <input type="submit" class="button button-highlighted" name="wpcf7-save" value="<?php echo esc_attr( __( 'Save', 'wpcf7' ) ); ?>" />
310 </div>
311 </td>
312 </tr>
313 </tbody>
314 </table>
315
316<?php endif; ?>
317
318</form>
319
320<?php endif; ?>
321
322</div>
323
324<div id="wpcf7-lang-select-modal" class="hidden">
325<?php
326 $available_locales = wpcf7_l10n();
327 $default_locale = get_locale();
328
329 if ( ! isset( $available_locales[$default_locale] ) )
330 $default_locale = 'en_US';
331
332?>
333<h4><?php echo esc_html( sprintf( __( 'Use the default language (%s)', 'wpcf7' ), $available_locales[$default_locale] ) ); ?></h4>
334<p><a href="<?php echo wpcf7_admin_url( array( 'contactform' => 'new' ) ); ?>" class="button" /><?php echo esc_html( __( 'Add New', 'wpcf7' ) ); ?></a></p>
335
336<?php unset( $available_locales[$default_locale] ); ?>
337<h4><?php echo esc_html( __( 'Or', 'wpcf7' ) ); ?></h4>
338<form action="" method="get">
339<input type="hidden" name="page" value="wpcf7" />
340<input type="hidden" name="contactform" value="new" />
341<select name="locale">
342<option value="" selected="selected"><?php echo esc_html( __( '(select language)', 'wpcf7' ) ); ?></option>
343<?php foreach ( $available_locales as $code => $locale ) : ?>
344<option value="<?php echo esc_attr( $code ); ?>"><?php echo esc_html( $locale ); ?></option>
345<?php endforeach; ?>
346</select>
347<input type="submit" class="button" value="<?php echo esc_attr( __( 'Add New', 'wpcf7' ) ); ?>" />
348</form>
349</div>
350
351<?php do_action_ref_array( 'wpcf7_admin_footer', array( &$cf ) ); ?>
0352
=== added file 'wp-content/plugins/contact-form-7/admin/scripts.js'
--- wp-content/plugins/contact-form-7/admin/scripts.js 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/admin/scripts.js 2011-02-18 16:15:41 +0000
@@ -0,0 +1,116 @@
1(function($) {
2
3 $(function() {
4 try {
5 $.extend($.tgPanes, _wpcf7.tagGenerators);
6 $('#taggenerator').tagGenerator(_wpcf7L10n.generateTag,
7 { dropdownIconUrl: _wpcf7.pluginUrl + '/images/dropdown.gif' });
8
9 $('input#wpcf7-title:enabled').css({
10 cursor: 'pointer'
11 });
12
13 $('input#wpcf7-title').mouseover(function() {
14 $(this).not('.focus').css({
15 'background-color': '#ffffdd'
16 });
17 });
18
19 $('input#wpcf7-title').mouseout(function() {
20 $(this).css({
21 'background-color': '#fff'
22 });
23 });
24
25 $('input#wpcf7-title').focus(function() {
26 $(this).addClass('focus');
27 $(this).css({
28 cursor: 'text',
29 color: '#333',
30 border: '1px solid #777',
31 font: 'normal 13px Verdana, Arial, Helvetica, sans-serif',
32 'background-color': '#fff'
33 });
34 });
35
36 $('input#wpcf7-title').blur(function() {
37 $(this).removeClass('focus');
38 $(this).css({
39 cursor: 'pointer',
40 color: '#555',
41 border: 'none',
42 font: 'bold 20px serif',
43 'background-color': '#fff'
44 });
45 });
46
47 $('input#wpcf7-title').change(function() {
48 updateTag();
49 });
50
51 updateTag();
52
53 if ($.support.objectAll) {
54 if (! $('#wpcf7-mail-2-active').is(':checked'))
55 $('#mail-2-fields').hide();
56
57 $('#wpcf7-mail-2-active').click(function() {
58 if ($('#mail-2-fields').is(':hidden')
59 && $('#wpcf7-mail-2-active').is(':checked')) {
60 $('#mail-2-fields').slideDown('fast');
61 } else if ($('#mail-2-fields').is(':visible')
62 && $('#wpcf7-mail-2-active').not(':checked')) {
63 $('#mail-2-fields').slideUp('fast');
64 }
65 });
66 }
67
68 $('#message-fields-toggle-switch').text(_wpcf7L10n.show);
69 $('#message-fields').hide();
70
71 $('#message-fields-toggle-switch').click(function() {
72 if ($('#message-fields').is(':hidden')) {
73 $('#message-fields').slideDown('fast');
74 $('#message-fields-toggle-switch').text(_wpcf7L10n.hide);
75 } else {
76 $('#message-fields').hide('fast');
77 $('#message-fields-toggle-switch').text(_wpcf7L10n.show);
78 }
79 });
80
81 if ('' == $.trim($('#wpcf7-additional-settings').text())) {
82 $('#additional-settings-fields-toggle-switch').text(_wpcf7L10n.show);
83 $('#additional-settings-fields').hide();
84 } else {
85 $('#additional-settings-fields-toggle-switch').text(_wpcf7L10n.hide);
86 $('#additional-settings-fields').show();
87 }
88
89 $('#additional-settings-fields-toggle-switch').click(function() {
90 if ($('#additional-settings-fields').is(':hidden')) {
91 $('#additional-settings-fields').slideDown('fast');
92 $('#additional-settings-fields-toggle-switch').text(_wpcf7L10n.hide);
93 } else {
94 $('#additional-settings-fields').hide('fast');
95 $('#additional-settings-fields-toggle-switch').text(_wpcf7L10n.show);
96 }
97 });
98
99 } catch (e) {
100 }
101 });
102
103 function updateTag() {
104 var title = $('input#wpcf7-title').val();
105
106 if (title)
107 title = title.replace(/["'\[\]]/g, '');
108
109 $('input#wpcf7-title').val(title);
110 var current = $('input#wpcf7-id').val();
111 var tag = '[contact-form ' + current + ' "' + title + '"]';
112
113 $('input#contact-form-anchor-text').val(tag);
114 }
115
116})(jQuery);
0\ No newline at end of file117\ No newline at end of file
1118
=== added file 'wp-content/plugins/contact-form-7/admin/styles-rtl.css'
--- wp-content/plugins/contact-form-7/admin/styles-rtl.css 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/admin/styles-rtl.css 2011-02-18 16:15:41 +0000
@@ -0,0 +1,22 @@
1ul.subsubsub li.addnew {
2 margin-left: 0;
3 margin-right: 0.5em;
4}
5div.save-contact-form {
6 direction: rtl;
7}
8div.actions-link {
9 right: auto;
10 left: 0;
11}
12span#message-fields-toggle-switch {
13 margin-left: 0;
14 margin-right: 1em;
15}
16div.tg-pane table caption {
17 text-align: right;
18}
19div.tg-dropdown {
20 left: auto;
21 right: 0;
22}
0\ No newline at end of file23\ No newline at end of file
124
=== added file 'wp-content/plugins/contact-form-7/admin/styles.css'
--- wp-content/plugins/contact-form-7/admin/styles.css 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/admin/styles.css 2011-02-18 16:15:41 +0000
@@ -0,0 +1,248 @@
1div.wpcf7 div.cf7com-links {
2 text-align: right;
3 font-size: .8em;
4 margin-top: -1.6em;
5}
6
7div.wpcf7 div.cf7com-links a {
8 text-decoration: none;
9}
10
11div.wpcf7 div.donation {
12 border-width: 1px;
13 border-style: solid;
14 padding: 0 0.6em;
15 margin: 5px 0 15px;
16 -moz-border-radius: 3px;
17 -khtml-border-radius: 3px;
18 -webkit-border-radius: 3px;
19 border-radius: 3px;
20 background-color: #ffffe0;
21 border-color: #e6db55;
22 text-align: center;
23}
24
25div.wpcf7 div.donation p {
26 margin: .7em 0;
27 line-height: 1;
28 padding: 2px;
29 font-size: 107%;
30}
31
32div.wpcf7 div.donation p a {
33 font-weight: bold;
34 color: #3f3f3f;
35}
36
37div.wpcf7 div.donation p a.button {
38 margin-left: 1em;
39}
40
41div.wpcf7 ul.subsubsub {
42 white-space: normal;
43}
44
45ul.subsubsub li.addnew {
46 margin-left: 0.5em;
47}
48
49ul.subsubsub li.addnew a {
50 color: #e6255b;
51}
52
53ul.subsubsub li.addnew a:hover,
54ul.subsubsub li.addnew a:active {
55 color: #999;
56}
57
58div.save-contact-form {
59 padding: 1.4em 0 0 0;
60 text-align: right;
61}
62
63div.actions-link {
64 position: absolute;
65 top: 0;
66 right: 0;
67 margin: 0;
68 padding: 0;
69}
70
71div.actions-link input {
72 padding: 0;
73 margin: 0;
74 border: none;
75 background-color: #fff;
76 font-size: 11px;
77 cursor: pointer;
78}
79
80div.actions-link input.copy {
81 color: #006505;
82}
83
84div.actions-link input.delete {
85 color: #bc0b0b;
86}
87
88input#wpcf7-title {
89 color: #555;
90 background-color: #fff;
91 border: none;
92 font: bold 20px serif;
93}
94
95p.tagcode {
96 color: #333;
97 margin: 2ex 0 1ex 1em;
98}
99
100input#contact-form-anchor-text {
101 color: #fff;
102 background: #7e4e0b;
103 border: none;
104 width: 99%;
105 -moz-border-radius: 6px;
106 -khtml-border-radius: 6px;
107 -webkit-border-radius: 6px;
108 border-radius: 6px;
109}
110
111span#message-fields-toggle-switch, span#additional-settings-fields-toggle-switch {
112 margin-left: 1em;
113 font-weight: normal;
114 font-size: smaller;
115 color: #2583ad;
116 cursor: pointer;
117}
118
119div.pseudo-hr {
120 border-bottom: 1px solid #fff;
121 margin: 0.7em 0;
122}
123
124input, textarea {
125 border: 1px solid #dfdfdf;
126}
127
128input.wide {
129 width: 100%;
130}
131
132textarea {
133 width: 100%;
134}
135
136label.disabled {
137 color: #777;
138}
139
140div.message-field {
141 margin: .2em 0 .4em;
142}
143
144div.tag-generator {
145 position: relative;
146 background: #fff;
147 padding: 5px 0 5px 1px;
148}
149
150div.tg-pane {
151 border: 1px dashed #999;
152 background: #f1f1f1;
153 margin: 1ex 0 0 0;
154 padding: 10px;
155 -moz-border-radius: 6px;
156 -khtml-border-radius: 6px;
157 -webkit-border-radius: 6px;
158 border-radius: 6px;
159}
160
161div.tg-pane table {
162 width: 100%;
163 margin: 0 0 0.7em 0;
164}
165
166div.tg-pane table caption {
167 text-align: left;
168 padding: 0 0 0.2em 0;
169 font-weight: bolder;
170 color: #777;
171}
172
173div.tg-pane table code {
174 background-color: inherit;
175}
176
177div.tg-pane table td {
178 vertical-align: top;
179 width: 50%;
180 border: none;
181}
182
183div.tg-pane input.tag, div.tg-pane input.mail-tag {
184 width: 100%;
185 border: none;
186 color: #fff;
187 background-color: #7e4e0b;
188 -moz-border-radius: 6px;
189 -khtml-border-radius: 6px;
190 -webkit-border-radius: 6px;
191 border-radius: 6px;
192}
193
194div.tg-pane input.mail-tag {
195 width: 50%;
196 background-color: #404f03;
197}
198
199div.tg-mail-tag {
200 margin-top: 2.4em;
201 text-align: right;
202}
203
204div.tg-pane span.arrow {
205 font-family: monospace;
206 font-size: 1.2em;
207 color: #333;
208}
209
210div.tg-pane input.tg-name {
211 border-color: #555;
212}
213
214div.tg-pane input.oneline {
215 width: 98%;
216 font-size: smaller;
217}
218
219div.tg-pane textarea {
220 width: 98%;
221 height: 100px;
222 font-size: smaller;
223}
224
225div.tg-pane div.tg-tag {
226 margin: .4em 0;
227}
228
229div.tg-dropdown {
230 position: absolute;
231 top: 26px;
232 left: 0;
233 z-index: 10;
234 border: 1px solid #ddd;
235}
236
237span.tg-closebutton {
238 color: #777;
239 font: bold 18px monospace;
240 padding: 1px 4px;
241 cursor: pointer;
242}
243
244div.tg-panetitle {
245 font: bold 132% sans-serif;
246 margin: 0 0 10px;
247 color: #777;
248}
0\ No newline at end of file249\ No newline at end of file
1250
=== added file 'wp-content/plugins/contact-form-7/admin/taggenerator.js'
--- wp-content/plugins/contact-form-7/admin/taggenerator.js 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/admin/taggenerator.js 2011-02-18 16:15:41 +0000
@@ -0,0 +1,262 @@
1(function($) {
2
3 $.fn.tagGenerator = function(title, options) {
4 var menu = $('<div class="tag-generator"></div>');
5
6 var selector = $('<span>' + title + '</span>');
7
8 selector.css({
9 border: '1px solid #ddd',
10 padding: '2px 4px',
11 background: '#fff url( ../wp-admin/images/fade-butt.png ) repeat-x 0 0',
12 '-moz-border-radius': '3px',
13 '-khtml-border-radius': '3px',
14 '-webkit-border-radius': '3px',
15 'border-radius': '3px'
16 });
17
18 selector.mouseover(function() {
19 $(this).css({ 'border-color': '#bbb' });
20 });
21 selector.mouseout(function() {
22 $(this).css({ 'border-color': '#ddd' });
23 });
24 selector.mousedown(function() {
25 $(this).css({ background: '#ddd' });
26 });
27 selector.mouseup(function() {
28 $(this).css({
29 background: '#fff url( ../wp-admin/images/fade-butt.png ) repeat-x 0 0'
30 });
31 });
32 selector.click(function() {
33 dropdown.slideDown('fast');
34 return false;
35 });
36 $('body').click(function() {
37 dropdown.hide();
38 });
39
40 if (options.dropdownIconUrl) {
41 var dropdown_icon = $('<img src="' + options.dropdownIconUrl + '" />');
42 dropdown_icon.css({ 'vertical-align': 'bottom' });
43 selector.append(dropdown_icon);
44 }
45
46 menu.append(selector);
47
48 var pane = $('<div class="tg-pane"></div>');
49 pane.hide();
50 menu.append(pane);
51
52 var dropdown = $('<div class="tg-dropdown"></div>');
53 dropdown.hide();
54 menu.append(dropdown);
55
56 $.each($.tgPanes, function(i, n) {
57 var submenu = $('<div>' + $.tgPanes[i].title + '</div>');
58 submenu.css({
59 margin: 0,
60 padding: '0 4px',
61 'line-height': '180%',
62 background: '#fff'
63 });
64 submenu.mouseover(function() {
65 $(this).css({ background: '#d4f2f2' });
66 });
67 submenu.mouseout(function() {
68 $(this).css({ background: '#fff' });
69 });
70 submenu.click(function() {
71 dropdown.hide();
72 pane.hide();
73 pane.empty();
74 $.tgPane(pane, i);
75 pane.slideDown('fast');
76 return false;
77 });
78 dropdown.append(submenu);
79 });
80
81 this.append(menu);
82 };
83
84 $.tgPane = function(pane, tagType) {
85 var closeButtonDiv = $('<div></div>');
86 closeButtonDiv.css({ float: 'right' });
87
88 var closeButton = $('<span class="tg-closebutton">&#215;</span>');
89 closeButton.click(function() {
90 pane.slideUp('fast').empty();
91 });
92 closeButtonDiv.append(closeButton);
93
94 pane.append(closeButtonDiv);
95
96 var paneTitle = $('<div class="tg-panetitle">' + $.tgPanes[tagType].title + '</div>');
97 pane.append(paneTitle);
98
99 pane.append($('#' + $.tgPanes[tagType].content).clone().contents());
100
101 pane.find(':checkbox.exclusive').change(function() {
102 if ($(this).is(':checked'))
103 $(this).siblings(':checkbox.exclusive').removeAttr('checked');
104 });
105
106 if ($.isFunction($.tgPanes[tagType].change))
107 $.tgPanes[tagType].change(pane, tagType);
108 else
109 $.tgCreateTag(pane, tagType);
110
111 pane.find(':input').change(function() {
112 if ($.isFunction($.tgPanes[tagType].change))
113 $.tgPanes[tagType].change(pane, tagType);
114 else
115 $.tgCreateTag(pane, tagType);
116 });
117 }
118
119 $.tgCreateTag = function(pane, tagType) {
120 pane.find('input[name="name"]').each(function(i) {
121 var val = $(this).val();
122 val = val.replace(/[^0-9a-zA-Z:._-]/g, '').replace(/^[^a-zA-Z]+/, '');
123 if ('' == val) {
124 var rand = Math.floor(Math.random() * 1000);
125 val = tagType + '-' + rand;
126 }
127 $(this).val(val);
128 });
129
130 pane.find(':input.numeric').each(function(i) {
131 var val = $(this).val();
132 val = val.replace(/[^0-9]/g, '');
133 $(this).val(val);
134 });
135
136 pane.find(':input.idvalue').each(function(i) {
137 var val = $(this).val();
138 val = val.replace(/[^-0-9a-zA-Z_]/g, '');
139 $(this).val(val);
140 });
141
142 pane.find(':input.classvalue').each(function(i) {
143 var val = $(this).val();
144 val = $.map(val.split(' '), function(n) {
145 return n.replace(/[^-0-9a-zA-Z_]/g, '');
146 }).join(' ');
147 val = $.trim(val.replace(/\s+/g, ' '));
148 $(this).val(val);
149 });
150
151 pane.find(':input.color').each(function(i) {
152 var val = $(this).val();
153 val = val.replace(/[^0-9a-fA-F]/g, '');
154 $(this).val(val);
155 });
156
157 pane.find(':input.filesize').each(function(i) {
158 var val = $(this).val();
159 val = val.replace(/[^0-9kKmMbB]/g, '');
160 $(this).val(val);
161 });
162
163 pane.find(':input.filetype').each(function(i) {
164 var val = $(this).val();
165 val = val.replace(/[^0-9a-zA-Z.\s]/g, '');
166 $(this).val(val);
167 });
168
169 pane.find(':input.date').each(function(i) {
170 var val = $(this).val();
171 if (! val.match(/^\d{4}-\d{1,2}-\d{1,2}$/)) // 'yyyy-mm-dd' ISO 8601 format
172 $(this).val('');
173 });
174
175 pane.find(':input[name="values"]').each(function(i) {
176 var val = $(this).val();
177 val = $.trim(val);
178 $(this).val(val);
179 });
180
181 pane.find('input.tag').each(function(i) {
182 var type = $(this).attr('name');
183
184 var scope = pane.find('.scope.' + type);
185 if (! scope.length)
186 scope = pane;
187
188 if (pane.find(':input[name="required"]').is(':checked'))
189 type += '*';
190
191 var name = pane.find(':input[name="name"]').val();
192
193 var options = [];
194
195 var size = scope.find(':input[name="size"]').val();
196 var maxlength = scope.find(':input[name="maxlength"]').val();
197 if (size || maxlength)
198 options.push(size + '/' + maxlength);
199
200 var cols = scope.find(':input[name="cols"]').val();
201 var rows = scope.find(':input[name="rows"]').val();
202 if (cols || rows)
203 options.push(cols + 'x' + rows);
204
205 scope.find('input:text.option').each(function(i) {
206 if (-1 < $.inArray($(this).attr('name'), ['size', 'maxlength', 'cols', 'rows']))
207 return;
208
209 var val = $(this).val();
210
211 if (! val)
212 return;
213
214 if ($(this).hasClass('filetype'))
215 val = val.split(' ').join('|');
216
217 if ($(this).hasClass('color'))
218 val = '#' + val;
219
220 if ('class' == $(this).attr('name')) {
221 $.each(val.split(' '), function(i, n) { options.push('class:' + n) });
222 } else {
223 options.push($(this).attr('name') + ':' + val);
224 }
225 });
226
227 scope.find('input:checkbox.option').each(function(i) {
228 if ($(this).is(':checked'))
229 options.push($(this).attr('name'));
230 });
231
232 options = (options.length > 0) ? ' ' + options.join(' ') : '';
233
234 var value = '';
235
236 if (scope.find(':input[name="values"]').val()) {
237 $.each(scope.find(':input[name="values"]').val().split("\n"), function(i, n) {
238 value += ' "' + n.replace(/["]/g, '&quot;') + '"';
239 });
240 }
241
242 if ($.tgPanes[tagType].nameless)
243 var tag = '[' + type + options + value + ']';
244 else
245 var tag = name ? '[' + type + ' ' + name + options + value + ']' : '';
246
247 $(this).val(tag);
248 });
249
250 pane.find('input.mail-tag').each(function(i) {
251 var name = pane.find(':input[name="name"]').val();
252
253 var tag = name ? '[' + name + ']' : '';
254
255 $(this).val(tag);
256 });
257
258 }
259
260 $.tgPanes = {};
261
262})(jQuery);
0\ No newline at end of file263\ No newline at end of file
1264
=== added directory 'wp-content/plugins/contact-form-7/images'
=== added file 'wp-content/plugins/contact-form-7/images/ajax-loader.gif'
2Binary files wp-content/plugins/contact-form-7/images/ajax-loader.gif 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/images/ajax-loader.gif 2011-02-18 16:15:41 +0000 differ265Binary files wp-content/plugins/contact-form-7/images/ajax-loader.gif 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/images/ajax-loader.gif 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/images/dropdown.gif'
3Binary files wp-content/plugins/contact-form-7/images/dropdown.gif 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/images/dropdown.gif 2011-02-18 16:15:41 +0000 differ266Binary files wp-content/plugins/contact-form-7/images/dropdown.gif 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/images/dropdown.gif 2011-02-18 16:15:41 +0000 differ
=== added directory 'wp-content/plugins/contact-form-7/includes'
=== added file 'wp-content/plugins/contact-form-7/includes/classes.php'
--- wp-content/plugins/contact-form-7/includes/classes.php 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/includes/classes.php 2011-02-18 16:15:41 +0000
@@ -0,0 +1,645 @@
1<?php
2
3class WPCF7_ContactForm {
4
5 var $initial = false;
6
7 var $id;
8 var $title;
9 var $form;
10 var $mail;
11 var $mail_2;
12 var $messages;
13 var $additional_settings;
14
15 var $unit_tag;
16
17 var $responses_count = 0;
18 var $scanned_form_tags;
19
20 var $posted_data;
21 var $uploaded_files;
22
23 var $skip_mail = false;
24
25 // Return true if this form is the same one as currently POSTed.
26 function is_posted() {
27 if ( ! isset( $_POST['_wpcf7_unit_tag'] ) || empty( $_POST['_wpcf7_unit_tag'] ) )
28 return false;
29
30 if ( $this->unit_tag == $_POST['_wpcf7_unit_tag'] )
31 return true;
32
33 return false;
34 }
35
36 function clear_post() {
37 $fes = $this->form_scan_shortcode();
38
39 foreach ( $fes as $fe ) {
40 $name = $fe['name'];
41
42 if ( empty( $name ) )
43 continue;
44
45 if ( isset( $_POST[$name] ) )
46 unset( $_POST[$name] );
47 }
48 }
49
50 /* Generating Form HTML */
51
52 function form_html() {
53 $form = '<div class="wpcf7" id="' . $this->unit_tag . '">';
54
55 $url = wpcf7_get_request_uri();
56
57 if ( $frag = strstr( $url, '#' ) )
58 $url = substr( $url, 0, -strlen( $frag ) );
59
60 $url .= '#' . $this->unit_tag;
61
62 $url = apply_filters( 'wpcf7_form_action_url', $url );
63 $enctype = apply_filters( 'wpcf7_form_enctype', '' );
64 $class = apply_filters( 'wpcf7_form_class_attr', 'wpcf7-form' );
65
66 $form .= '<form action="' . esc_url_raw( $url ) . '" method="post"'
67 . ' class="' . esc_attr( $class ) . '"' . $enctype . '>' . "\n";
68 $form .= '<div style="display: none;">' . "\n";
69 $form .= '<input type="hidden" name="_wpcf7" value="'
70 . esc_attr( $this->id ) . '" />' . "\n";
71 $form .= '<input type="hidden" name="_wpcf7_version" value="'
72 . esc_attr( WPCF7_VERSION ) . '" />' . "\n";
73 $form .= '<input type="hidden" name="_wpcf7_unit_tag" value="'
74 . esc_attr( $this->unit_tag ) . '" />' . "\n";
75 $form .= '</div>' . "\n";
76 $form .= $this->form_elements();
77
78 if ( ! $this->responses_count )
79 $form .= $this->form_response_output();
80
81 $form .= '</form>';
82
83 $form .= '</div>';
84
85 return $form;
86 }
87
88 function form_response_output() {
89 $class = 'wpcf7-response-output';
90 $content = '';
91
92 if ( $this->is_posted() ) { // Post response output for non-AJAX
93 if ( isset( $_POST['_wpcf7_mail_sent'] ) && $_POST['_wpcf7_mail_sent']['id'] == $this->id ) {
94 if ( $_POST['_wpcf7_mail_sent']['ok'] ) {
95 $class .= ' wpcf7-mail-sent-ok';
96 $content = $_POST['_wpcf7_mail_sent']['message'];
97 } else {
98 $class .= ' wpcf7-mail-sent-ng';
99 if ( $_POST['_wpcf7_mail_sent']['spam'] )
100 $class .= ' wpcf7-spam-blocked';
101 $content = $_POST['_wpcf7_mail_sent']['message'];
102 }
103 } elseif ( isset( $_POST['_wpcf7_validation_errors'] ) && $_POST['_wpcf7_validation_errors']['id'] == $this->id ) {
104 $class .= ' wpcf7-validation-errors';
105 $content = $this->message( 'validation_error' );
106 }
107 } else {
108 $class .= ' wpcf7-display-none';
109 }
110
111 $class = ' class="' . $class . '"';
112
113 return '<div' . $class . '>' . $content . '</div>';
114 }
115
116 function validation_error( $name ) {
117 if ( ! $this->is_posted() )
118 return '';
119
120 if ( ! isset( $_POST['_wpcf7_validation_errors']['messages'][$name] ) )
121 return '';
122
123 $ve = trim( $_POST['_wpcf7_validation_errors']['messages'][$name] );
124
125 if ( ! empty( $ve ) ) {
126 $ve = '<span class="wpcf7-not-valid-tip-no-ajax">' . esc_html( $ve ) . '</span>';
127 return apply_filters( 'wpcf7_validation_error', $ve, $name, $this );
128 }
129
130 return '';
131 }
132
133 /* Form Elements */
134
135 function form_do_shortcode() {
136 global $wpcf7_shortcode_manager;
137
138 $form = $this->form;
139
140 if ( WPCF7_AUTOP ) {
141 $form = $wpcf7_shortcode_manager->normalize_shortcode( $form );
142 $form = wpcf7_autop( $form );
143 }
144
145 $form = $wpcf7_shortcode_manager->do_shortcode( $form );
146 $this->scanned_form_tags = $wpcf7_shortcode_manager->scanned_tags;
147
148 return $form;
149 }
150
151 function form_scan_shortcode( $cond = null ) {
152 global $wpcf7_shortcode_manager;
153
154 if ( ! empty( $this->scanned_form_tags ) ) {
155 $scanned = $this->scanned_form_tags;
156 } else {
157 $scanned = $wpcf7_shortcode_manager->scan_shortcode( $this->form );
158 $this->scanned_form_tags = $scanned;
159 }
160
161 if ( empty( $scanned ) )
162 return null;
163
164 if ( ! is_array( $cond ) || empty( $cond ) )
165 return $scanned;
166
167 for ( $i = 0, $size = count( $scanned ); $i < $size; $i++ ) {
168
169 if ( isset( $cond['type'] ) ) {
170 if ( is_string( $cond['type'] ) && ! empty( $cond['type'] ) ) {
171 if ( $scanned[$i]['type'] != $cond['type'] ) {
172 unset( $scanned[$i] );
173 continue;
174 }
175 } elseif ( is_array( $cond['type'] ) ) {
176 if ( ! in_array( $scanned[$i]['type'], $cond['type'] ) ) {
177 unset( $scanned[$i] );
178 continue;
179 }
180 }
181 }
182
183 if ( isset( $cond['name'] ) ) {
184 if ( is_string( $cond['name'] ) && ! empty( $cond['name'] ) ) {
185 if ( $scanned[$i]['name'] != $cond['name'] ) {
186 unset ( $scanned[$i] );
187 continue;
188 }
189 } elseif ( is_array( $cond['name'] ) ) {
190 if ( ! in_array( $scanned[$i]['name'], $cond['name'] ) ) {
191 unset( $scanned[$i] );
192 continue;
193 }
194 }
195 }
196 }
197
198 return array_values( $scanned );
199 }
200
201 function form_elements() {
202 return apply_filters( 'wpcf7_form_elements', $this->form_do_shortcode() );
203 }
204
205 /* Validate */
206
207 function validate() {
208 $fes = $this->form_scan_shortcode();
209
210 $result = array( 'valid' => true, 'reason' => array() );
211
212 foreach ( $fes as $fe ) {
213 $result = apply_filters( 'wpcf7_validate_' . $fe['type'], $result, $fe );
214 }
215
216 return $result;
217 }
218
219 /* Acceptance */
220
221 function accepted() {
222 $accepted = true;
223
224 return apply_filters( 'wpcf7_acceptance', $accepted );
225 }
226
227 /* Akismet */
228
229 function akismet() {
230 global $akismet_api_host, $akismet_api_port;
231
232 if ( ! function_exists( 'akismet_http_post' ) ||
233 ! ( get_option( 'wordpress_api_key' ) || $wpcom_api_key ) )
234 return false;
235
236 $akismet_ready = false;
237 $author = $author_email = $author_url = $content = '';
238 $fes = $this->form_scan_shortcode();
239
240 foreach ( $fes as $fe ) {
241 if ( ! is_array( $fe['options'] ) ) continue;
242
243 if ( preg_grep( '%^akismet:author$%', $fe['options'] ) && '' == $author ) {
244 $author = $_POST[$fe['name']];
245 $akismet_ready = true;
246 }
247
248 if ( preg_grep( '%^akismet:author_email$%', $fe['options'] ) && '' == $author_email ) {
249 $author_email = $_POST[$fe['name']];
250 $akismet_ready = true;
251 }
252
253 if ( preg_grep( '%^akismet:author_url$%', $fe['options'] ) && '' == $author_url ) {
254 $author_url = $_POST[$fe['name']];
255 $akismet_ready = true;
256 }
257
258 if ( '' != $content )
259 $content .= "\n\n";
260
261 $content .= $_POST[$fe['name']];
262 }
263
264 if ( ! $akismet_ready )
265 return false;
266
267 $c['blog'] = get_option( 'home' );
268 $c['user_ip'] = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] );
269 $c['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
270 $c['referrer'] = $_SERVER['HTTP_REFERER'];
271 $c['comment_type'] = 'contactform7';
272 if ( $permalink = get_permalink() )
273 $c['permalink'] = $permalink;
274 if ( '' != $author )
275 $c['comment_author'] = $author;
276 if ( '' != $author_email )
277 $c['comment_author_email'] = $author_email;
278 if ( '' != $author_url )
279 $c['comment_author_url'] = $author_url;
280 if ( '' != $content )
281 $c['comment_content'] = $content;
282
283 $ignore = array( 'HTTP_COOKIE' );
284
285 foreach ( $_SERVER as $key => $value )
286 if ( ! in_array( $key, (array) $ignore ) )
287 $c["$key"] = $value;
288
289 $query_string = '';
290 foreach ( $c as $key => $data )
291 $query_string .= $key . '=' . urlencode( stripslashes( (string) $data ) ) . '&';
292
293 $response = akismet_http_post( $query_string, $akismet_api_host,
294 '/1.1/comment-check', $akismet_api_port );
295 if ( 'true' == $response[1] )
296 return true;
297 else
298 return false;
299 }
300
301 /* Mail */
302
303 function mail() {
304 $fes = $this->form_scan_shortcode();
305
306 foreach ( $fes as $fe ) {
307 if ( empty( $fe['name'] ) )
308 continue;
309
310 $name = $fe['name'];
311 $pipes = $fe['pipes'];
312 $value = $_POST[$name];
313
314 if ( WPCF7_USE_PIPE && is_a( $pipes, 'WPCF7_Pipes' ) && ! $pipes->zero() ) {
315 if ( is_array( $value) ) {
316 $new_value = array();
317 foreach ( $value as $v ) {
318 $new_value[] = $pipes->do_pipe( stripslashes( $v ) );
319 }
320 $value = $new_value;
321 } else {
322 $value = $pipes->do_pipe( stripslashes( $value ) );
323 }
324 }
325
326 $this->posted_data[$name] = $value;
327 }
328
329 if ( $this->in_demo_mode() )
330 $this->skip_mail = true;
331
332 do_action_ref_array( 'wpcf7_before_send_mail', array( &$this ) );
333
334 if ( $this->skip_mail )
335 return true;
336
337 if ( $this->compose_and_send_mail( $this->mail ) ) {
338 if ( $this->mail_2['active'] )
339 $this->compose_and_send_mail( $this->mail_2 );
340
341 return true;
342 }
343
344 return false;
345 }
346
347 function compose_and_send_mail( $mail_template ) {
348 $regex = '/\[\s*([a-zA-Z_][0-9a-zA-Z:._-]*)\s*\]/';
349
350 $use_html = (bool) $mail_template['use_html'];
351
352 if ( $use_html )
353 $callback = array( &$this, 'mail_callback_html' );
354 else
355 $callback = array( &$this, 'mail_callback' );
356
357 $subject = preg_replace_callback( $regex, $callback, $mail_template['subject'] );
358 $sender = preg_replace_callback( $regex, $callback, $mail_template['sender'] );
359 $recipient = preg_replace_callback( $regex, $callback, $mail_template['recipient'] );
360 $additional_headers =
361 preg_replace_callback( $regex, $callback, $mail_template['additional_headers'] );
362 $body = preg_replace_callback( $regex, $callback, $mail_template['body'] );
363
364 if ( $use_html )
365 $body = wpautop( $body );
366
367 extract( apply_filters( 'wpcf7_mail_components',
368 compact( 'subject', 'sender', 'body', 'recipient', 'additional_headers' ) ) );
369
370 $headers = "From: $sender\n";
371
372 if ( $use_html )
373 $headers .= "Content-Type: text/html\n";
374
375 $headers .= trim( $additional_headers ) . "\n";
376
377 if ( $this->uploaded_files ) {
378 $for_this_mail = array();
379 foreach ( $this->uploaded_files as $name => $path ) {
380 if ( false === strpos( $mail_template['attachments'], "[${name}]" ) )
381 continue;
382 $for_this_mail[] = $path;
383 }
384
385 return @wp_mail( $recipient, $subject, $body, $headers, $for_this_mail );
386 } else {
387 return @wp_mail( $recipient, $subject, $body, $headers );
388 }
389 }
390
391 function mail_callback_html( $matches ) {
392 return $this->mail_callback( $matches, true );
393 }
394
395 function mail_callback( $matches, $html = false ) {
396 if ( isset( $this->posted_data[$matches[1]] ) ) {
397 $submitted = $this->posted_data[$matches[1]];
398
399 if ( is_array( $submitted ) )
400 $replaced = join( ', ', $submitted );
401 else
402 $replaced = $submitted;
403
404 if ( $html ) {
405 $replaced = strip_tags( $replaced );
406 $replaced = wptexturize( $replaced );
407 }
408
409 $replaced = apply_filters( 'wpcf7_mail_tag_replaced', $replaced, $submitted );
410
411 return stripslashes( $replaced );
412 }
413
414 if ( $special = apply_filters( 'wpcf7_special_mail_tags', '', $matches[1] ) )
415 return $special;
416
417 return $matches[0];
418 }
419
420 /* Message */
421
422 function message( $status ) {
423 $messages = $this->messages;
424 $message = $messages[$status];
425
426 return apply_filters( 'wpcf7_display_message', $message );
427 }
428
429 /* Additional settings */
430
431 function additional_setting( $name, $max = 1 ) {
432 $tmp_settings = (array) explode( "\n", $this->additional_settings );
433
434 $count = 0;
435 $values = array();
436
437 foreach ( $tmp_settings as $setting ) {
438 if ( preg_match('/^([a-zA-Z0-9_]+)\s*:(.*)$/', $setting, $matches ) ) {
439 if ( $matches[1] != $name )
440 continue;
441
442 if ( ! $max || $count < (int) $max ) {
443 $values[] = trim( $matches[2] );
444 $count += 1;
445 }
446 }
447 }
448
449 return $values;
450 }
451
452 function in_demo_mode() {
453 $settings = $this->additional_setting( 'demo_mode', false );
454
455 foreach ( $settings as $setting ) {
456 if ( in_array( $setting, array( 'on', 'true', '1' ) ) )
457 return true;
458 }
459
460 return false;
461 }
462
463 /* Upgrade */
464
465 function upgrade() {
466 if ( ! isset( $this->mail['recipient'] ) )
467 $this->mail['recipient'] = get_option( 'admin_email' );
468
469
470 if ( ! is_array( $this->messages ) )
471 $this->messages = array();
472
473
474 foreach ( wpcf7_messages() as $key => $arr ) {
475 if ( ! isset( $this->messages[$key] ) )
476 $this->messages[$key] = $arr['default'];
477 }
478 }
479
480 /* Save */
481
482 function save() {
483 global $wpdb, $wpcf7;
484
485 $fields = array(
486 'title' => maybe_serialize( stripslashes_deep( $this->title ) ),
487 'form' => maybe_serialize( stripslashes_deep( $this->form ) ),
488 'mail' => maybe_serialize( stripslashes_deep( $this->mail ) ),
489 'mail_2' => maybe_serialize ( stripslashes_deep( $this->mail_2 ) ),
490 'messages' => maybe_serialize( stripslashes_deep( $this->messages ) ),
491 'additional_settings' =>
492 maybe_serialize( stripslashes_deep( $this->additional_settings ) ) );
493
494 if ( $this->initial ) {
495 $result = $wpdb->insert( $wpcf7->contactforms, $fields );
496
497 if ( $result ) {
498 $this->initial = false;
499 $this->id = $wpdb->insert_id;
500
501 do_action_ref_array( 'wpcf7_after_create', array( &$this ) );
502 } else {
503 return false; // Failed to save
504 }
505
506 } else { // Update
507 if ( ! (int) $this->id )
508 return false; // Missing ID
509
510 $result = $wpdb->update( $wpcf7->contactforms, $fields,
511 array( 'cf7_unit_id' => absint( $this->id ) ) );
512
513 if ( false !== $result ) {
514 do_action_ref_array( 'wpcf7_after_update', array( &$this ) );
515 } else {
516 return false; // Failed to save
517 }
518 }
519
520 do_action_ref_array( 'wpcf7_after_save', array( &$this ) );
521 return true; // Succeeded to save
522 }
523
524 function copy() {
525 $new = new WPCF7_ContactForm();
526 $new->initial = true;
527
528 $new->title = $this->title . '_copy';
529 $new->form = $this->form;
530 $new->mail = $this->mail;
531 $new->mail_2 = $this->mail_2;
532 $new->messages = $this->messages;
533 $new->additional_settings = $this->additional_settings;
534
535 return $new;
536 }
537
538 function delete() {
539 global $wpdb, $wpcf7;
540
541 if ( $this->initial )
542 return;
543
544 $query = $wpdb->prepare(
545 "DELETE FROM $wpcf7->contactforms WHERE cf7_unit_id = %d LIMIT 1",
546 absint( $this->id ) );
547
548 $wpdb->query( $query );
549
550 $this->initial = true;
551 $this->id = null;
552 }
553}
554
555function wpcf7_contact_form( $id ) {
556 global $wpdb, $wpcf7;
557
558 $query = $wpdb->prepare( "SELECT * FROM $wpcf7->contactforms WHERE cf7_unit_id = %d", $id );
559
560 if ( ! $row = $wpdb->get_row( $query ) )
561 return false; // No data
562
563 $contact_form = new WPCF7_ContactForm();
564 $contact_form->id = $row->cf7_unit_id;
565 $contact_form->title = maybe_unserialize( $row->title );
566 $contact_form->form = maybe_unserialize( $row->form );
567 $contact_form->mail = maybe_unserialize( $row->mail );
568 $contact_form->mail_2 = maybe_unserialize( $row->mail_2 );
569 $contact_form->messages = maybe_unserialize( $row->messages );
570 $contact_form->additional_settings = maybe_unserialize( $row->additional_settings );
571
572 $contact_form->upgrade();
573
574 return $contact_form;
575}
576
577function wpcf7_contact_form_default_pack( $locale = null ) {
578 global $l10n;
579
580 if ( $locale && $locale != get_locale() ) {
581 $mo_orig = $l10n['wpcf7'];
582 unset( $l10n['wpcf7'] );
583
584 if ( 'en_US' != $locale ) {
585 $mofile = wpcf7_plugin_path( 'languages/wpcf7-' . $locale . '.mo' );
586 if ( ! load_textdomain( 'wpcf7', $mofile ) ) {
587 $l10n['wpcf7'] = $mo_orig;
588 unset( $mo_orig );
589 }
590 }
591 }
592
593 $contact_form = new WPCF7_ContactForm();
594 $contact_form->initial = true;
595
596 $contact_form->title = __( 'Untitled', 'wpcf7' );
597 $contact_form->form = wpcf7_default_form_template();
598 $contact_form->mail = wpcf7_default_mail_template();
599 $contact_form->mail_2 = wpcf7_default_mail_2_template();
600 $contact_form->messages = wpcf7_default_messages_template();
601
602 if ( isset( $mo_orig ) )
603 $l10n['wpcf7'] = $mo_orig;
604
605 return $contact_form;
606}
607
608function wpcf7_get_current_contact_form() {
609 global $wpcf7_contact_form;
610
611 if ( ! is_a( $wpcf7_contact_form, 'WPCF7_ContactForm' ) )
612 return null;
613
614 return $wpcf7_contact_form;
615}
616
617function wpcf7_is_posted() {
618 if ( ! $contact_form = wpcf7_get_current_contact_form() )
619 return false;
620
621 return $contact_form->is_posted();
622}
623
624function wpcf7_get_validation_error( $name ) {
625 if ( ! $contact_form = wpcf7_get_current_contact_form() )
626 return '';
627
628 return $contact_form->validation_error( $name );
629}
630
631function wpcf7_get_message( $status ) {
632 if ( ! $contact_form = wpcf7_get_current_contact_form() )
633 return '';
634
635 return $contact_form->message( $status );
636}
637
638function wpcf7_scan_shortcode( $cond = null ) {
639 if ( ! $contact_form = wpcf7_get_current_contact_form() )
640 return null;
641
642 return $contact_form->form_scan_shortcode( $cond );
643}
644
645?>
0\ No newline at end of file646\ No newline at end of file
1647
=== added file 'wp-content/plugins/contact-form-7/includes/controller.php'
--- wp-content/plugins/contact-form-7/includes/controller.php 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/includes/controller.php 2011-02-18 16:15:41 +0000
@@ -0,0 +1,288 @@
1<?php
2
3add_action( 'init', 'wpcf7_init_switch', 11 );
4
5function wpcf7_init_switch() {
6 if ( 'GET' == $_SERVER['REQUEST_METHOD'] && isset( $_GET['_wpcf7_is_ajax_call'] ) ) {
7 wpcf7_ajax_onload();
8 exit();
9 } elseif ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset( $_POST['_wpcf7_is_ajax_call'] ) ) {
10 wpcf7_ajax_json_echo();
11 exit();
12 } elseif ( isset( $_POST['_wpcf7'] ) ) {
13 wpcf7_process_nonajax_submitting();
14 }
15}
16
17function wpcf7_ajax_onload() {
18 global $wpcf7_contact_form;
19
20 $echo = '';
21
22 if ( isset( $_GET['_wpcf7'] ) ) {
23 $id = (int) $_GET['_wpcf7'];
24
25 if ( $wpcf7_contact_form = wpcf7_contact_form( $id ) ) {
26 $items = apply_filters( 'wpcf7_ajax_onload', array() );
27 $wpcf7_contact_form = null;
28 }
29 }
30
31 $echo = json_encode( $items );
32
33 if ( $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' ) {
34 @header( 'Content-Type: application/json; charset=' . get_option( 'blog_charset' ) );
35 echo $echo;
36 }
37}
38
39function wpcf7_ajax_json_echo() {
40 global $wpcf7_contact_form;
41
42 $echo = '';
43
44 if ( isset( $_POST['_wpcf7'] ) ) {
45 $id = (int) $_POST['_wpcf7'];
46 $unit_tag = $_POST['_wpcf7_unit_tag'];
47
48 if ( $wpcf7_contact_form = wpcf7_contact_form( $id ) ) {
49 $validation = $wpcf7_contact_form->validate();
50
51 $items = array(
52 'mailSent' => false,
53 'into' => '#' . $unit_tag,
54 'captcha' => null );
55
56 $items = apply_filters( 'wpcf7_ajax_json_echo', $items );
57
58 if ( ! $validation['valid'] ) { // Validation error occured
59 $invalids = array();
60 foreach ( $validation['reason'] as $name => $reason ) {
61 $invalids[] = array(
62 'into' => 'span.wpcf7-form-control-wrap.' . $name,
63 'message' => $reason );
64 }
65
66 $items['message'] = wpcf7_get_message( 'validation_error' );
67 $items['invalids'] = $invalids;
68
69 } elseif ( ! $wpcf7_contact_form->accepted() ) { // Not accepted terms
70 $items['message'] = wpcf7_get_message( 'accept_terms' );
71
72 } elseif ( $wpcf7_contact_form->akismet() ) { // Spam!
73 $items['message'] = wpcf7_get_message( 'akismet_says_spam' );
74 $items['spam'] = true;
75
76 } elseif ( $wpcf7_contact_form->mail() ) {
77 $items['mailSent'] = true;
78 $items['message'] = wpcf7_get_message( 'mail_sent_ok' );
79
80 $on_sent_ok = $wpcf7_contact_form->additional_setting( 'on_sent_ok', false );
81 if ( ! empty( $on_sent_ok ) ) {
82 $on_sent_ok = array_map( 'wpcf7_strip_quote', $on_sent_ok );
83 } else {
84 $on_sent_ok = null;
85 }
86 $items['onSentOk'] = $on_sent_ok;
87
88 do_action_ref_array( 'wpcf7_mail_sent', array( &$wpcf7_contact_form ) );
89
90 } else {
91 $items['message'] = wpcf7_get_message( 'mail_sent_ng' );
92 }
93
94 // remove upload files
95 foreach ( (array) $wpcf7_contact_form->uploaded_files as $name => $path ) {
96 @unlink( $path );
97 }
98
99 $wpcf7_contact_form = null;
100 }
101 }
102
103 $echo = json_encode( $items );
104
105 if ( $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' ) {
106 @header( 'Content-Type: application/json; charset=' . get_option( 'blog_charset' ) );
107 echo $echo;
108 } else {
109 @header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
110 echo '<textarea>' . $echo . '</textarea>';
111 }
112}
113
114function wpcf7_process_nonajax_submitting() {
115 global $wpcf7_contact_form;
116
117 if ( ! isset($_POST['_wpcf7'] ) )
118 return;
119
120 $id = (int) $_POST['_wpcf7'];
121
122 if ( $wpcf7_contact_form = wpcf7_contact_form( $id ) ) {
123 $validation = $wpcf7_contact_form->validate();
124
125 if ( ! $validation['valid'] ) {
126 $_POST['_wpcf7_validation_errors'] = array( 'id' => $id, 'messages' => $validation['reason'] );
127 } elseif ( ! $wpcf7_contact_form->accepted() ) { // Not accepted terms
128 $_POST['_wpcf7_mail_sent'] = array( 'id' => $id, 'ok' => false, 'message' => wpcf7_get_message( 'accept_terms' ) );
129 } elseif ( $wpcf7_contact_form->akismet() ) { // Spam!
130 $_POST['_wpcf7_mail_sent'] = array( 'id' => $id, 'ok' => false, 'message' => wpcf7_get_message( 'akismet_says_spam' ), 'spam' => true );
131 } elseif ( $wpcf7_contact_form->mail() ) {
132 $_POST['_wpcf7_mail_sent'] = array( 'id' => $id, 'ok' => true, 'message' => wpcf7_get_message( 'mail_sent_ok' ) );
133
134 do_action_ref_array( 'wpcf7_mail_sent', array( &$wpcf7_contact_form ) );
135
136 $wpcf7_contact_form->clear_post();
137 } else {
138 $_POST['_wpcf7_mail_sent'] = array( 'id' => $id, 'ok' => false, 'message' => wpcf7_get_message( 'mail_sent_ng' ) );
139 }
140
141 // remove upload files
142 foreach ( (array) $wpcf7_contact_form->uploaded_files as $name => $path ) {
143 @unlink( $path );
144 }
145
146 $wpcf7_contact_form = null;
147 }
148}
149
150add_action( 'the_post', 'wpcf7_the_post' );
151
152function wpcf7_the_post() {
153 global $wpcf7;
154
155 $wpcf7->processing_within = 'p' . get_the_ID();
156 $wpcf7->unit_count = 0;
157}
158
159add_action( 'loop_end', 'wpcf7_loop_end' );
160
161function wpcf7_loop_end() {
162 global $wpcf7;
163
164 $wpcf7->processing_within = '';
165}
166
167add_filter( 'widget_text', 'wpcf7_widget_text_filter', 9 );
168
169function wpcf7_widget_text_filter( $content ) {
170 global $wpcf7;
171
172 $wpcf7->widget_count += 1;
173 $wpcf7->processing_within = 'w' . $wpcf7->widget_count;
174 $wpcf7->unit_count = 0;
175
176 $regex = '/\[\s*contact-form\s+(\d+(?:\s+.*)?)\]/';
177 $content = preg_replace_callback( $regex, 'wpcf7_widget_text_filter_callback', $content );
178
179 $wpcf7->processing_within = '';
180 return $content;
181}
182
183function wpcf7_widget_text_filter_callback( $matches ) {
184 return do_shortcode( $matches[0] );
185}
186
187add_shortcode( 'contact-form', 'wpcf7_contact_form_tag_func' );
188
189function wpcf7_contact_form_tag_func( $atts ) {
190 global $wpcf7, $wpcf7_contact_form;
191
192 if ( is_feed() )
193 return '[contact-form]';
194
195 if ( is_string( $atts ) )
196 $atts = explode( ' ', $atts, 2 );
197
198 $atts = (array) $atts;
199
200 $id = (int) array_shift( $atts );
201
202 if ( ! ( $wpcf7_contact_form = wpcf7_contact_form( $id ) ) )
203 return '[contact-form 404 "Not Found"]';
204
205 if ( $wpcf7->processing_within ) { // Inside post content or text widget
206 $wpcf7->unit_count += 1;
207 $unit_count = $wpcf7->unit_count;
208 $processing_within = $wpcf7->processing_within;
209
210 } else { // Inside template
211
212 if ( ! isset( $wpcf7->global_unit_count ) )
213 $wpcf7->global_unit_count = 0;
214
215 $wpcf7->global_unit_count += 1;
216 $unit_count = 1;
217 $processing_within = 't' . $wpcf7->global_unit_count;
218 }
219
220 $unit_tag = 'wpcf7-f' . $id . '-' . $processing_within . '-o' . $unit_count;
221 $wpcf7_contact_form->unit_tag = $unit_tag;
222
223 $form = $wpcf7_contact_form->form_html();
224
225 $wpcf7_contact_form = null;
226
227 return $form;
228}
229
230add_action( 'wp_head', 'wpcf7_head' );
231
232function wpcf7_head() {
233 // Cached?
234 if ( wpcf7_script_is() && defined( 'WP_CACHE' ) && WP_CACHE ) :
235?>
236<script type="text/javascript">
237//<![CDATA[
238var _wpcf7 = { cached: 1 };
239//]]>
240</script>
241<?php
242 endif;
243}
244
245if ( WPCF7_LOAD_JS )
246 add_action( 'wp_print_scripts', 'wpcf7_enqueue_scripts' );
247
248function wpcf7_enqueue_scripts() {
249 // jquery.form.js originally bundled with WordPress is out of date and deprecated
250 // so we need to deregister it and re-register the latest one
251 wp_deregister_script( 'jquery-form' );
252 wp_register_script( 'jquery-form', wpcf7_plugin_url( 'jquery.form.js' ),
253 array( 'jquery' ), '2.52', true );
254
255 $in_footer = true;
256 if ( 'header' === WPCF7_LOAD_JS )
257 $in_footer = false;
258
259 wp_enqueue_script( 'contact-form-7', wpcf7_plugin_url( 'scripts.js' ),
260 array( 'jquery', 'jquery-form' ), WPCF7_VERSION, $in_footer );
261
262 do_action( 'wpcf7_enqueue_scripts' );
263}
264
265function wpcf7_script_is() {
266 return wp_script_is( 'contact-form-7' );
267}
268
269if ( WPCF7_LOAD_CSS )
270 add_action( 'wp_print_styles', 'wpcf7_enqueue_styles' );
271
272function wpcf7_enqueue_styles() {
273 wp_enqueue_style( 'contact-form-7', wpcf7_plugin_url( 'styles.css' ),
274 array(), WPCF7_VERSION, 'all' );
275
276 if ( 'rtl' == get_bloginfo( 'text_direction' ) ) {
277 wp_enqueue_style( 'contact-form-7-rtl', wpcf7_plugin_url( 'styles-rtl.css' ),
278 array(), WPCF7_VERSION, 'all' );
279 }
280
281 do_action( 'wpcf7_enqueue_styles' );
282}
283
284function wpcf7_style_is() {
285 return wp_style_is( 'contact-form-7' );
286}
287
288?>
0\ No newline at end of file289\ No newline at end of file
1290
=== added file 'wp-content/plugins/contact-form-7/includes/formatting.php'
--- wp-content/plugins/contact-form-7/includes/formatting.php 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/includes/formatting.php 2011-02-18 16:15:41 +0000
@@ -0,0 +1,144 @@
1<?php
2
3function wpcf7_autop( $pee, $br = 1 ) {
4
5 if ( trim( $pee ) === '' )
6 return '';
7 $pee = $pee . "\n"; // just to make things a little easier, pad the end
8 $pee = preg_replace( '|<br />\s*<br />|', "\n\n", $pee );
9 // Space things out a little
10 /* wpcf7: remove select and input */
11 $allblocks = '(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)';
12 $pee = preg_replace( '!(<' . $allblocks . '[^>]*>)!', "\n$1", $pee );
13 $pee = preg_replace( '!(</' . $allblocks . '>)!', "$1\n\n", $pee );
14 $pee = str_replace( array( "\r\n", "\r" ), "\n", $pee ); // cross-platform newlines
15 if ( strpos( $pee, '<object' ) !== false ) {
16 $pee = preg_replace( '|\s*<param([^>]*)>\s*|', "<param$1>", $pee ); // no pee inside object/embed
17 $pee = preg_replace( '|\s*</embed>\s*|', '</embed>', $pee );
18 }
19 $pee = preg_replace( "/\n\n+/", "\n\n", $pee ); // take care of duplicates
20 // make paragraphs, including one at the end
21 $pees = preg_split( '/\n\s*\n/', $pee, -1, PREG_SPLIT_NO_EMPTY );
22 $pee = '';
23 foreach ( $pees as $tinkle )
24 $pee .= '<p>' . trim( $tinkle, "\n" ) . "</p>\n";
25 $pee = preg_replace( '|<p>\s*</p>|', '', $pee ); // under certain strange conditions it could create a P of entirely whitespace
26 $pee = preg_replace( '!<p>([^<]+)</(div|address|form|fieldset)>!', "<p>$1</p></$2>", $pee );
27 $pee = preg_replace( '!<p>\s*(</?' . $allblocks . '[^>]*>)\s*</p>!', "$1", $pee ); // don't pee all over a tag
28 $pee = preg_replace( "|<p>(<li.+?)</p>|", "$1", $pee ); // problem with nested lists
29 $pee = preg_replace( '|<p><blockquote([^>]*)>|i', "<blockquote$1><p>", $pee );
30 $pee = str_replace( '</blockquote></p>', '</p></blockquote>', $pee );
31 $pee = preg_replace( '!<p>\s*(</?' . $allblocks . '[^>]*>)!', "$1", $pee );
32 $pee = preg_replace( '!(</?' . $allblocks . '[^>]*>)\s*</p>!', "$1", $pee );
33 if ( $br ) {
34 /* wpcf7: add textarea */
35 $pee = preg_replace_callback( '/<(script|style|textarea).*?<\/\\1>/s', create_function( '$matches', 'return str_replace("\n", "<WPPreserveNewline />", $matches[0]);' ), $pee );
36 $pee = preg_replace( '|(?<!<br />)\s*\n|', "<br />\n", $pee ); // optionally make line breaks
37 $pee = str_replace( '<WPPreserveNewline />', "\n", $pee );
38 }
39 $pee = preg_replace( '!(</?' . $allblocks . '[^>]*>)\s*<br />!', "$1", $pee );
40 $pee = preg_replace( '!<br />(\s*</?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)!', '$1', $pee );
41 if ( strpos( $pee, '<pre' ) !== false )
42 $pee = preg_replace_callback( '!(<pre[^>]*>)(.*?)</pre>!is', 'clean_pre', $pee );
43 $pee = preg_replace( "|\n</p>$|", '</p>', $pee );
44
45 return $pee;
46}
47
48function wpcf7_strip_quote( $text ) {
49 $text = trim( $text );
50 if ( preg_match( '/^"(.*)"$/', $text, $matches ) )
51 $text = $matches[1];
52 elseif ( preg_match( "/^'(.*)'$/", $text, $matches ) )
53 $text = $matches[1];
54 return $text;
55}
56
57function wpcf7_strip_quote_deep( $arr ) {
58 if ( is_string( $arr ) )
59 return wpcf7_strip_quote( $arr );
60
61 if ( is_array( $arr ) ) {
62 $result = array();
63 foreach ( $arr as $key => $text ) {
64 $result[$key] = wpcf7_strip_quote( $text );
65 }
66 return $result;
67 }
68}
69
70function wpcf7_canonicalize( $text ) {
71 if ( function_exists( 'mb_convert_kana' ) && 'UTF-8' == get_option( 'blog_charset' ) )
72 $text = mb_convert_kana( $text, 'asKV', 'UTF-8' );
73
74 $text = strtolower( $text );
75 $text = trim( $text );
76 return $text;
77}
78
79function wpcf7_sanitize_file_name( $filename ) {
80 /* Memo:
81 // This function does sanitization introduced in http://core.trac.wordpress.org/ticket/11122
82 // WordPress 2.8.6 will implement it in sanitize_file_name().
83 // While Contact Form 7's file uploading function uses wp_unique_filename(), and
84 // it in turn calls sanitize_file_name(). Therefore this wpcf7_sanitize_file_name() will be
85 // redundant and unnecessary when you use Contact Form 7 on WordPress 2.8.6 or higher.
86 // This function is provided just for the sake of protecting who uses older WordPress.
87 */
88
89 // Split the filename into a base and extension[s]
90 $parts = explode( '.', $filename );
91
92 // Return if only one extension
93 if ( count( $parts ) <= 2 )
94 return $filename;
95
96 // Process multiple extensions
97 $filename = array_shift( $parts );
98 $extension = array_pop( $parts );
99
100 $mimes = array( 'jpg|jpeg|jpe', 'gif', 'png', 'bmp',
101 'tif|tiff', 'ico', 'asf|asx|wax|wmv|wmx', 'avi',
102 'divx', 'mov|qt', 'mpeg|mpg|mpe', 'txt|c|cc|h',
103 'rtx', 'css', 'htm|html', 'mp3|m4a', 'mp4|m4v',
104 'ra|ram', 'wav', 'ogg', 'mid|midi', 'wma', 'rtf',
105 'js', 'pdf', 'doc|docx', 'pot|pps|ppt|pptx', 'wri',
106 'xla|xls|xlsx|xlt|xlw', 'mdb', 'mpp', 'swf', 'class',
107 'tar', 'zip', 'gz|gzip', 'exe',
108 // openoffice formats
109 'odt', 'odp', 'ods', 'odg', 'odc', 'odb', 'odf' );
110
111 // Loop over any intermediate extensions.
112 // Munge them with a trailing underscore if they are a 2 - 5 character
113 // long alpha string not in the extension whitelist.
114 foreach ( (array) $parts as $part) {
115 $filename .= '.' . $part;
116
117 if ( preg_match( '/^[a-zA-Z]{2,5}\d?$/', $part ) ) {
118 $allowed = false;
119 foreach ( $mimes as $ext_preg ) {
120 $ext_preg = '!(^' . $ext_preg . ')$!i';
121 if ( preg_match( $ext_preg, $part ) ) {
122 $allowed = true;
123 break;
124 }
125 }
126 if ( ! $allowed )
127 $filename .= '_';
128 }
129 }
130 $filename .= '.' . $extension;
131
132 return $filename;
133}
134
135function wpcf7_is_name( $string ) {
136 // See http://www.w3.org/TR/html401/types.html#h-6.2
137 // ID and NAME tokens must begin with a letter ([A-Za-z])
138 // and may be followed by any number of letters, digits ([0-9]),
139 // hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
140
141 return preg_match( '/^[A-Za-z][-A-Za-z0-9_:.]*$/', $string );
142}
143
144?>
0\ No newline at end of file145\ No newline at end of file
1146
=== added file 'wp-content/plugins/contact-form-7/includes/functions.php'
--- wp-content/plugins/contact-form-7/includes/functions.php 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/includes/functions.php 2011-02-18 16:15:41 +0000
@@ -0,0 +1,225 @@
1<?php
2
3function wpcf7_messages() {
4 $messages = array(
5 'mail_sent_ok' => array(
6 'description' => __( "Sender's message was sent successfully", 'wpcf7' ),
7 'default' => __( 'Your message was sent successfully. Thanks.', 'wpcf7' )
8 ),
9
10 'mail_sent_ng' => array(
11 'description' => __( "Sender's message was failed to send", 'wpcf7' ),
12 'default' => __( 'Failed to send your message. Please try later or contact administrator by other way.', 'wpcf7' )
13 ),
14
15 'akismet_says_spam' => array(
16 'description' => __( "Akismet judged the sending activity as spamming", 'wpcf7' ),
17 'default' => __( 'Failed to send your message. Please try later or contact administrator by other way.', 'wpcf7' )
18 ),
19
20 'validation_error' => array(
21 'description' => __( "Validation errors occurred", 'wpcf7' ),
22 'default' => __( 'Validation errors occurred. Please confirm the fields and submit it again.', 'wpcf7' )
23 ),
24
25 'accept_terms' => array(
26 'description' => __( "There is a field of term that sender is needed to accept", 'wpcf7' ),
27 'default' => __( 'Please accept the terms to proceed.', 'wpcf7' )
28 ),
29
30 'invalid_email' => array(
31 'description' => __( "Email address that sender entered is invalid", 'wpcf7' ),
32 'default' => __( 'Email address seems invalid.', 'wpcf7' )
33 ),
34
35 'invalid_required' => array(
36 'description' => __( "There is a field that sender is needed to fill in", 'wpcf7' ),
37 'default' => __( 'Please fill the required field.', 'wpcf7' )
38 )
39 );
40
41 return apply_filters( 'wpcf7_messages', $messages );
42}
43
44function wpcf7_default_form_template() {
45 $template =
46 '<p>' . __( 'Your Name', 'wpcf7' ) . ' ' . __( '(required)', 'wpcf7' ) . '<br />' . "\n"
47 . ' [text* your-name] </p>' . "\n\n"
48 . '<p>' . __( 'Your Email', 'wpcf7' ) . ' ' . __( '(required)', 'wpcf7' ) . '<br />' . "\n"
49 . ' [email* your-email] </p>' . "\n\n"
50 . '<p>' . __( 'Subject', 'wpcf7' ) . '<br />' . "\n"
51 . ' [text your-subject] </p>' . "\n\n"
52 . '<p>' . __( 'Your Message', 'wpcf7' ) . '<br />' . "\n"
53 . ' [textarea your-message] </p>' . "\n\n"
54 . '<p>[submit "' . __( 'Send', 'wpcf7' ) . '"]</p>';
55
56 return $template;
57}
58
59function wpcf7_default_mail_template() {
60 $subject = '[your-subject]';
61 $sender = '[your-name] <[your-email]>';
62 $body = sprintf( __( 'From: %s', 'wpcf7' ), '[your-name] <[your-email]>' ) . "\n"
63 . sprintf( __( 'Subject: %s', 'wpcf7' ), '[your-subject]' ) . "\n\n"
64 . __( 'Message Body:', 'wpcf7' ) . "\n" . '[your-message]' . "\n\n" . '--' . "\n"
65 . sprintf( __( 'This mail is sent via contact form on %1$s %2$s', 'wpcf7' ),
66 get_bloginfo( 'name' ), get_bloginfo( 'url' ) );
67 $recipient = get_option( 'admin_email' );
68 $additional_headers = '';
69 $attachments = '';
70 $use_html = 0;
71 return compact( 'subject', 'sender', 'body', 'recipient', 'additional_headers', 'attachments', 'use_html' );
72}
73
74function wpcf7_default_mail_2_template() {
75 $active = false;
76 $subject = '[your-subject]';
77 $sender = '[your-name] <[your-email]>';
78 $body = __( 'Message body:', 'wpcf7' ) . "\n" . '[your-message]' . "\n\n" . '--' . "\n"
79 . sprintf( __( 'This mail is sent via contact form on %1$s %2$s', 'wpcf7' ),
80 get_bloginfo( 'name' ), get_bloginfo( 'url' ) );
81 $recipient = '[your-email]';
82 $additional_headers = '';
83 $attachments = '';
84 $use_html = 0;
85 return compact( 'active', 'subject', 'sender', 'body', 'recipient', 'additional_headers', 'attachments', 'use_html' );
86}
87
88function wpcf7_default_messages_template() {
89 $messages = array();
90
91 foreach ( wpcf7_messages() as $key => $arr ) {
92 $messages[$key] = $arr['default'];
93 }
94
95 return $messages;
96}
97
98function wpcf7_is_multisite() { // will be removed when WordPress 2.9 is not supported
99 if ( function_exists( 'is_multisite' ) )
100 return is_multisite();
101
102 return false;
103}
104
105function wpcf7_is_main_site() { // will be removed when WordPress 2.9 is not supported
106 if ( function_exists( 'is_main_site' ) )
107 return is_main_site();
108
109 return false;
110}
111
112function wpcf7_upload_dir( $type = false ) {
113 global $switched;
114
115 $siteurl = get_option( 'siteurl' );
116 $upload_path = trim( get_option( 'upload_path' ) );
117
118 $main_override = wpcf7_is_multisite() && defined( 'MULTISITE' ) && wpcf7_is_main_site();
119
120 if ( empty( $upload_path ) ) {
121 $dir = WP_CONTENT_DIR . '/uploads';
122 } else {
123 $dir = $upload_path;
124
125 if ( 'wp-content/uploads' == $upload_path ) {
126 $dir = WP_CONTENT_DIR . '/uploads';
127 } elseif ( 0 !== strpos( $dir, ABSPATH ) ) {
128 // $dir is absolute, $upload_path is (maybe) relative to ABSPATH
129 $dir = path_join( ABSPATH, $dir );
130 }
131 }
132
133 if ( ! $url = get_option( 'upload_url_path' ) ) {
134 if ( empty( $upload_path )
135 || ( 'wp-content/uploads' == $upload_path )
136 || ( $upload_path == $dir ) )
137 $url = WP_CONTENT_URL . '/uploads';
138 else
139 $url = trailingslashit( $siteurl ) . $upload_path;
140 }
141
142 if ( defined( 'UPLOADS' ) && ! $main_override
143 && ( ! isset( $switched ) || $switched === false ) ) {
144 $dir = ABSPATH . UPLOADS;
145 $url = trailingslashit( $siteurl ) . UPLOADS;
146 }
147
148 if ( wpcf7_is_multisite() && ! $main_override
149 && ( ! isset( $switched ) || $switched === false ) ) {
150
151 if ( defined( 'BLOGUPLOADDIR' ) )
152 $dir = untrailingslashit( BLOGUPLOADDIR );
153
154 $url = str_replace( UPLOADS, 'files', $url );
155 }
156
157 $uploads = apply_filters( 'wpcf7_upload_dir', array( 'dir' => $dir, 'url' => $url ) );
158
159 if ( 'dir' == $type )
160 return $uploads['dir'];
161 if ( 'url' == $type )
162 return $uploads['url'];
163
164 return $uploads;
165}
166
167function wpcf7_l10n() {
168 $l10n = array(
169 'af' => __( 'Afrikaans', 'wpcf7' ),
170 'sq' => __( 'Albanian', 'wpcf7' ),
171 'ar' => __( 'Arabic', 'wpcf7' ),
172 'hy_AM' => __( 'Armenian', 'wpcf7' ),
173 'bn_BD' => __( 'Bangla', 'wpcf7' ),
174 'bs' => __( 'Bosnian', 'wpcf7' ),
175 'pt_BR' => __( 'Brazilian Portuguese', 'wpcf7' ),
176 'bg_BG' => __( 'Bulgarian', 'wpcf7' ),
177 'ca' => __( 'Catalan', 'wpcf7' ),
178 'zh_CN' => __( 'Chinese (Simplified)', 'wpcf7' ),
179 'zh_TW' => __( 'Chinese (Traditional)', 'wpcf7' ),
180 'hr' => __( 'Croatian', 'wpcf7' ),
181 'cs_CZ' => __( 'Czech', 'wpcf7' ),
182 'da_DK' => __( 'Danish', 'wpcf7' ),
183 'nl_NL' => __( 'Dutch', 'wpcf7' ),
184 'en_US' => __( 'English', 'wpcf7' ),
185 'et' => __( 'Estonian', 'wpcf7' ),
186 'fi' => __( 'Finnish', 'wpcf7' ),
187 'fr_FR' => __( 'French', 'wpcf7' ),
188 'gl_ES' => __( 'Galician', 'wpcf7' ),
189 'ka_GE' => __( 'Georgian', 'wpcf7' ),
190 'de_DE' => __( 'German', 'wpcf7' ),
191 'el' => __( 'Greek', 'wpcf7' ),
192 'he_IL' => __( 'Hebrew', 'wpcf7' ),
193 'hi_IN' => __( 'Hindi', 'wpcf7' ),
194 'hu_HU' => __( 'Hungarian', 'wpcf7' ),
195 'id_ID' => __( 'Indonesian', 'wpcf7' ),
196 'it_IT' => __( 'Italian', 'wpcf7' ),
197 'ja' => __( 'Japanese', 'wpcf7' ),
198 'ko_KR' => __( 'Korean', 'wpcf7' ),
199 'lv' => __( 'Latvian', 'wpcf7' ),
200 'lt_LT' => __( 'Lithuanian', 'wpcf7' ),
201 'mk_MK' => __( 'Macedonian', 'wpcf7' ),
202 'ms_MY' => __( 'Malay', 'wpcf7' ),
203 'ml_IN' => __( 'Malayalam', 'wpcf7' ),
204 'nb_NO' => __( 'Norwegian', 'wpcf7' ),
205 'fa_IR' => __( 'Persian', 'wpcf7' ),
206 'pl_PL' => __( 'Polish', 'wpcf7' ),
207 'pt_PT' => __( 'Portuguese', 'wpcf7' ),
208 'ru_RU' => __( 'Russian', 'wpcf7' ),
209 'ro_RO' => __( 'Romanian', 'wpcf7' ),
210 'sr_RS' => __( 'Serbian', 'wpcf7' ),
211 'sk' => __( 'Slovak', 'wpcf7' ),
212 'sl_SI' => __( 'Slovene', 'wpcf7' ),
213 'es_ES' => __( 'Spanish', 'wpcf7' ),
214 'sv_SE' => __( 'Swedish', 'wpcf7' ),
215 'ta' => __( 'Tamil', 'wpcf7' ),
216 'th' => __( 'Thai', 'wpcf7' ),
217 'tr_TR' => __( 'Turkish', 'wpcf7' ),
218 'uk' => __( 'Ukrainian', 'wpcf7' ),
219 'vi' => __( 'Vietnamese', 'wpcf7' )
220 );
221
222 return $l10n;
223}
224
225?>
0\ No newline at end of file226\ No newline at end of file
1227
=== added file 'wp-content/plugins/contact-form-7/includes/pipe.php'
--- wp-content/plugins/contact-form-7/includes/pipe.php 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/includes/pipe.php 2011-02-18 16:15:41 +0000
@@ -0,0 +1,67 @@
1<?php
2
3class WPCF7_Pipe {
4
5 var $before = '';
6 var $after = '';
7
8 function WPCF7_Pipe( $text ) {
9 $pipe_pos = strpos( $text, '|' );
10 if ( false === $pipe_pos ) {
11 $this->before = $this->after = $text;
12 } else {
13 $this->before = substr( $text, 0, $pipe_pos );
14 $this->after = substr( $text, $pipe_pos + 1 );
15 }
16 }
17}
18
19class WPCF7_Pipes {
20
21 var $pipes = array();
22
23 function WPCF7_Pipes( $texts ) {
24 if ( ! is_array( $texts ) )
25 return;
26
27 foreach ( $texts as $text ) {
28 $this->add_pipe( $text );
29 }
30 }
31
32 function add_pipe( $text ) {
33 $pipe = new WPCF7_Pipe( $text );
34 $this->pipes[] = $pipe;
35 }
36
37 function do_pipe( $before ) {
38 foreach ( $this->pipes as $pipe ) {
39 if ( $pipe->before == $before )
40 return $pipe->after;
41 }
42 return $before;
43 }
44
45 function collect_befores() {
46 $befores = array();
47
48 foreach ( $this->pipes as $pipe ) {
49 $befores[] = $pipe->before;
50 }
51
52 return $befores;
53 }
54
55 function zero() {
56 return empty( $this->pipes );
57 }
58
59 function random_pipe() {
60 if ( $this->zero() )
61 return null;
62
63 return $this->pipes[array_rand( $this->pipes )];
64 }
65}
66
67?>
0\ No newline at end of file68\ No newline at end of file
169
=== added file 'wp-content/plugins/contact-form-7/includes/shortcodes.php'
--- wp-content/plugins/contact-form-7/includes/shortcodes.php 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/includes/shortcodes.php 2011-02-18 16:15:41 +0000
@@ -0,0 +1,171 @@
1<?php
2
3class WPCF7_ShortcodeManager {
4
5 var $shortcode_tags = array();
6
7 // Taggs scanned at the last time of do_shortcode()
8 var $scanned_tags = null;
9
10 // Executing shortcodes (true) or just scanning (false)
11 var $exec = true;
12
13 function add_shortcode( $tag, $func, $has_name = false ) {
14 if ( is_callable( $func ) )
15 $this->shortcode_tags[$tag] = array(
16 'function' => $func,
17 'has_name' => (boolean) $has_name );
18 }
19
20 function remove_shortcode( $tag ) {
21 unset( $this->shortcode_tags[$tag] );
22 }
23
24 function normalize_shortcode( $content ) {
25 if ( empty( $this->shortcode_tags ) || ! is_array( $this->shortcode_tags ) )
26 return $content;
27
28 $pattern = $this->get_shortcode_regex();
29 return preg_replace_callback( '/' . $pattern . '/s',
30 array( &$this, 'normalize_space_cb' ), $content );
31 }
32
33 function normalize_space_cb( $m ) {
34 // allow [[foo]] syntax for escaping a tag
35 if ( $m[1] == '[' && $m[6] == ']' )
36 return $m[0];
37
38 return preg_replace( '/\s+/', ' ', $m[0] );
39 }
40
41 function do_shortcode( $content, $exec = true ) {
42 $this->exec = (bool) $exec;
43 $this->scanned_tags = array();
44
45 if ( empty( $this->shortcode_tags ) || ! is_array( $this->shortcode_tags ) )
46 return $content;
47
48 $pattern = $this->get_shortcode_regex();
49 return preg_replace_callback( '/' . $pattern . '/s',
50 array( &$this, 'do_shortcode_tag' ), $content );
51 }
52
53 function scan_shortcode( $content ) {
54 $this->do_shortcode( $content, false );
55 return $this->scanned_tags;
56 }
57
58 function get_shortcode_regex() {
59 $tagnames = array_keys( $this->shortcode_tags );
60 $tagregexp = join( '|', array_map( 'preg_quote', $tagnames ) );
61
62 return '(\[?)\[(' . $tagregexp . ')(?:\s(.*?))?(?:\s(\/))?\](?:(.+?)\[\/\2\])?(\]?)';
63 }
64
65 function do_shortcode_tag( $m ) {
66 // allow [[foo]] syntax for escaping a tag
67 if ( $m[1] == '[' && $m[6] == ']' ) {
68 return substr( $m[0], 1, -1 );
69 }
70
71 $tag = $m[2];
72 $attr = $this->shortcode_parse_atts( $m[3] );
73
74 $scanned_tag = array();
75 $scanned_tag['type'] = $tag;
76
77 if ( is_array( $attr ) ) {
78 if ( is_array( $attr['options'] ) ) {
79 if ( $this->shortcode_tags[$tag]['has_name'] && ! empty( $attr['options'] ) ) {
80 $scanned_tag['name'] = array_shift( $attr['options'] );
81
82 if ( ! wpcf7_is_name( $scanned_tag['name'] ) )
83 return $m[0]; // Invalid name is used. Ignore this tag.
84 }
85
86 $scanned_tag['options'] = (array) $attr['options'];
87 }
88
89 $scanned_tag['raw_values'] = (array) $attr['values'];
90
91 if ( WPCF7_USE_PIPE ) {
92 $pipes = new WPCF7_Pipes( $scanned_tag['raw_values'] );
93 $scanned_tag['values'] = $pipes->collect_befores();
94 $scanned_tag['pipes'] = $pipes;
95 } else {
96 $scanned_tag['values'] = $scanned_tag['raw_values'];
97 }
98
99 $scanned_tag['labels'] = $scanned_tag['values'];
100
101 } else {
102 $scanned_tag['attr'] = $attr;
103 }
104
105 $content = trim( $m[5] );
106 $content = preg_replace( "/<br\s*\/?>$/m", '', $content );
107 $scanned_tag['content'] = $content;
108
109 $scanned_tag = apply_filters( 'wpcf7_form_tag', $scanned_tag, $this->exec );
110
111 $this->scanned_tags[] = $scanned_tag;
112
113 if ( $this->exec ) {
114 $func = $this->shortcode_tags[$tag]['function'];
115 return $m[1] . call_user_func( $func, $scanned_tag ) . $m[6];
116 } else {
117 return $m[0];
118 }
119 }
120
121 function shortcode_parse_atts( $text ) {
122 $atts = array( 'options' => array(), 'values' => array() );
123 $text = preg_replace( "/[\x{00a0}\x{200b}]+/u", " ", $text );
124 $text = stripcslashes( trim( $text ) );
125
126 $pattern = '%^([-+*=0-9a-zA-Z:.!?#$&@_/|\%\s]*?)((?:\s*"[^"]*"|\s*\'[^\']*\')*)$%';
127
128 if ( preg_match( $pattern, $text, $match ) ) {
129 if ( ! empty( $match[1] ) ) {
130 $atts['options'] = preg_split( '/[\s]+/', trim( $match[1] ) );
131 }
132 if ( ! empty( $match[2] ) ) {
133 preg_match_all( '/"[^"]*"|\'[^\']*\'/', $match[2], $matched_values );
134 $atts['values'] = wpcf7_strip_quote_deep( $matched_values[0] );
135 }
136 } else {
137 $atts = $text;
138 }
139
140 return $atts;
141 }
142
143}
144
145$wpcf7_shortcode_manager = new WPCF7_ShortcodeManager();
146
147function wpcf7_add_shortcode( $tag, $func, $has_name = false ) {
148 global $wpcf7_shortcode_manager;
149
150 return $wpcf7_shortcode_manager->add_shortcode( $tag, $func, $has_name );
151}
152
153function wpcf7_remove_shortcode( $tag ) {
154 global $wpcf7_shortcode_manager;
155
156 return $wpcf7_shortcode_manager->remove_shortcode( $tag );
157}
158
159function wpcf7_do_shortcode( $content ) {
160 global $wpcf7_shortcode_manager;
161
162 return $wpcf7_shortcode_manager->do_shortcode( $content );
163}
164
165function wpcf7_get_shortcode_regex() {
166 global $wpcf7_shortcode_manager;
167
168 return $wpcf7_shortcode_manager->get_shortcode_regex();
169}
170
171?>
0\ No newline at end of file172\ No newline at end of file
1173
=== added file 'wp-content/plugins/contact-form-7/includes/taggenerator.php'
--- wp-content/plugins/contact-form-7/includes/taggenerator.php 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/includes/taggenerator.php 2011-02-18 16:15:41 +0000
@@ -0,0 +1,49 @@
1<?php
2
3function wpcf7_add_tag_generator( $name, $title, $elm_id, $callback, $options = array() ) {
4 global $wpcf7_tag_generators;
5
6 $name = trim( $name );
7 if ( '' == $name )
8 return false;
9
10 if ( ! is_array( $wpcf7_tag_generators ) )
11 $wpcf7_tag_generators = array();
12
13 $wpcf7_tag_generators[$name] = array(
14 'title' => $title,
15 'content' => $elm_id,
16 'options' => $options );
17
18 if ( is_callable( $callback ) )
19 add_action( 'wpcf7_admin_footer', $callback );
20
21 return true;
22}
23
24function wpcf7_print_tag_generators() {
25 global $wpcf7_tag_generators;
26
27 $output = array();
28
29 foreach ( (array) $wpcf7_tag_generators as $name => $tg ) {
30 $pane = " " . esc_js( $name ) . ": { ";
31 $pane .= "title: '" . esc_js( $tg['title'] ) . "'";
32 $pane .= ", content: '" . esc_js( $tg['content'] ) . "'";
33
34 foreach ( (array) $tg['options'] as $option_name => $option_value ) {
35 if ( is_int( $option_value ) )
36 $pane .= ", $option_name: $option_value";
37 else
38 $pane .= ", $option_name: '" . esc_js( $option_value ) . "'";
39 }
40
41 $pane .= " }";
42
43 $output[] = $pane;
44 }
45
46 echo implode( ",\n", $output ) . "\n";
47}
48
49?>
0\ No newline at end of file50\ No newline at end of file
151
=== added file 'wp-content/plugins/contact-form-7/jquery.form.js'
--- wp-content/plugins/contact-form-7/jquery.form.js 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/jquery.form.js 2011-02-18 16:15:41 +0000
@@ -0,0 +1,791 @@
1/*!
2 * jQuery Form Plugin
3 * version: 2.52 (07-DEC-2010)
4 * @requires jQuery v1.3.2 or later
5 *
6 * Examples and documentation at: http://malsup.com/jquery/form/
7 * Dual licensed under the MIT and GPL licenses:
8 * http://www.opensource.org/licenses/mit-license.php
9 * http://www.gnu.org/licenses/gpl.html
10 */
11;(function($) {
12
13/*
14 Usage Note:
15 -----------
16 Do not use both ajaxSubmit and ajaxForm on the same form. These
17 functions are intended to be exclusive. Use ajaxSubmit if you want
18 to bind your own submit handler to the form. For example,
19
20 $(document).ready(function() {
21 $('#myForm').bind('submit', function(e) {
22 e.preventDefault(); // <-- important
23 $(this).ajaxSubmit({
24 target: '#output'
25 });
26 });
27 });
28
29 Use ajaxForm when you want the plugin to manage all the event binding
30 for you. For example,
31
32 $(document).ready(function() {
33 $('#myForm').ajaxForm({
34 target: '#output'
35 });
36 });
37
38 When using ajaxForm, the ajaxSubmit function will be invoked for you
39 at the appropriate time.
40*/
41
42/**
43 * ajaxSubmit() provides a mechanism for immediately submitting
44 * an HTML form using AJAX.
45 */
46$.fn.ajaxSubmit = function(options) {
47 // fast fail if nothing selected (http://dev.jquery.com/ticket/2752)
48 if (!this.length) {
49 log('ajaxSubmit: skipping submit process - no element selected');
50 return this;
51 }
52
53 if (typeof options == 'function') {
54 options = { success: options };
55 }
56
57 var action = this.attr('action');
58 var url = (typeof action === 'string') ? $.trim(action) : '';
59 if (url) {
60 // clean url (don't include hash vaue)
61 url = (url.match(/^([^#]+)/)||[])[1];
62 }
63 url = url || window.location.href || '';
64
65 options = $.extend(true, {
66 url: url,
67 type: this.attr('method') || 'GET',
68 iframeSrc: /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank'
69 }, options);
70
71 // hook for manipulating the form data before it is extracted;
72 // convenient for use with rich editors like tinyMCE or FCKEditor
73 var veto = {};
74 this.trigger('form-pre-serialize', [this, options, veto]);
75 if (veto.veto) {
76 log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');
77 return this;
78 }
79
80 // provide opportunity to alter form data before it is serialized
81 if (options.beforeSerialize && options.beforeSerialize(this, options) === false) {
82 log('ajaxSubmit: submit aborted via beforeSerialize callback');
83 return this;
84 }
85
86 var n,v,a = this.formToArray(options.semantic);
87 if (options.data) {
88 options.extraData = options.data;
89 for (n in options.data) {
90 if(options.data[n] instanceof Array) {
91 for (var k in options.data[n]) {
92 a.push( { name: n, value: options.data[n][k] } );
93 }
94 }
95 else {
96 v = options.data[n];
97 v = $.isFunction(v) ? v() : v; // if value is fn, invoke it
98 a.push( { name: n, value: v } );
99 }
100 }
101 }
102
103 // give pre-submit callback an opportunity to abort the submit
104 if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) {
105 log('ajaxSubmit: submit aborted via beforeSubmit callback');
106 return this;
107 }
108
109 // fire vetoable 'validate' event
110 this.trigger('form-submit-validate', [a, this, options, veto]);
111 if (veto.veto) {
112 log('ajaxSubmit: submit vetoed via form-submit-validate trigger');
113 return this;
114 }
115
116 var q = $.param(a);
117
118 if (options.type.toUpperCase() == 'GET') {
119 options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q;
120 options.data = null; // data is null for 'get'
121 }
122 else {
123 options.data = q; // data is the query string for 'post'
124 }
125
126 var $form = this, callbacks = [];
127 if (options.resetForm) {
128 callbacks.push(function() { $form.resetForm(); });
129 }
130 if (options.clearForm) {
131 callbacks.push(function() { $form.clearForm(); });
132 }
133
134 // perform a load on the target only if dataType is not provided
135 if (!options.dataType && options.target) {
136 var oldSuccess = options.success || function(){};
137 callbacks.push(function(data) {
138 var fn = options.replaceTarget ? 'replaceWith' : 'html';
139 $(options.target)[fn](data).each(oldSuccess, arguments);
140 });
141 }
142 else if (options.success) {
143 callbacks.push(options.success);
144 }
145
146 options.success = function(data, status, xhr) { // jQuery 1.4+ passes xhr as 3rd arg
147 var context = options.context || options; // jQuery 1.4+ supports scope context
148 for (var i=0, max=callbacks.length; i < max; i++) {
149 callbacks[i].apply(context, [data, status, xhr || $form, $form]);
150 }
151 };
152
153 // are there files to upload?
154 var fileInputs = $('input:file', this).length > 0;
155 var mp = 'multipart/form-data';
156 var multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp);
157
158 // options.iframe allows user to force iframe mode
159 // 06-NOV-09: now defaulting to iframe mode if file input is detected
160 if (options.iframe !== false && (fileInputs || options.iframe || multipart)) {
161 // hack to fix Safari hang (thanks to Tim Molendijk for this)
162 // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d
163 if (options.closeKeepAlive) {
164 $.get(options.closeKeepAlive, fileUpload);
165 }
166 else {
167 fileUpload();
168 }
169 }
170 else {
171 $.ajax(options);
172 }
173
174 // fire 'notify' event
175 this.trigger('form-submit-notify', [this, options]);
176 return this;
177
178
179 // private function for handling file uploads (hat tip to YAHOO!)
180 function fileUpload() {
181 var form = $form[0];
182
183 if ($(':input[name=submit],:input[id=submit]', form).length) {
184 // if there is an input with a name or id of 'submit' then we won't be
185 // able to invoke the submit fn on the form (at least not x-browser)
186 alert('Error: Form elements must not have name or id of "submit".');
187 return;
188 }
189
190 var s = $.extend(true, {}, $.ajaxSettings, options);
191 s.context = s.context || s;
192 var id = 'jqFormIO' + (new Date().getTime()), fn = '_'+id;
193 window[fn] = function() {
194 var f = $io.data('form-plugin-onload');
195 if (f) {
196 f();
197 window[fn] = undefined;
198 try { delete window[fn]; } catch(e){}
199 }
200 }
201 var $io = $('<iframe id="' + id + '" name="' + id + '" src="'+ s.iframeSrc +'" onload="window[\'_\'+this.id]()" />');
202 var io = $io[0];
203
204 $io.css({ position: 'absolute', top: '-1000px', left: '-1000px' });
205
206 var xhr = { // mock object
207 aborted: 0,
208 responseText: null,
209 responseXML: null,
210 status: 0,
211 statusText: 'n/a',
212 getAllResponseHeaders: function() {},
213 getResponseHeader: function() {},
214 setRequestHeader: function() {},
215 abort: function() {
216 this.aborted = 1;
217 $io.attr('src', s.iframeSrc); // abort op in progress
218 }
219 };
220
221 var g = s.global;
222 // trigger ajax global events so that activity/block indicators work like normal
223 if (g && ! $.active++) {
224 $.event.trigger("ajaxStart");
225 }
226 if (g) {
227 $.event.trigger("ajaxSend", [xhr, s]);
228 }
229
230 if (s.beforeSend && s.beforeSend.call(s.context, xhr, s) === false) {
231 if (s.global) {
232 $.active--;
233 }
234 return;
235 }
236 if (xhr.aborted) {
237 return;
238 }
239
240 var cbInvoked = false;
241 var timedOut = 0;
242
243 // add submitting element to data if we know it
244 var sub = form.clk;
245 if (sub) {
246 var n = sub.name;
247 if (n && !sub.disabled) {
248 s.extraData = s.extraData || {};
249 s.extraData[n] = sub.value;
250 if (sub.type == "image") {
251 s.extraData[n+'.x'] = form.clk_x;
252 s.extraData[n+'.y'] = form.clk_y;
253 }
254 }
255 }
256
257 // take a breath so that pending repaints get some cpu time before the upload starts
258 function doSubmit() {
259 // make sure form attrs are set
260 var t = $form.attr('target'), a = $form.attr('action');
261
262 // update form attrs in IE friendly way
263 form.setAttribute('target',id);
264 if (form.getAttribute('method') != 'POST') {
265 form.setAttribute('method', 'POST');
266 }
267 if (form.getAttribute('action') != s.url) {
268 form.setAttribute('action', s.url);
269 }
270
271 // ie borks in some cases when setting encoding
272 if (! s.skipEncodingOverride) {
273 $form.attr({
274 encoding: 'multipart/form-data',
275 enctype: 'multipart/form-data'
276 });
277 }
278
279 // support timout
280 if (s.timeout) {
281 setTimeout(function() { timedOut = true; cb(); }, s.timeout);
282 }
283
284 // add "extra" data to form if provided in options
285 var extraInputs = [];
286 try {
287 if (s.extraData) {
288 for (var n in s.extraData) {
289 extraInputs.push(
290 $('<input type="hidden" name="'+n+'" value="'+s.extraData[n]+'" />')
291 .appendTo(form)[0]);
292 }
293 }
294
295 // add iframe to doc and submit the form
296 $io.appendTo('body');
297 $io.data('form-plugin-onload', cb);
298 form.submit();
299 }
300 finally {
301 // reset attrs and remove "extra" input elements
302 form.setAttribute('action',a);
303 if(t) {
304 form.setAttribute('target', t);
305 } else {
306 $form.removeAttr('target');
307 }
308 $(extraInputs).remove();
309 }
310 }
311
312 if (s.forceSync) {
313 doSubmit();
314 }
315 else {
316 setTimeout(doSubmit, 10); // this lets dom updates render
317 }
318
319 var data, doc, domCheckCount = 50;
320
321 function cb() {
322 if (cbInvoked) {
323 return;
324 }
325
326 $io.removeData('form-plugin-onload');
327
328 var ok = true;
329 try {
330 if (timedOut) {
331 throw 'timeout';
332 }
333 // extract the server response from the iframe
334 doc = io.contentWindow ? io.contentWindow.document : io.contentDocument ? io.contentDocument : io.document;
335
336 var isXml = s.dataType == 'xml' || doc.XMLDocument || $.isXMLDoc(doc);
337 log('isXml='+isXml);
338 if (!isXml && window.opera && (doc.body == null || doc.body.innerHTML == '')) {
339 if (--domCheckCount) {
340 // in some browsers (Opera) the iframe DOM is not always traversable when
341 // the onload callback fires, so we loop a bit to accommodate
342 log('requeing onLoad callback, DOM not available');
343 setTimeout(cb, 250);
344 return;
345 }
346 // let this fall through because server response could be an empty document
347 //log('Could not access iframe DOM after mutiple tries.');
348 //throw 'DOMException: not available';
349 }
350
351 //log('response detected');
352 cbInvoked = true;
353 xhr.responseText = doc.documentElement ? doc.documentElement.innerHTML : null;
354 xhr.responseXML = doc.XMLDocument ? doc.XMLDocument : doc;
355 xhr.getResponseHeader = function(header){
356 var headers = {'content-type': s.dataType};
357 return headers[header];
358 };
359
360 var scr = /(json|script)/.test(s.dataType);
361 if (scr || s.textarea) {
362 // see if user embedded response in textarea
363 var ta = doc.getElementsByTagName('textarea')[0];
364 if (ta) {
365 xhr.responseText = ta.value;
366 }
367 else if (scr) {
368 // account for browsers injecting pre around json response
369 var pre = doc.getElementsByTagName('pre')[0];
370 var b = doc.getElementsByTagName('body')[0];
371 if (pre) {
372 xhr.responseText = pre.textContent;
373 }
374 else if (b) {
375 xhr.responseText = b.innerHTML;
376 }
377 }
378 }
379 else if (s.dataType == 'xml' && !xhr.responseXML && xhr.responseText != null) {
380 xhr.responseXML = toXml(xhr.responseText);
381 }
382 data = $.httpData(xhr, s.dataType);
383 }
384 catch(e){
385 log('error caught:',e);
386 ok = false;
387 xhr.error = e;
388 $.handleError(s, xhr, 'error', e);
389 }
390
391 if (xhr.aborted) {
392 log('upload aborted');
393 ok = false;
394 }
395
396 // ordering of these callbacks/triggers is odd, but that's how $.ajax does it
397 if (ok) {
398 s.success.call(s.context, data, 'success', xhr);
399 if (g) {
400 $.event.trigger("ajaxSuccess", [xhr, s]);
401 }
402 }
403 if (g) {
404 $.event.trigger("ajaxComplete", [xhr, s]);
405 }
406 if (g && ! --$.active) {
407 $.event.trigger("ajaxStop");
408 }
409 if (s.complete) {
410 s.complete.call(s.context, xhr, ok ? 'success' : 'error');
411 }
412
413 // clean up
414 setTimeout(function() {
415 $io.removeData('form-plugin-onload');
416 $io.remove();
417 xhr.responseXML = null;
418 }, 100);
419 }
420
421 function toXml(s, doc) {
422 if (window.ActiveXObject) {
423 doc = new ActiveXObject('Microsoft.XMLDOM');
424 doc.async = 'false';
425 doc.loadXML(s);
426 }
427 else {
428 doc = (new DOMParser()).parseFromString(s, 'text/xml');
429 }
430 return (doc && doc.documentElement && doc.documentElement.tagName != 'parsererror') ? doc : null;
431 }
432 }
433};
434
435/**
436 * ajaxForm() provides a mechanism for fully automating form submission.
437 *
438 * The advantages of using this method instead of ajaxSubmit() are:
439 *
440 * 1: This method will include coordinates for <input type="image" /> elements (if the element
441 * is used to submit the form).
442 * 2. This method will include the submit element's name/value data (for the element that was
443 * used to submit the form).
444 * 3. This method binds the submit() method to the form for you.
445 *
446 * The options argument for ajaxForm works exactly as it does for ajaxSubmit. ajaxForm merely
447 * passes the options argument along after properly binding events for submit elements and
448 * the form itself.
449 */
450$.fn.ajaxForm = function(options) {
451 // in jQuery 1.3+ we can fix mistakes with the ready state
452 if (this.length === 0) {
453 var o = { s: this.selector, c: this.context };
454 if (!$.isReady && o.s) {
455 log('DOM not ready, queuing ajaxForm');
456 $(function() {
457 $(o.s,o.c).ajaxForm(options);
458 });
459 return this;
460 }
461 // is your DOM ready? http://docs.jquery.com/Tutorials:Introducing_$(document).ready()
462 log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)'));
463 return this;
464 }
465
466 return this.ajaxFormUnbind().bind('submit.form-plugin', function(e) {
467 if (!e.isDefaultPrevented()) { // if event has been canceled, don't proceed
468 e.preventDefault();
469 $(this).ajaxSubmit(options);
470 }
471 }).bind('click.form-plugin', function(e) {
472 var target = e.target;
473 var $el = $(target);
474 if (!($el.is(":submit,input:image"))) {
475 // is this a child element of the submit el? (ex: a span within a button)
476 var t = $el.closest(':submit');
477 if (t.length == 0) {
478 return;
479 }
480 target = t[0];
481 }
482 var form = this;
483 form.clk = target;
484 if (target.type == 'image') {
485 if (e.offsetX != undefined) {
486 form.clk_x = e.offsetX;
487 form.clk_y = e.offsetY;
488 } else if (typeof $.fn.offset == 'function') { // try to use dimensions plugin
489 var offset = $el.offset();
490 form.clk_x = e.pageX - offset.left;
491 form.clk_y = e.pageY - offset.top;
492 } else {
493 form.clk_x = e.pageX - target.offsetLeft;
494 form.clk_y = e.pageY - target.offsetTop;
495 }
496 }
497 // clear form vars
498 setTimeout(function() { form.clk = form.clk_x = form.clk_y = null; }, 100);
499 });
500};
501
502// ajaxFormUnbind unbinds the event handlers that were bound by ajaxForm
503$.fn.ajaxFormUnbind = function() {
504 return this.unbind('submit.form-plugin click.form-plugin');
505};
506
507/**
508 * formToArray() gathers form element data into an array of objects that can
509 * be passed to any of the following ajax functions: $.get, $.post, or load.
510 * Each object in the array has both a 'name' and 'value' property. An example of
511 * an array for a simple login form might be:
512 *
513 * [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ]
514 *
515 * It is this array that is passed to pre-submit callback functions provided to the
516 * ajaxSubmit() and ajaxForm() methods.
517 */
518$.fn.formToArray = function(semantic) {
519 var a = [];
520 if (this.length === 0) {
521 return a;
522 }
523
524 var form = this[0];
525 var els = semantic ? form.getElementsByTagName('*') : form.elements;
526 if (!els) {
527 return a;
528 }
529
530 var i,j,n,v,el,max,jmax;
531 for(i=0, max=els.length; i < max; i++) {
532 el = els[i];
533 n = el.name;
534 if (!n) {
535 continue;
536 }
537
538 if (semantic && form.clk && el.type == "image") {
539 // handle image inputs on the fly when semantic == true
540 if(!el.disabled && form.clk == el) {
541 a.push({name: n, value: $(el).val()});
542 a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
543 }
544 continue;
545 }
546
547 v = $.fieldValue(el, true);
548 if (v && v.constructor == Array) {
549 for(j=0, jmax=v.length; j < jmax; j++) {
550 a.push({name: n, value: v[j]});
551 }
552 }
553 else if (v !== null && typeof v != 'undefined') {
554 a.push({name: n, value: v});
555 }
556 }
557
558 if (!semantic && form.clk) {
559 // input type=='image' are not found in elements array! handle it here
560 var $input = $(form.clk), input = $input[0];
561 n = input.name;
562 if (n && !input.disabled && input.type == 'image') {
563 a.push({name: n, value: $input.val()});
564 a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y});
565 }
566 }
567 return a;
568};
569
570/**
571 * Serializes form data into a 'submittable' string. This method will return a string
572 * in the format: name1=value1&amp;name2=value2
573 */
574$.fn.formSerialize = function(semantic) {
575 //hand off to jQuery.param for proper encoding
576 return $.param(this.formToArray(semantic));
577};
578
579/**
580 * Serializes all field elements in the jQuery object into a query string.
581 * This method will return a string in the format: name1=value1&amp;name2=value2
582 */
583$.fn.fieldSerialize = function(successful) {
584 var a = [];
585 this.each(function() {
586 var n = this.name;
587 if (!n) {
588 return;
589 }
590 var v = $.fieldValue(this, successful);
591 if (v && v.constructor == Array) {
592 for (var i=0,max=v.length; i < max; i++) {
593 a.push({name: n, value: v[i]});
594 }
595 }
596 else if (v !== null && typeof v != 'undefined') {
597 a.push({name: this.name, value: v});
598 }
599 });
600 //hand off to jQuery.param for proper encoding
601 return $.param(a);
602};
603
604/**
605 * Returns the value(s) of the element in the matched set. For example, consider the following form:
606 *
607 * <form><fieldset>
608 * <input name="A" type="text" />
609 * <input name="A" type="text" />
610 * <input name="B" type="checkbox" value="B1" />
611 * <input name="B" type="checkbox" value="B2"/>
612 * <input name="C" type="radio" value="C1" />
613 * <input name="C" type="radio" value="C2" />
614 * </fieldset></form>
615 *
616 * var v = $(':text').fieldValue();
617 * // if no values are entered into the text inputs
618 * v == ['','']
619 * // if values entered into the text inputs are 'foo' and 'bar'
620 * v == ['foo','bar']
621 *
622 * var v = $(':checkbox').fieldValue();
623 * // if neither checkbox is checked
624 * v === undefined
625 * // if both checkboxes are checked
626 * v == ['B1', 'B2']
627 *
628 * var v = $(':radio').fieldValue();
629 * // if neither radio is checked
630 * v === undefined
631 * // if first radio is checked
632 * v == ['C1']
633 *
634 * The successful argument controls whether or not the field element must be 'successful'
635 * (per http://www.w3.org/TR/html4/interact/forms.html#successful-controls).
636 * The default value of the successful argument is true. If this value is false the value(s)
637 * for each element is returned.
638 *
639 * Note: This method *always* returns an array. If no valid value can be determined the
640 * array will be empty, otherwise it will contain one or more values.
641 */
642$.fn.fieldValue = function(successful) {
643 for (var val=[], i=0, max=this.length; i < max; i++) {
644 var el = this[i];
645 var v = $.fieldValue(el, successful);
646 if (v === null || typeof v == 'undefined' || (v.constructor == Array && !v.length)) {
647 continue;
648 }
649 v.constructor == Array ? $.merge(val, v) : val.push(v);
650 }
651 return val;
652};
653
654/**
655 * Returns the value of the field element.
656 */
657$.fieldValue = function(el, successful) {
658 var n = el.name, t = el.type, tag = el.tagName.toLowerCase();
659 if (successful === undefined) {
660 successful = true;
661 }
662
663 if (successful && (!n || el.disabled || t == 'reset' || t == 'button' ||
664 (t == 'checkbox' || t == 'radio') && !el.checked ||
665 (t == 'submit' || t == 'image') && el.form && el.form.clk != el ||
666 tag == 'select' && el.selectedIndex == -1)) {
667 return null;
668 }
669
670 if (tag == 'select') {
671 var index = el.selectedIndex;
672 if (index < 0) {
673 return null;
674 }
675 var a = [], ops = el.options;
676 var one = (t == 'select-one');
677 var max = (one ? index+1 : ops.length);
678 for(var i=(one ? index : 0); i < max; i++) {
679 var op = ops[i];
680 if (op.selected) {
681 var v = op.value;
682 if (!v) { // extra pain for IE...
683 v = (op.attributes && op.attributes['value'] && !(op.attributes['value'].specified)) ? op.text : op.value;
684 }
685 if (one) {
686 return v;
687 }
688 a.push(v);
689 }
690 }
691 return a;
692 }
693 return $(el).val();
694};
695
696/**
697 * Clears the form data. Takes the following actions on the form's input fields:
698 * - input text fields will have their 'value' property set to the empty string
699 * - select elements will have their 'selectedIndex' property set to -1
700 * - checkbox and radio inputs will have their 'checked' property set to false
701 * - inputs of type submit, button, reset, and hidden will *not* be effected
702 * - button elements will *not* be effected
703 */
704$.fn.clearForm = function() {
705 return this.each(function() {
706 $('input,select,textarea', this).clearFields();
707 });
708};
709
710/**
711 * Clears the selected form elements.
712 */
713$.fn.clearFields = $.fn.clearInputs = function() {
714 return this.each(function() {
715 var t = this.type, tag = this.tagName.toLowerCase();
716 if (t == 'text' || t == 'password' || tag == 'textarea') {
717 this.value = '';
718 }
719 else if (t == 'checkbox' || t == 'radio') {
720 this.checked = false;
721 }
722 else if (tag == 'select') {
723 this.selectedIndex = -1;
724 }
725 });
726};
727
728/**
729 * Resets the form data. Causes all form elements to be reset to their original value.
730 */
731$.fn.resetForm = function() {
732 return this.each(function() {
733 // guard against an input with the name of 'reset'
734 // note that IE reports the reset function as an 'object'
735 if (typeof this.reset == 'function' || (typeof this.reset == 'object' && !this.reset.nodeType)) {
736 this.reset();
737 }
738 });
739};
740
741/**
742 * Enables or disables any matching elements.
743 */
744$.fn.enable = function(b) {
745 if (b === undefined) {
746 b = true;
747 }
748 return this.each(function() {
749 this.disabled = !b;
750 });
751};
752
753/**
754 * Checks/unchecks any matching checkboxes or radio buttons and
755 * selects/deselects and matching option elements.
756 */
757$.fn.selected = function(select) {
758 if (select === undefined) {
759 select = true;
760 }
761 return this.each(function() {
762 var t = this.type;
763 if (t == 'checkbox' || t == 'radio') {
764 this.checked = select;
765 }
766 else if (this.tagName.toLowerCase() == 'option') {
767 var $sel = $(this).parent('select');
768 if (select && $sel[0] && $sel[0].type == 'select-one') {
769 // deselect all other options
770 $sel.find('option').selected(false);
771 }
772 this.selected = select;
773 }
774 });
775};
776
777// helper fn for console logging
778// set $.fn.ajaxSubmit.debug to true to enable debug logging
779function log() {
780 if ($.fn.ajaxSubmit.debug) {
781 var msg = '[jquery.form] ' + Array.prototype.join.call(arguments,'');
782 if (window.console && window.console.log) {
783 window.console.log(msg);
784 }
785 else if (window.opera && window.opera.postError) {
786 window.opera.postError(msg);
787 }
788 }
789};
790
791})(jQuery);
0792
=== added directory 'wp-content/plugins/contact-form-7/languages'
=== added file 'wp-content/plugins/contact-form-7/languages/readme.txt'
--- wp-content/plugins/contact-form-7/languages/readme.txt 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/languages/readme.txt 2011-02-18 16:15:41 +0000
@@ -0,0 +1,9 @@
1== For Translators ==
2
3Note: this folder contains MO files and POT file only. If you are looking for PO file, you can download it from here:
4
5http://plugins.svn.wordpress.org/contact-form-7/branches/languages/
6
7If you have created your own translation, or have an update of an existing one, please send it to Takayuki Miyoshi <takayukister@gmail.com> so that I can bundle it into the next release of Contact Form 7.
8
9Thank you.
0\ No newline at end of file10\ No newline at end of file
111
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-af.mo'
2Binary files wp-content/plugins/contact-form-7/languages/wpcf7-af.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-af.mo 2011-02-18 16:15:41 +0000 differ12Binary files wp-content/plugins/contact-form-7/languages/wpcf7-af.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-af.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ar.mo'
3Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ar.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ar.mo 2011-02-18 16:15:41 +0000 differ13Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ar.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ar.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-bg_BG.mo'
4Binary files wp-content/plugins/contact-form-7/languages/wpcf7-bg_BG.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-bg_BG.mo 2011-02-18 16:15:41 +0000 differ14Binary files wp-content/plugins/contact-form-7/languages/wpcf7-bg_BG.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-bg_BG.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-bn_BD.mo'
5Binary files wp-content/plugins/contact-form-7/languages/wpcf7-bn_BD.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-bn_BD.mo 2011-02-18 16:15:41 +0000 differ15Binary files wp-content/plugins/contact-form-7/languages/wpcf7-bn_BD.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-bn_BD.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-bs.mo'
6Binary files wp-content/plugins/contact-form-7/languages/wpcf7-bs.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-bs.mo 2011-02-18 16:15:41 +0000 differ16Binary files wp-content/plugins/contact-form-7/languages/wpcf7-bs.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-bs.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ca.mo'
7Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ca.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ca.mo 2011-02-18 16:15:41 +0000 differ17Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ca.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ca.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-cs_CZ.mo'
8Binary files wp-content/plugins/contact-form-7/languages/wpcf7-cs_CZ.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-cs_CZ.mo 2011-02-18 16:15:41 +0000 differ18Binary files wp-content/plugins/contact-form-7/languages/wpcf7-cs_CZ.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-cs_CZ.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-da_DK.mo'
9Binary files wp-content/plugins/contact-form-7/languages/wpcf7-da_DK.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-da_DK.mo 2011-02-18 16:15:41 +0000 differ19Binary files wp-content/plugins/contact-form-7/languages/wpcf7-da_DK.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-da_DK.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-de_DE.mo'
10Binary files wp-content/plugins/contact-form-7/languages/wpcf7-de_DE.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-de_DE.mo 2011-02-18 16:15:41 +0000 differ20Binary files wp-content/plugins/contact-form-7/languages/wpcf7-de_DE.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-de_DE.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-el.mo'
11Binary files wp-content/plugins/contact-form-7/languages/wpcf7-el.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-el.mo 2011-02-18 16:15:41 +0000 differ21Binary files wp-content/plugins/contact-form-7/languages/wpcf7-el.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-el.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-es_ES.mo'
12Binary files wp-content/plugins/contact-form-7/languages/wpcf7-es_ES.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-es_ES.mo 2011-02-18 16:15:41 +0000 differ22Binary files wp-content/plugins/contact-form-7/languages/wpcf7-es_ES.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-es_ES.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-et.mo'
13Binary files wp-content/plugins/contact-form-7/languages/wpcf7-et.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-et.mo 2011-02-18 16:15:41 +0000 differ23Binary files wp-content/plugins/contact-form-7/languages/wpcf7-et.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-et.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-fa_IR.mo'
14Binary files wp-content/plugins/contact-form-7/languages/wpcf7-fa_IR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-fa_IR.mo 2011-02-18 16:15:41 +0000 differ24Binary files wp-content/plugins/contact-form-7/languages/wpcf7-fa_IR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-fa_IR.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-fi.mo'
15Binary files wp-content/plugins/contact-form-7/languages/wpcf7-fi.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-fi.mo 2011-02-18 16:15:41 +0000 differ25Binary files wp-content/plugins/contact-form-7/languages/wpcf7-fi.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-fi.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-fr_FR.mo'
16Binary files wp-content/plugins/contact-form-7/languages/wpcf7-fr_FR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-fr_FR.mo 2011-02-18 16:15:41 +0000 differ26Binary files wp-content/plugins/contact-form-7/languages/wpcf7-fr_FR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-fr_FR.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-gl_ES.mo'
17Binary files wp-content/plugins/contact-form-7/languages/wpcf7-gl_ES.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-gl_ES.mo 2011-02-18 16:15:41 +0000 differ27Binary files wp-content/plugins/contact-form-7/languages/wpcf7-gl_ES.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-gl_ES.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-he_IL.mo'
18Binary files wp-content/plugins/contact-form-7/languages/wpcf7-he_IL.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-he_IL.mo 2011-02-18 16:15:41 +0000 differ28Binary files wp-content/plugins/contact-form-7/languages/wpcf7-he_IL.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-he_IL.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-hi_IN.mo'
19Binary files wp-content/plugins/contact-form-7/languages/wpcf7-hi_IN.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-hi_IN.mo 2011-02-18 16:15:41 +0000 differ29Binary files wp-content/plugins/contact-form-7/languages/wpcf7-hi_IN.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-hi_IN.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-hr.mo'
20Binary files wp-content/plugins/contact-form-7/languages/wpcf7-hr.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-hr.mo 2011-02-18 16:15:41 +0000 differ30Binary files wp-content/plugins/contact-form-7/languages/wpcf7-hr.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-hr.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-hu_HU.mo'
21Binary files wp-content/plugins/contact-form-7/languages/wpcf7-hu_HU.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-hu_HU.mo 2011-02-18 16:15:41 +0000 differ31Binary files wp-content/plugins/contact-form-7/languages/wpcf7-hu_HU.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-hu_HU.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-hy_AM.mo'
22Binary files wp-content/plugins/contact-form-7/languages/wpcf7-hy_AM.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-hy_AM.mo 2011-02-18 16:15:41 +0000 differ32Binary files wp-content/plugins/contact-form-7/languages/wpcf7-hy_AM.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-hy_AM.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-id_ID.mo'
23Binary files wp-content/plugins/contact-form-7/languages/wpcf7-id_ID.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-id_ID.mo 2011-02-18 16:15:41 +0000 differ33Binary files wp-content/plugins/contact-form-7/languages/wpcf7-id_ID.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-id_ID.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-it_IT.mo'
24Binary files wp-content/plugins/contact-form-7/languages/wpcf7-it_IT.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-it_IT.mo 2011-02-18 16:15:41 +0000 differ34Binary files wp-content/plugins/contact-form-7/languages/wpcf7-it_IT.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-it_IT.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ja.mo'
25Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ja.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ja.mo 2011-02-18 16:15:41 +0000 differ35Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ja.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ja.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ka_GE.mo'
26Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ka_GE.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ka_GE.mo 2011-02-18 16:15:41 +0000 differ36Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ka_GE.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ka_GE.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ko_KR.mo'
27Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ko_KR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ko_KR.mo 2011-02-18 16:15:41 +0000 differ37Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ko_KR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ko_KR.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-lt_LT.mo'
28Binary files wp-content/plugins/contact-form-7/languages/wpcf7-lt_LT.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-lt_LT.mo 2011-02-18 16:15:41 +0000 differ38Binary files wp-content/plugins/contact-form-7/languages/wpcf7-lt_LT.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-lt_LT.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-lv.mo'
29Binary files wp-content/plugins/contact-form-7/languages/wpcf7-lv.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-lv.mo 2011-02-18 16:15:41 +0000 differ39Binary files wp-content/plugins/contact-form-7/languages/wpcf7-lv.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-lv.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-mk_MK.mo'
30Binary files wp-content/plugins/contact-form-7/languages/wpcf7-mk_MK.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-mk_MK.mo 2011-02-18 16:15:41 +0000 differ40Binary files wp-content/plugins/contact-form-7/languages/wpcf7-mk_MK.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-mk_MK.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ml_IN.mo'
31Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ml_IN.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ml_IN.mo 2011-02-18 16:15:41 +0000 differ41Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ml_IN.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ml_IN.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ms_MY.mo'
32Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ms_MY.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ms_MY.mo 2011-02-18 16:15:41 +0000 differ42Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ms_MY.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ms_MY.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-nb_NO.mo'
33Binary files wp-content/plugins/contact-form-7/languages/wpcf7-nb_NO.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-nb_NO.mo 2011-02-18 16:15:41 +0000 differ43Binary files wp-content/plugins/contact-form-7/languages/wpcf7-nb_NO.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-nb_NO.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-nl_NL.mo'
34Binary files wp-content/plugins/contact-form-7/languages/wpcf7-nl_NL.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-nl_NL.mo 2011-02-18 16:15:41 +0000 differ44Binary files wp-content/plugins/contact-form-7/languages/wpcf7-nl_NL.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-nl_NL.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-pl_PL.mo'
35Binary files wp-content/plugins/contact-form-7/languages/wpcf7-pl_PL.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-pl_PL.mo 2011-02-18 16:15:41 +0000 differ45Binary files wp-content/plugins/contact-form-7/languages/wpcf7-pl_PL.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-pl_PL.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-pt_BR.mo'
36Binary files wp-content/plugins/contact-form-7/languages/wpcf7-pt_BR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-pt_BR.mo 2011-02-18 16:15:41 +0000 differ46Binary files wp-content/plugins/contact-form-7/languages/wpcf7-pt_BR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-pt_BR.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-pt_PT.mo'
37Binary files wp-content/plugins/contact-form-7/languages/wpcf7-pt_PT.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-pt_PT.mo 2011-02-18 16:15:41 +0000 differ47Binary files wp-content/plugins/contact-form-7/languages/wpcf7-pt_PT.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-pt_PT.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ro_RO.mo'
38Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ro_RO.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ro_RO.mo 2011-02-18 16:15:41 +0000 differ48Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ro_RO.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ro_RO.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ru_RU.mo'
39Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ru_RU.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ru_RU.mo 2011-02-18 16:15:41 +0000 differ49Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ru_RU.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ru_RU.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-sk.mo'
40Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sk.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sk.mo 2011-02-18 16:15:41 +0000 differ50Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sk.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sk.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-sl_SI.mo'
41Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sl_SI.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sl_SI.mo 2011-02-18 16:15:41 +0000 differ51Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sl_SI.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sl_SI.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-sq.mo'
42Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sq.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sq.mo 2011-02-18 16:15:41 +0000 differ52Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sq.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sq.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-sr_RS.mo'
43Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sr_RS.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sr_RS.mo 2011-02-18 16:15:41 +0000 differ53Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sr_RS.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sr_RS.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-sv_SE.mo'
44Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sv_SE.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sv_SE.mo 2011-02-18 16:15:41 +0000 differ54Binary files wp-content/plugins/contact-form-7/languages/wpcf7-sv_SE.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-sv_SE.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-ta.mo'
45Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ta.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ta.mo 2011-02-18 16:15:41 +0000 differ55Binary files wp-content/plugins/contact-form-7/languages/wpcf7-ta.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-ta.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-th.mo'
46Binary files wp-content/plugins/contact-form-7/languages/wpcf7-th.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-th.mo 2011-02-18 16:15:41 +0000 differ56Binary files wp-content/plugins/contact-form-7/languages/wpcf7-th.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-th.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-tr_TR.mo'
47Binary files wp-content/plugins/contact-form-7/languages/wpcf7-tr_TR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-tr_TR.mo 2011-02-18 16:15:41 +0000 differ57Binary files wp-content/plugins/contact-form-7/languages/wpcf7-tr_TR.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-tr_TR.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-uk.mo'
48Binary files wp-content/plugins/contact-form-7/languages/wpcf7-uk.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-uk.mo 2011-02-18 16:15:41 +0000 differ58Binary files wp-content/plugins/contact-form-7/languages/wpcf7-uk.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-uk.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-vi.mo'
49Binary files wp-content/plugins/contact-form-7/languages/wpcf7-vi.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-vi.mo 2011-02-18 16:15:41 +0000 differ59Binary files wp-content/plugins/contact-form-7/languages/wpcf7-vi.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-vi.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-zh_CN.mo'
50Binary files wp-content/plugins/contact-form-7/languages/wpcf7-zh_CN.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-zh_CN.mo 2011-02-18 16:15:41 +0000 differ60Binary files wp-content/plugins/contact-form-7/languages/wpcf7-zh_CN.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-zh_CN.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7-zh_TW.mo'
51Binary files wp-content/plugins/contact-form-7/languages/wpcf7-zh_TW.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-zh_TW.mo 2011-02-18 16:15:41 +0000 differ61Binary files wp-content/plugins/contact-form-7/languages/wpcf7-zh_TW.mo 1970-01-01 00:00:00 +0000 and wp-content/plugins/contact-form-7/languages/wpcf7-zh_TW.mo 2011-02-18 16:15:41 +0000 differ
=== added file 'wp-content/plugins/contact-form-7/languages/wpcf7.pot'
--- wp-content/plugins/contact-form-7/languages/wpcf7.pot 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/languages/wpcf7.pot 2011-02-18 16:15:41 +0000
@@ -0,0 +1,842 @@
1msgid ""
2msgstr ""
3"Project-Id-Version: Contact Form 7\n"
4"Report-Msgid-Bugs-To: \n"
5"POT-Creation-Date: 2011-01-06 09:35+0900\n"
6"PO-Revision-Date: 2011-01-06 09:35+0900\n"
7"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
8"Language-Team: \n"
9"MIME-Version: 1.0\n"
10"Content-Type: text/plain; charset=UTF-8\n"
11"Content-Transfer-Encoding: 8bit\n"
12"X-Poedit-SourceCharset: utf-8\n"
13"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
14"X-Poedit-Basepath: ../..\n"
15"Plural-Forms: nplurals=1; plural=0;\n"
16"X-Poedit-SearchPath-0: contact-form-7\n"
17
18#: contact-form-7/admin/admin.php:120
19#: contact-form-7/admin/edit.php:17
20#: contact-form-7/admin/edit.php:30
21msgid "Contact Form 7"
22msgstr ""
23
24#: contact-form-7/admin/admin.php:120
25msgid "Contact"
26msgstr ""
27
28#: contact-form-7/admin/admin.php:123
29msgid "Edit Contact Forms"
30msgstr ""
31
32#: contact-form-7/admin/admin.php:123
33msgid "Edit"
34msgstr ""
35
36#: contact-form-7/admin/admin.php:162
37msgid "Generate Tag"
38msgstr ""
39
40#: contact-form-7/admin/admin.php:163
41msgid "Show"
42msgstr ""
43
44#: contact-form-7/admin/admin.php:164
45msgid "Hide"
46msgstr ""
47
48#: contact-form-7/admin/admin.php:261
49msgid "Contact form"
50msgstr ""
51
52#: contact-form-7/admin/admin.php:280
53msgid "Settings"
54msgstr ""
55
56#: contact-form-7/admin/admin.php:291
57msgid "http://contactform7.com/"
58msgstr ""
59
60#: contact-form-7/admin/admin.php:292
61msgid "Contactform7.com"
62msgstr ""
63
64#: contact-form-7/admin/admin.php:293
65msgid "http://contactform7.com/docs/"
66msgstr ""
67
68#: contact-form-7/admin/admin.php:294
69msgid "Docs"
70msgstr ""
71
72#: contact-form-7/admin/admin.php:295
73msgid "http://contactform7.com/faq/"
74msgstr ""
75
76#: contact-form-7/admin/admin.php:296
77msgid "FAQ"
78msgstr ""
79
80#: contact-form-7/admin/admin.php:297
81msgid "http://contactform7.com/support/"
82msgstr ""
83
84#: contact-form-7/admin/admin.php:298
85msgid "Support"
86msgstr ""
87
88#: contact-form-7/admin/admin.php:312
89msgid "Contact form created."
90msgstr ""
91
92#: contact-form-7/admin/admin.php:315
93msgid "Contact form saved."
94msgstr ""
95
96#: contact-form-7/admin/admin.php:318
97msgid "Contact form deleted."
98msgstr ""
99
100#: contact-form-7/admin/admin.php:321
101msgid "Database table created."
102msgstr ""
103
104#: contact-form-7/admin/admin.php:324
105msgid "Failed to create database table."
106msgstr ""
107
108#: contact-form-7/admin/admin.php:358
109msgid "Contact Form 7 needs your support. Please donate today."
110msgstr ""
111
112#: contact-form-7/admin/admin.php:359
113msgid "Your contribution is needed for making this plugin better."
114msgstr ""
115
116#: contact-form-7/admin/admin.php:365
117msgid "http://contactform7.com/donate/"
118msgstr ""
119
120#: contact-form-7/admin/admin.php:365
121msgid "Donate"
122msgstr ""
123
124#: contact-form-7/admin/edit.php:9
125#, php-format
126msgid "<strong>The database table for Contact Form 7 does not exist.</strong> You must <a href=\"%s\">create the table</a> for it to work."
127msgstr ""
128
129#: contact-form-7/admin/edit.php:12
130msgid "<strong>The database table for Contact Form 7 does not exist.</strong>"
131msgstr ""
132
133#: contact-form-7/admin/edit.php:45
134msgid "Add new"
135msgstr ""
136
137#: contact-form-7/admin/edit.php:67
138msgid "Copy this code and paste it into your post, page or text widget content."
139msgstr ""
140
141#: contact-form-7/admin/edit.php:75
142#: contact-form-7/admin/edit.php:309
143msgid "Save"
144msgstr ""
145
146#: contact-form-7/admin/edit.php:82
147msgid "Copy"
148msgstr ""
149
150#: contact-form-7/admin/edit.php:87
151msgid "Delete"
152msgstr ""
153
154#: contact-form-7/admin/edit.php:89
155msgid ""
156"You are about to delete this contact form.\n"
157" 'Cancel' to stop, 'OK' to delete."
158msgstr ""
159
160#: contact-form-7/admin/edit.php:104
161msgid "Form"
162msgstr ""
163
164#: contact-form-7/admin/edit.php:128
165msgid "Mail"
166msgstr ""
167
168#: contact-form-7/admin/edit.php:135
169#: contact-form-7/admin/edit.php:202
170msgid "To:"
171msgstr ""
172
173#: contact-form-7/admin/edit.php:140
174#: contact-form-7/admin/edit.php:207
175msgid "From:"
176msgstr ""
177
178#: contact-form-7/admin/edit.php:145
179#: contact-form-7/admin/edit.php:212
180msgid "Subject:"
181msgstr ""
182
183#: contact-form-7/admin/edit.php:152
184#: contact-form-7/admin/edit.php:219
185msgid "Additional headers:"
186msgstr ""
187
188#: contact-form-7/admin/edit.php:157
189#: contact-form-7/admin/edit.php:224
190msgid "File attachments:"
191msgstr ""
192
193#: contact-form-7/admin/edit.php:165
194#: contact-form-7/admin/edit.php:232
195msgid "Use HTML content type"
196msgstr ""
197
198#: contact-form-7/admin/edit.php:172
199#: contact-form-7/admin/edit.php:239
200#: contact-form-7/includes/functions.php:78
201msgid "Message body:"
202msgstr ""
203
204#: contact-form-7/admin/edit.php:188
205msgid "Mail (2)"
206msgstr ""
207
208#: contact-form-7/admin/edit.php:194
209msgid "Use mail (2)"
210msgstr ""
211
212#: contact-form-7/admin/edit.php:255
213msgid "Messages"
214msgstr ""
215
216#: contact-form-7/admin/edit.php:285
217msgid "Additional Settings"
218msgstr ""
219
220#: contact-form-7/admin/edit.php:333
221#, php-format
222msgid "Use the default language (%s)"
223msgstr ""
224
225#: contact-form-7/admin/edit.php:334
226#: contact-form-7/admin/edit.php:347
227msgid "Add New"
228msgstr ""
229
230#: contact-form-7/admin/edit.php:337
231msgid "Or"
232msgstr ""
233
234#: contact-form-7/admin/edit.php:342
235msgid "(select language)"
236msgstr ""
237
238#: contact-form-7/includes/classes.php:596
239msgid "Untitled"
240msgstr ""
241
242#: contact-form-7/includes/functions.php:6
243msgid "Sender's message was sent successfully"
244msgstr ""
245
246#: contact-form-7/includes/functions.php:7
247msgid "Your message was sent successfully. Thanks."
248msgstr ""
249
250#: contact-form-7/includes/functions.php:11
251msgid "Sender's message was failed to send"
252msgstr ""
253
254#: contact-form-7/includes/functions.php:12
255#: contact-form-7/includes/functions.php:17
256msgid "Failed to send your message. Please try later or contact administrator by other way."
257msgstr ""
258
259#: contact-form-7/includes/functions.php:16
260msgid "Akismet judged the sending activity as spamming"
261msgstr ""
262
263#: contact-form-7/includes/functions.php:21
264msgid "Validation errors occurred"
265msgstr ""
266
267#: contact-form-7/includes/functions.php:22
268msgid "Validation errors occurred. Please confirm the fields and submit it again."
269msgstr ""
270
271#: contact-form-7/includes/functions.php:26
272msgid "There is a field of term that sender is needed to accept"
273msgstr ""
274
275#: contact-form-7/includes/functions.php:27
276msgid "Please accept the terms to proceed."
277msgstr ""
278
279#: contact-form-7/includes/functions.php:31
280msgid "Email address that sender entered is invalid"
281msgstr ""
282
283#: contact-form-7/includes/functions.php:32
284msgid "Email address seems invalid."
285msgstr ""
286
287#: contact-form-7/includes/functions.php:36
288msgid "There is a field that sender is needed to fill in"
289msgstr ""
290
291#: contact-form-7/includes/functions.php:37
292msgid "Please fill the required field."
293msgstr ""
294
295#: contact-form-7/includes/functions.php:46
296msgid "Your Name"
297msgstr ""
298
299#: contact-form-7/includes/functions.php:46
300#: contact-form-7/includes/functions.php:48
301msgid "(required)"
302msgstr ""
303
304#: contact-form-7/includes/functions.php:48
305msgid "Your Email"
306msgstr ""
307
308#: contact-form-7/includes/functions.php:50
309msgid "Subject"
310msgstr ""
311
312#: contact-form-7/includes/functions.php:52
313msgid "Your Message"
314msgstr ""
315
316#: contact-form-7/includes/functions.php:54
317msgid "Send"
318msgstr ""
319
320#: contact-form-7/includes/functions.php:62
321#, php-format
322msgid "From: %s"
323msgstr ""
324
325#: contact-form-7/includes/functions.php:63
326#, php-format
327msgid "Subject: %s"
328msgstr ""
329
330#: contact-form-7/includes/functions.php:64
331msgid "Message Body:"
332msgstr ""
333
334#: contact-form-7/includes/functions.php:65
335#: contact-form-7/includes/functions.php:79
336#, php-format
337msgid "This mail is sent via contact form on %1$s %2$s"
338msgstr ""
339
340#: contact-form-7/includes/functions.php:169
341msgid "Afrikaans"
342msgstr ""
343
344#: contact-form-7/includes/functions.php:170
345msgid "Albanian"
346msgstr ""
347
348#: contact-form-7/includes/functions.php:171
349msgid "Arabic"
350msgstr ""
351
352#: contact-form-7/includes/functions.php:172
353msgid "Armenian"
354msgstr ""
355
356#: contact-form-7/includes/functions.php:173
357msgid "Bangla"
358msgstr ""
359
360#: contact-form-7/includes/functions.php:174
361msgid "Bosnian"
362msgstr ""
363
364#: contact-form-7/includes/functions.php:175
365msgid "Brazilian Portuguese"
366msgstr ""
367
368#: contact-form-7/includes/functions.php:176
369msgid "Bulgarian"
370msgstr ""
371
372#: contact-form-7/includes/functions.php:177
373msgid "Catalan"
374msgstr ""
375
376#: contact-form-7/includes/functions.php:178
377msgid "Chinese (Simplified)"
378msgstr ""
379
380#: contact-form-7/includes/functions.php:179
381msgid "Chinese (Traditional)"
382msgstr ""
383
384#: contact-form-7/includes/functions.php:180
385msgid "Croatian"
386msgstr ""
387
388#: contact-form-7/includes/functions.php:181
389msgid "Czech"
390msgstr ""
391
392#: contact-form-7/includes/functions.php:182
393msgid "Danish"
394msgstr ""
395
396#: contact-form-7/includes/functions.php:183
397msgid "Dutch"
398msgstr ""
399
400#: contact-form-7/includes/functions.php:184
401msgid "English"
402msgstr ""
403
404#: contact-form-7/includes/functions.php:185
405msgid "Estonian"
406msgstr ""
407
408#: contact-form-7/includes/functions.php:186
409msgid "Finnish"
410msgstr ""
411
412#: contact-form-7/includes/functions.php:187
413msgid "French"
414msgstr ""
415
416#: contact-form-7/includes/functions.php:188
417msgid "Galician"
418msgstr ""
419
420#: contact-form-7/includes/functions.php:189
421msgid "Georgian"
422msgstr ""
423
424#: contact-form-7/includes/functions.php:190
425msgid "German"
426msgstr ""
427
428#: contact-form-7/includes/functions.php:191
429msgid "Greek"
430msgstr ""
431
432#: contact-form-7/includes/functions.php:192
433msgid "Hebrew"
434msgstr ""
435
436#: contact-form-7/includes/functions.php:193
437msgid "Hindi"
438msgstr ""
439
440#: contact-form-7/includes/functions.php:194
441msgid "Hungarian"
442msgstr ""
443
444#: contact-form-7/includes/functions.php:195
445msgid "Indonesian"
446msgstr ""
447
448#: contact-form-7/includes/functions.php:196
449msgid "Italian"
450msgstr ""
451
452#: contact-form-7/includes/functions.php:197
453msgid "Japanese"
454msgstr ""
455
456#: contact-form-7/includes/functions.php:198
457msgid "Korean"
458msgstr ""
459
460#: contact-form-7/includes/functions.php:199
461msgid "Latvian"
462msgstr ""
463
464#: contact-form-7/includes/functions.php:200
465msgid "Lithuanian"
466msgstr ""
467
468#: contact-form-7/includes/functions.php:201
469msgid "Macedonian"
470msgstr ""
471
472#: contact-form-7/includes/functions.php:202
473msgid "Malay"
474msgstr ""
475
476#: contact-form-7/includes/functions.php:203
477msgid "Malayalam"
478msgstr ""
479
480#: contact-form-7/includes/functions.php:204
481msgid "Norwegian"
482msgstr ""
483
484#: contact-form-7/includes/functions.php:205
485msgid "Persian"
486msgstr ""
487
488#: contact-form-7/includes/functions.php:206
489msgid "Polish"
490msgstr ""
491
492#: contact-form-7/includes/functions.php:207
493msgid "Portuguese"
494msgstr ""
495
496#: contact-form-7/includes/functions.php:208
497msgid "Russian"
498msgstr ""
499
500#: contact-form-7/includes/functions.php:209
501msgid "Romanian"
502msgstr ""
503
504#: contact-form-7/includes/functions.php:210
505msgid "Serbian"
506msgstr ""
507
508#: contact-form-7/includes/functions.php:211
509msgid "Slovak"
510msgstr ""
511
512#: contact-form-7/includes/functions.php:212
513msgid "Slovene"
514msgstr ""
515
516#: contact-form-7/includes/functions.php:213
517msgid "Spanish"
518msgstr ""
519
520#: contact-form-7/includes/functions.php:214
521msgid "Swedish"
522msgstr ""
523
524#: contact-form-7/includes/functions.php:215
525msgid "Tamil"
526msgstr ""
527
528#: contact-form-7/includes/functions.php:216
529msgid "Thai"
530msgstr ""
531
532#: contact-form-7/includes/functions.php:217
533msgid "Turkish"
534msgstr ""
535
536#: contact-form-7/includes/functions.php:218
537msgid "Ukrainian"
538msgstr ""
539
540#: contact-form-7/includes/functions.php:219
541msgid "Vietnamese"
542msgstr ""
543
544#: contact-form-7/modules/acceptance.php:150
545msgid "Acceptance"
546msgstr ""
547
548#: contact-form-7/modules/acceptance.php:159
549#: contact-form-7/modules/captcha.php:202
550#: contact-form-7/modules/checkbox.php:208
551#: contact-form-7/modules/file.php:244
552msgid "Name"
553msgstr ""
554
555#: contact-form-7/modules/acceptance.php:164
556#: contact-form-7/modules/acceptance.php:167
557#: contact-form-7/modules/captcha.php:209
558#: contact-form-7/modules/captcha.php:212
559#: contact-form-7/modules/captcha.php:217
560#: contact-form-7/modules/captcha.php:220
561#: contact-form-7/modules/captcha.php:224
562#: contact-form-7/modules/captcha.php:235
563#: contact-form-7/modules/captcha.php:238
564#: contact-form-7/modules/captcha.php:243
565#: contact-form-7/modules/captcha.php:246
566#: contact-form-7/modules/checkbox.php:213
567#: contact-form-7/modules/checkbox.php:216
568#: contact-form-7/modules/file.php:249
569#: contact-form-7/modules/file.php:252
570#: contact-form-7/modules/file.php:257
571#: contact-form-7/modules/file.php:260
572msgid "optional"
573msgstr ""
574
575#: contact-form-7/modules/acceptance.php:173
576msgid "Make this checkbox checked by default?"
577msgstr ""
578
579#: contact-form-7/modules/acceptance.php:174
580msgid "Make this checkbox work inversely?"
581msgstr ""
582
583#: contact-form-7/modules/acceptance.php:175
584msgid "* That means visitor who accepts the term unchecks it."
585msgstr ""
586
587#: contact-form-7/modules/acceptance.php:180
588#: contact-form-7/modules/captcha.php:251
589#: contact-form-7/modules/checkbox.php:236
590#: contact-form-7/modules/file.php:265
591msgid "Copy this code and paste it into the form left."
592msgstr ""
593
594#: contact-form-7/modules/captcha.php:66
595msgid "To use CAPTCHA, you need <a href=\"http://wordpress.org/extend/plugins/really-simple-captcha/\">Really Simple CAPTCHA</a> plugin installed."
596msgstr ""
597
598#: contact-form-7/modules/captcha.php:177
599msgid "The code that sender entered does not match the CAPTCHA"
600msgstr ""
601
602#: contact-form-7/modules/captcha.php:178
603msgid "Your entered code is incorrect."
604msgstr ""
605
606#: contact-form-7/modules/captcha.php:188
607msgid "CAPTCHA"
608msgstr ""
609
610#: contact-form-7/modules/captcha.php:199
611msgid "Note: To use CAPTCHA, you need Really Simple CAPTCHA plugin installed."
612msgstr ""
613
614#: contact-form-7/modules/captcha.php:206
615msgid "Image settings"
616msgstr ""
617
618#: contact-form-7/modules/captcha.php:217
619msgid "Foreground color"
620msgstr ""
621
622#: contact-form-7/modules/captcha.php:220
623msgid "Background color"
624msgstr ""
625
626#: contact-form-7/modules/captcha.php:224
627msgid "Image size"
628msgstr ""
629
630#: contact-form-7/modules/captcha.php:225
631msgid "Small"
632msgstr ""
633
634#: contact-form-7/modules/captcha.php:226
635msgid "Medium"
636msgstr ""
637
638#: contact-form-7/modules/captcha.php:227
639msgid "Large"
640msgstr ""
641
642#: contact-form-7/modules/captcha.php:232
643msgid "Input field settings"
644msgstr ""
645
646#: contact-form-7/modules/captcha.php:252
647msgid "For image"
648msgstr ""
649
650#: contact-form-7/modules/captcha.php:254
651msgid "For input field"
652msgstr ""
653
654#: contact-form-7/modules/captcha.php:284
655#, php-format
656msgid "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."
657msgstr ""
658
659#: contact-form-7/modules/captcha.php:290
660msgid "This contact form contains CAPTCHA fields, but the necessary libraries (GD and FreeType) are not available on your server."
661msgstr ""
662
663#: contact-form-7/modules/checkbox.php:181
664msgid "Checkboxes"
665msgstr ""
666
667#: contact-form-7/modules/checkbox.php:184
668msgid "Radio buttons"
669msgstr ""
670
671#: contact-form-7/modules/checkbox.php:205
672#: contact-form-7/modules/file.php:243
673msgid "Required field?"
674msgstr ""
675
676#: contact-form-7/modules/checkbox.php:221
677msgid "Choices"
678msgstr ""
679
680#: contact-form-7/modules/checkbox.php:223
681msgid "* One choice per line."
682msgstr ""
683
684#: contact-form-7/modules/checkbox.php:227
685msgid "Put a label first, a checkbox last?"
686msgstr ""
687
688#: contact-form-7/modules/checkbox.php:228
689msgid "Wrap each item with <label> tag?"
690msgstr ""
691
692#: contact-form-7/modules/checkbox.php:230
693msgid "Make checkboxes exclusive?"
694msgstr ""
695
696#: contact-form-7/modules/checkbox.php:238
697msgid "And, put this code into the Mail fields below."
698msgstr ""
699
700#: contact-form-7/modules/file.php:207
701msgid "Uploading a file fails for any reason"
702msgstr ""
703
704#: contact-form-7/modules/file.php:208
705msgid "Failed to upload file."
706msgstr ""
707
708#: contact-form-7/modules/file.php:212
709msgid "Uploaded file is not allowed file type"
710msgstr ""
711
712#: contact-form-7/modules/file.php:213
713msgid "This file type is not allowed."
714msgstr ""
715
716#: contact-form-7/modules/file.php:217
717msgid "Uploaded file is too large"
718msgstr ""
719
720#: contact-form-7/modules/file.php:218
721msgid "This file is too large."
722msgstr ""
723
724#: contact-form-7/modules/file.php:222
725msgid "Uploading a file fails for PHP error"
726msgstr ""
727
728#: contact-form-7/modules/file.php:223
729msgid "Failed to upload file. Error occurred."
730msgstr ""
731
732#: contact-form-7/modules/file.php:234
733msgid "File upload"
734msgstr ""
735
736#: contact-form-7/modules/file.php:257
737msgid "File size limit"
738msgstr ""
739
740#: contact-form-7/modules/file.php:257
741msgid "bytes"
742msgstr ""
743
744#: contact-form-7/modules/file.php:260
745msgid "Acceptable file types"
746msgstr ""
747
748#: contact-form-7/modules/file.php:267
749msgid "And, put this code into the File Attachments field below."
750msgstr ""
751
752#: contact-form-7/modules/file.php:292
753#, php-format
754msgid "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."
755msgstr ""
756
757#: contact-form-7/modules/icl.php:74
758msgid "This contact form contains [icl] tags, but they are obsolete and no longer functioning on this version of Contact Form 7. <a href=\"http://contactform7.com/2009/12/25/contact-form-in-your-language/#Creating_contact_form_in_different_languages\" target=\"_blank\">There is a simpler way for creating contact forms of other languages</a> and you are recommended to use it."
759msgstr ""
760
761#: contact-form-7/modules/quiz.php:160
762msgid "Sender doesn't enter the correct answer to the quiz"
763msgstr ""
764
765#: contact-form-7/modules/quiz.php:161
766msgid "Your answer is not correct."
767msgstr ""
768
769#: contact-form-7/modules/quiz.php:171
770msgid "Quiz"
771msgstr ""
772
773#: contact-form-7/modules/quiz.php:201
774msgid "Quizzes"
775msgstr ""
776
777#: contact-form-7/modules/quiz.php:203
778msgid "* quiz|answer (e.g. 1+1=?|2)"
779msgstr ""
780
781#: contact-form-7/modules/select.php:150
782msgid "Drop-down menu"
783msgstr ""
784
785#: contact-form-7/modules/select.php:179
786msgid "Allow multiple selections?"
787msgstr ""
788
789#: contact-form-7/modules/select.php:180
790msgid "Insert a blank item as the first option?"
791msgstr ""
792
793#: contact-form-7/modules/submit.php:54
794msgid "Sending ..."
795msgstr ""
796
797#: contact-form-7/modules/submit.php:66
798msgid "Submit button"
799msgstr ""
800
801#: contact-form-7/modules/submit.php:84
802msgid "Label"
803msgstr ""
804
805#: contact-form-7/modules/text.php:138
806msgid "Text field"
807msgstr ""
808
809#: contact-form-7/modules/text.php:141
810msgid "Email field"
811msgstr ""
812
813#: contact-form-7/modules/text.php:183
814msgid "Akismet"
815msgstr ""
816
817#: contact-form-7/modules/text.php:185
818msgid "This field requires author's name"
819msgstr ""
820
821#: contact-form-7/modules/text.php:186
822msgid "This field requires author's URL"
823msgstr ""
824
825#: contact-form-7/modules/text.php:188
826msgid "This field requires author's email address"
827msgstr ""
828
829#: contact-form-7/modules/text.php:194
830#: contact-form-7/modules/textarea.php:156
831msgid "Default value"
832msgstr ""
833
834#: contact-form-7/modules/text.php:197
835#: contact-form-7/modules/textarea.php:159
836msgid "Use this text as watermark?"
837msgstr ""
838
839#: contact-form-7/modules/textarea.php:125
840msgid "Text area"
841msgstr ""
842
0843
=== added file 'wp-content/plugins/contact-form-7/license.txt'
--- wp-content/plugins/contact-form-7/license.txt 1970-01-01 00:00:00 +0000
+++ wp-content/plugins/contact-form-7/license.txt 2011-02-18 16:15:41 +0000
@@ -0,0 +1,339 @@
1 GNU GENERAL PUBLIC LICENSE
2 Version 2, June 1991
3
4 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The licenses for most software are designed to take away your
12freedom to share and change it. By contrast, the GNU General Public
13License is intended to guarantee your freedom to share and change free
14software--to make sure the software is free for all its users. This
15General Public License applies to most of the Free Software
16Foundation's software and to any other program whose authors commit to
17using it. (Some other Free Software Foundation software is covered by
18the GNU Lesser General Public License instead.) You can apply it to
19your programs, too.
20
21 When we speak of free software, we are referring to freedom, not
22price. Our General Public Licenses are designed to make sure that you
23have the freedom to distribute copies of free software (and charge for
24this service if you wish), that you receive source code or can get it
25if you want it, that you can change the software or use pieces of it
26in new free programs; and that you know you can do these things.
27
28 To protect your rights, we need to make restrictions that forbid
29anyone to deny you these rights or to ask you to surrender the rights.
30These restrictions translate to certain responsibilities for you if you
31distribute copies of the software, or if you modify it.
32
33 For example, if you distribute copies of such a program, whether
34gratis or for a fee, you must give the recipients all the rights that
35you have. You must make sure that they, too, receive or can get the
36source code. And you must show them these terms so they know their
37rights.
38
39 We protect your rights with two steps: (1) copyright the software, and
40(2) offer you this license which gives you legal permission to copy,
41distribute and/or modify the software.
42
43 Also, for each author's protection and ours, we want to make certain
44that everyone understands that there is no warranty for this free
45software. If the software is modified by someone else and passed on, we
46want its recipients to know that what they have is not the original, so
47that any problems introduced by others will not reflect on the original
48authors' reputations.
49
50 Finally, any free program is threatened constantly by software
51patents. We wish to avoid the danger that redistributors of a free
52program will individually obtain patent licenses, in effect making the
53program proprietary. To prevent this, we have made it clear that any
54patent must be licensed for everyone's free use or not licensed at all.
55
56 The precise terms and conditions for copying, distribution and
57modification follow.
58
59 GNU GENERAL PUBLIC LICENSE
60 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
62 0. This License applies to any program or other work which contains
63a notice placed by the copyright holder saying it may be distributed
64under the terms of this General Public License. The "Program", below,
65refers to any such program or work, and a "work based on the Program"
66means either the Program or any derivative work under copyright law:
67that is to say, a work containing the Program or a portion of it,
68either verbatim or with modifications and/or translated into another
69language. (Hereinafter, translation is included without limitation in
70the term "modification".) Each licensee is addressed as "you".
71
72Activities other than copying, distribution and modification are not
73covered by this License; they are outside its scope. The act of
74running the Program is not restricted, and the output from the Program
75is covered only if its contents constitute a work based on the
76Program (independent of having been made by running the Program).
77Whether that is true depends on what the Program does.
78
79 1. You may copy and distribute verbatim copies of the Program's
80source code as you receive it, in any medium, provided that you
81conspicuously and appropriately publish on each copy an appropriate
82copyright notice and disclaimer of warranty; keep intact all the
83notices that refer to this License and to the absence of any warranty;
84and give any other recipients of the Program a copy of this License
85along with the Program.
86
87You may charge a fee for the physical act of transferring a copy, and
88you may at your option offer warranty protection in exchange for a fee.
89
90 2. You may modify your copy or copies of the Program or any portion
91of it, thus forming a work based on the Program, and copy and
92distribute such modifications or work under the terms of Section 1
93above, provided that you also meet all of these conditions:
94
95 a) You must cause the modified files to carry prominent notices
96 stating that you changed the files and the date of any change.
97
98 b) You must cause any work that you distribute or publish, that in
99 whole or in part contains or is derived from the Program or any
100 part thereof, to be licensed as a whole at no charge to all third
101 parties under the terms of this License.
102
103 c) If the modified program normally reads commands interactively
104 when run, you must cause it, when started running for such
105 interactive use in the most ordinary way, to print or display an
106 announcement including an appropriate copyright notice and a
107 notice that there is no warranty (or else, saying that you provide
108 a warranty) and that users may redistribute the program under
109 these conditions, and telling the user how to view a copy of this
110 License. (Exception: if the Program itself is interactive but
111 does not normally print such an announcement, your work based on
112 the Program is not required to print an announcement.)
113
114These requirements apply to the modified work as a whole. If
115identifiable sections of that work are not derived from the Program,
116and can be reasonably considered independent and separate works in
117themselves, then this License, and its terms, do not apply to those
118sections when you distribute them as separate works. But when you
119distribute the same sections as part of a whole which is a work based
120on the Program, the distribution of the whole must be on the terms of
121this License, whose permissions for other licensees extend to the
122entire whole, and thus to each and every part regardless of who wrote it.
123
124Thus, it is not the intent of this section to claim rights or contest
125your rights to work written entirely by you; rather, the intent is to
126exercise the right to control the distribution of derivative or
127collective works based on the Program.
128
129In addition, mere aggregation of another work not based on the Program
130with the Program (or with a work based on the Program) on a volume of
131a storage or distribution medium does not bring the other work under
132the scope of this License.
133
134 3. You may copy and distribute the Program (or a work based on it,
135under Section 2) in object code or executable form under the terms of
136Sections 1 and 2 above provided that you also do one of the following:
137
138 a) Accompany it with the complete corresponding machine-readable
139 source code, which must be distributed under the terms of Sections
140 1 and 2 above on a medium customarily used for software interchange; or,
141
142 b) Accompany it with a written offer, valid for at least three
143 years, to give any third party, for a charge no more than your
144 cost of physically performing source distribution, a complete
145 machine-readable copy of the corresponding source code, to be
146 distributed under the terms of Sections 1 and 2 above on a medium
147 customarily used for software interchange; or,
148
149 c) Accompany it with the information you received as to the offer
150 to distribute corresponding source code. (This alternative is
151 allowed only for noncommercial distribution and only if you
152 received the program in object code or executable form with such
153 an offer, in accord with Subsection b above.)
154
155The source code for a work means the preferred form of the work for
156making modifications to it. For an executable work, complete source
157code means all the source code for all modules it contains, plus any
158associated interface definition files, plus the scripts used to
159control compilation and installation of the executable. However, as a
160special exception, the source code distributed need not include
161anything that is normally distributed (in either source or binary
162form) with the major components (compiler, kernel, and so on) of the
163operating system on which the executable runs, unless that component
164itself accompanies the executable.
165
166If distribution of executable or object code is made by offering
167access to copy from a designated place, then offering equivalent
168access to copy the source code from the same place counts as
169distribution of the source code, even though third parties are not
170compelled to copy the source along with the object code.
171
172 4. You may not copy, modify, sublicense, or distribute the Program
173except as expressly provided under this License. Any attempt
174otherwise to copy, modify, sublicense or distribute the Program is
175void, and will automatically terminate your rights under this License.
176However, parties who have received copies, or rights, from you under
177this License will not have their licenses terminated so long as such
178parties remain in full compliance.
179
180 5. You are not required to accept this License, since you have not
181signed it. However, nothing else grants you permission to modify or
182distribute the Program or its derivative works. These actions are
183prohibited by law if you do not accept this License. Therefore, by
184modifying or distributing the Program (or any work based on the
185Program), you indicate your acceptance of this License to do so, and
186all its terms and conditions for copying, distributing or modifying
187the Program or works based on it.
188
189 6. Each time you redistribute the Program (or any work based on the
190Program), the recipient automatically receives a license from the
191original licensor to copy, distribute or modify the Program subject to
192these terms and conditions. You may not impose any further
193restrictions on the recipients' exercise of the rights granted herein.
194You are not responsible for enforcing compliance by third parties to
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches