Contact Form 7 - Version 4.2

Version Description

  • Renewal of the editor screen.
  • Translation for Slovene has been updated.
  • WordPress 4.1 or higher is required.
Download this release

Release Info

Developer takayukister
Plugin Icon 128x128 Contact Form 7
Version 4.2
Comparing to
See all releases

Code changes from version 4.2-beta to 4.2

admin/admin.php CHANGED
@@ -1,6 +1,7 @@
1
  <?php
2
 
3
- require_once WPCF7_PLUGIN_DIR . '/admin/admin-functions.php';
 
4
  require_once WPCF7_PLUGIN_DIR . '/admin/includes/tag-generator.php';
5
 
6
  add_action( 'admin_menu', 'wpcf7_admin_menu', 9 );
@@ -26,6 +27,18 @@ function wpcf7_admin_menu() {
26
  'wpcf7_admin_add_new_page' );
27
 
28
  add_action( 'load-' . $addnew, 'wpcf7_load_contact_form_admin' );
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
 
31
  add_filter( 'set-screen-option', 'wpcf7_set_screen_options', 10, 3 );
@@ -143,7 +156,6 @@ function wpcf7_load_contact_form_admin() {
143
 
144
  $current_screen = get_current_screen();
145
 
146
- require_once WPCF7_PLUGIN_DIR . '/admin/includes/help-tabs.php';
147
  $help_tabs = new WPCF7_Help_Tabs( $current_screen );
148
 
149
  if ( $post && current_user_can( 'wpcf7_edit_contact_form', $post->id() ) ) {
@@ -288,6 +300,43 @@ function wpcf7_admin_add_new_page() {
288
  <?php
289
  }
290
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
291
  /* Misc */
292
 
293
  add_action( 'wpcf7_admin_notices', 'wpcf7_admin_updated_message' );
1
  <?php
2
 
3
+ require_once WPCF7_PLUGIN_DIR . '/admin/includes/admin-functions.php';
4
+ require_once WPCF7_PLUGIN_DIR . '/admin/includes/help-tabs.php';
5
  require_once WPCF7_PLUGIN_DIR . '/admin/includes/tag-generator.php';
6
 
7
  add_action( 'admin_menu', 'wpcf7_admin_menu', 9 );
27
  'wpcf7_admin_add_new_page' );
28
 
29
  add_action( 'load-' . $addnew, 'wpcf7_load_contact_form_admin' );
30
+
31
+ $integration = WPCF7_Integration::get_instance();
32
+
33
+ if ( $integration->service_exists() ) {
34
+ $integration = add_submenu_page( 'wpcf7',
35
+ __( 'Integration with Other Services', 'contact-form-7' ),
36
+ __( 'Integration', 'contact-form-7' ),
37
+ 'wpcf7_edit_contact_forms', 'wpcf7-integration',
38
+ 'wpcf7_admin_integration_page' );
39
+
40
+ add_action( 'load-' . $integration, 'wpcf7_load_integration_page' );
41
+ }
42
  }
43
 
44
  add_filter( 'set-screen-option', 'wpcf7_set_screen_options', 10, 3 );
156
 
157
  $current_screen = get_current_screen();
158
 
 
159
  $help_tabs = new WPCF7_Help_Tabs( $current_screen );
160
 
161
  if ( $post && current_user_can( 'wpcf7_edit_contact_form', $post->id() ) ) {
300
  <?php
301
  }
302
 
303
+ function wpcf7_load_integration_page() {
304
+ $integration = WPCF7_Integration::get_instance();
305
+
306
+ if ( isset( $_REQUEST['service'] )
307
+ && $integration->service_exists( $_REQUEST['service'] ) ) {
308
+ $service = $integration->get_service( $_REQUEST['service'] );
309
+ $service->load( wpcf7_current_action() );
310
+ }
311
+
312
+ $help_tabs = new WPCF7_Help_Tabs( get_current_screen() );
313
+ $help_tabs->set_help_tabs( 'integration' );
314
+ }
315
+
316
+ function wpcf7_admin_integration_page() {
317
+ $integration = WPCF7_Integration::get_instance();
318
+
319
+ ?>
320
+ <div class="wrap">
321
+
322
+ <h2><?php echo esc_html( __( 'Integration with Other Services', 'contact-form-7' ) ); ?></h2>
323
+
324
+ <?php do_action( 'wpcf7_admin_notices' ); ?>
325
+
326
+ <?php
327
+ if ( isset( $_REQUEST['service'] )
328
+ && $service = $integration->get_service( $_REQUEST['service'] ) ) {
329
+ $service->admin_notice();
330
+ $integration->list_services( array( 'include' => $_REQUEST['service'] ) );
331
+ } else {
332
+ $integration->list_services();
333
+ }
334
+ ?>
335
+
336
+ </div>
337
+ <?php
338
+ }
339
+
340
  /* Misc */
341
 
342
  add_action( 'wpcf7_admin_notices', 'wpcf7_admin_updated_message' );
admin/css/styles.css CHANGED
@@ -239,6 +239,10 @@ span.shortcode > input {
239
  color: #000;
240
  }
241
 
 
 
 
 
242
  /*
243
  * List Table
244
  */
@@ -265,3 +269,35 @@ span.shortcode > input {
265
  .welcome-panel-close {
266
  z-index: 2;
267
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  color: #000;
240
  }
241
 
242
+ .contact-form-editor-box-mail span.mailtag.used {
243
+ color: #666;
244
+ }
245
+
246
  /*
247
  * List Table
248
  */
269
  .welcome-panel-close {
270
  z-index: 2;
271
  }
272
+
273
+ /*
274
+ * Integration
275
+ */
276
+ .card {
277
+ background: #fff none repeat scroll 0 0;
278
+ border: 1px solid #e5e5e5;
279
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
280
+ margin-top: 20px;
281
+ max-width: 520px;
282
+ min-width: 255px;
283
+ padding: 0.7em 2em 1em;
284
+ position: relative;
285
+ }
286
+
287
+ .card.active {
288
+ background-color: #f7fcfe;
289
+ }
290
+
291
+ .card h3.title {
292
+ float: left;
293
+ max-width: 260px;
294
+ }
295
+
296
+ .card .infobox {
297
+ float: right;
298
+ font-size: 13px;
299
+ color: #666;
300
+ margin: 2px 0 5px;
301
+ line-height: 1.5;
302
+ max-width: 240px;
303
+ }
admin/edit-contact-form.php CHANGED
@@ -5,6 +5,30 @@ if ( ! defined( 'ABSPATH' ) ) {
5
  die( '-1' );
6
  }
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ?><div class="wrap">
9
 
10
  <h2><?php
@@ -120,7 +144,7 @@ if ( $post ) :
120
  <?php endif; ?>
121
 
122
  <div class="save-contact-form textright">
123
- <input type="submit" class="button-primary" name="wpcf7-save" value="<?php echo esc_attr( __( 'Save', 'contact-form-7' ) ); ?>" />
124
  </div>
125
  </div><!-- #major-publishing-actions -->
126
  </div><!-- #submitpost -->
@@ -185,7 +209,7 @@ if ( $post ) :
185
  </div><!-- #contact-form-editor -->
186
 
187
  <?php if ( current_user_can( 'wpcf7_edit_contact_form', $post_id ) ) : ?>
188
- <p class="submit"><input type="submit" class="button-primary" name="wpcf7-save" value="<?php echo esc_attr( __( 'Save', 'contact-form-7' ) ); ?>" /></p>
189
  <?php endif; ?>
190
 
191
  </div><!-- #postbox-container-2 -->
5
  die( '-1' );
6
  }
7
 
8
+ function wpcf7_admin_save_button( $post_id ) {
9
+ static $button = '';
10
+
11
+ if ( ! empty( $button ) ) {
12
+ echo $button;
13
+ return;
14
+ }
15
+
16
+ $nonce = wp_create_nonce( 'wpcf7-save-contact-form_' . $post_id );
17
+
18
+ $onclick = sprintf(
19
+ "this.form._wpnonce.value = '%s';"
20
+ . " this.form.action.value = 'save';"
21
+ . " return true;",
22
+ $nonce );
23
+
24
+ $button = sprintf(
25
+ '<input type="submit" class="button-primary" name="wpcf7-save" value="%1$s" onclick="%2$s" />',
26
+ esc_attr( __( 'Save', 'contact-form-7' ) ),
27
+ $onclick );
28
+
29
+ echo $button;
30
+ }
31
+
32
  ?><div class="wrap">
33
 
34
  <h2><?php
144
  <?php endif; ?>
145
 
146
  <div class="save-contact-form textright">
147
+ <?php wpcf7_admin_save_button( $post_id ); ?>
148
  </div>
149
  </div><!-- #major-publishing-actions -->
150
  </div><!-- #submitpost -->
209
  </div><!-- #contact-form-editor -->
210
 
211
  <?php if ( current_user_can( 'wpcf7_edit_contact_form', $post_id ) ) : ?>
212
+ <p class="submit"><?php wpcf7_admin_save_button( $post_id ); ?></p>
213
  <?php endif; ?>
214
 
215
  </div><!-- #postbox-container-2 -->
admin/{admin-functions.php → includes/admin-functions.php} RENAMED
@@ -19,14 +19,6 @@ function wpcf7_add_tag_generator( $name, $title, $elm_id, $callback, $options =
19
  return $tag_generator->add( $name, $title, $callback, $options );
20
  }
21
 
22
- function wpcf7_mail_tags_suggestion( WPCF7_ContactForm $contact_form ) {
23
- foreach ( $contact_form->collect_mail_tags() as $mailtag ) {
24
- echo sprintf(
25
- '<span class="mailtag code">[%s]</span>',
26
- esc_html( $mailtag ) );
27
- }
28
- }
29
-
30
  function wpcf7_save_contact_form( $post_id = -1 ) {
31
  if ( -1 != $post_id ) {
32
  $contact_form = wpcf7_contact_form( $post_id );
19
  return $tag_generator->add( $name, $title, $callback, $options );
20
  }
21
 
 
 
 
 
 
 
 
 
22
  function wpcf7_save_contact_form( $post_id = -1 ) {
23
  if ( -1 != $post_id ) {
24
  $contact_form = wpcf7_contact_form( $post_id );
admin/includes/editor.php CHANGED
@@ -94,7 +94,7 @@ function wpcf7_editor_box_mail( $post, $args = '' ) {
94
 
95
  <fieldset>
96
  <legend><?php echo esc_html( __( "In the following fields, you can use these mail-tags:", 'contact-form-7' ) ); ?><br />
97
- <?php wpcf7_mail_tags_suggestion( $post ); ?></legend>
98
  <table class="form-table">
99
  <tbody>
100
  <tr>
94
 
95
  <fieldset>
96
  <legend><?php echo esc_html( __( "In the following fields, you can use these mail-tags:", 'contact-form-7' ) ); ?><br />
97
+ <?php $post->suggest_mail_tags( $args['name'] ); ?></legend>
98
  <table class="form-table">
99
  <tbody>
100
  <tr>
admin/includes/help-tabs.php CHANGED
@@ -51,6 +51,15 @@ class WPCF7_Help_Tabs {
51
 
52
  $this->sidebar();
53
 
 
 
 
 
 
 
 
 
 
54
  return;
55
  }
56
  }
@@ -80,6 +89,10 @@ class WPCF7_Help_Tabs {
80
  $content['edit_mail_tags'] = '<p>' . __( "A mail-tag is also a short code enclosed in square brackets that you can use in every Mail and Mail (2) field. A mail-tag represents a user input value through an input field of a corresponding form-tag.", 'contact-form-7' ) . '</p>';
81
  $content['edit_mail_tags'] .= '<p>' . __( "There are also special mail-tags that have specific names, but don&#8217;t have corresponding form-tags. They are used to represent meta information of form submissions like the submitter&#8217;s IP address or the URL of the page.", 'contact-form-7' ) . '</p>';
82
 
 
 
 
 
83
  if ( ! empty( $content[$name] ) ) {
84
  return $content[$name];
85
  }
51
 
52
  $this->sidebar();
53
 
54
+ return;
55
+ case 'integration':
56
+ $this->screen->add_help_tab( array(
57
+ 'id' => 'integration_overview',
58
+ 'title' => __( 'Overview', 'contact-form-7' ),
59
+ 'content' => $this->content( 'integration_overview' ) ) );
60
+
61
+ $this->sidebar();
62
+
63
  return;
64
  }
65
  }
89
  $content['edit_mail_tags'] = '<p>' . __( "A mail-tag is also a short code enclosed in square brackets that you can use in every Mail and Mail (2) field. A mail-tag represents a user input value through an input field of a corresponding form-tag.", 'contact-form-7' ) . '</p>';
90
  $content['edit_mail_tags'] .= '<p>' . __( "There are also special mail-tags that have specific names, but don&#8217;t have corresponding form-tags. They are used to represent meta information of form submissions like the submitter&#8217;s IP address or the URL of the page.", 'contact-form-7' ) . '</p>';
91
 
92
+ $content['integration_overview'] = '<p>' . __( "On this screen, you can manage services that are available through Contact Form 7. Using API will allow you to collaborate with any services that are available.", 'contact-form-7' ) . '</p>';
93
+ $content['integration_overview'] .= '<p>' . __( "You may need to first sign up for an account with the service that you plan to use. When you do so, you would need to authorize Contact Form 7 to access the service with your account.", 'contact-form-7' ) . '</p>';
94
+ $content['integration_overview'] .= '<p>' . __( "Any information you provide will not be shared with service providers without your authorization.", 'contact-form-7' ) . '</p>';
95
+
96
  if ( ! empty( $content[$name] ) ) {
97
  return $content[$name];
98
  }
includes/contact-form-template.php CHANGED
@@ -84,7 +84,7 @@ class WPCF7_ContactFormTemplate {
84
  $admin_email = get_option( 'admin_email' );
85
  $sitename = strtolower( $_SERVER['SERVER_NAME'] );
86
 
87
- if ( 'localhost' == $sitename ) {
88
  return $admin_email;
89
  }
90
 
@@ -171,5 +171,3 @@ function wpcf7_messages() {
171
 
172
  return apply_filters( 'wpcf7_messages', $messages );
173
  }
174
-
175
- ?>
84
  $admin_email = get_option( 'admin_email' );
85
  $sitename = strtolower( $_SERVER['SERVER_NAME'] );
86
 
87
+ if ( wpcf7_is_localhost() ) {
88
  return $admin_email;
89
  }
90
 
171
 
172
  return apply_filters( 'wpcf7_messages', $messages );
173
  }
 
 
includes/contact-form.php CHANGED
@@ -566,6 +566,26 @@ class WPCF7_ContactForm {
566
  return apply_filters( 'wpcf7_collect_mail_tags', $mailtags );
567
  }
568
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
569
  public function submit( $ajax = false ) {
570
  $submission = WPCF7_Submission::get_instance( $this );
571
 
@@ -857,4 +877,39 @@ function wpcf7_form_controls_class( $type, $default = '' ) {
857
  return implode( ' ', $classes );
858
  }
859
 
860
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
566
  return apply_filters( 'wpcf7_collect_mail_tags', $mailtags );
567
  }
568
 
569
+ public function suggest_mail_tags( $for = 'mail' ) {
570
+ $mail = wp_parse_args( $this->prop( $for ), array(
571
+ 'active' => false, 'recipient' => '', 'sender' => '',
572
+ 'subject' => '', 'body' => '', 'additional_headers' => '',
573
+ 'attachments' => '', 'use_html' => false, 'exclude_blank' => false ) );
574
+
575
+ $mail = array_filter( $mail );
576
+
577
+ foreach ( (array) $this->collect_mail_tags() as $mail_tag ) {
578
+ $pattern = sprintf( '/\[(_[a-z]+_)?%s([ \t]+[^]]+)?\]/',
579
+ preg_quote( $mail_tag, '/' ) );
580
+ $used = preg_grep( $pattern, $mail );
581
+
582
+ echo sprintf(
583
+ '<span class="%1$s">[%2$s]</span>',
584
+ 'mailtag code ' . ( $used ? 'used' : 'unused' ),
585
+ esc_html( $mail_tag ) );
586
+ }
587
+ }
588
+
589
  public function submit( $ajax = false ) {
590
  $submission = WPCF7_Submission::get_instance( $this );
591
 
877
  return implode( ' ', $classes );
878
  }
879
 
880
+ function wpcf7_contact_form_tag_func( $atts, $content = null, $code = '' ) {
881
+ if ( is_feed() ) {
882
+ return '[contact-form-7]';
883
+ }
884
+
885
+ if ( 'contact-form-7' == $code ) {
886
+ $atts = shortcode_atts( array(
887
+ 'id' => 0,
888
+ 'title' => '',
889
+ 'html_id' => '',
890
+ 'html_name' => '',
891
+ 'html_class' => '',
892
+ 'output' => 'form' ), $atts );
893
+
894
+ $id = (int) $atts['id'];
895
+ $title = trim( $atts['title'] );
896
+
897
+ if ( ! $contact_form = wpcf7_contact_form( $id ) ) {
898
+ $contact_form = wpcf7_get_contact_form_by_title( $title );
899
+ }
900
+
901
+ } else {
902
+ if ( is_string( $atts ) ) {
903
+ $atts = explode( ' ', $atts, 2 );
904
+ }
905
+
906
+ $id = (int) array_shift( $atts );
907
+ $contact_form = wpcf7_get_contact_form_by_old_id( $id );
908
+ }
909
+
910
+ if ( ! $contact_form ) {
911
+ return '[contact-form-7 404 "Not Found"]';
912
+ }
913
+
914
+ return $contact_form->form_html( $atts );
915
+ }
includes/controller.php CHANGED
@@ -134,48 +134,6 @@ function wpcf7_widget_text_filter( $content ) {
134
  return $content;
135
  }
136
 
137
- /* Shortcodes */
138
-
139
- add_action( 'plugins_loaded', 'wpcf7_add_shortcodes' );
140
-
141
- function wpcf7_add_shortcodes() {
142
- add_shortcode( 'contact-form-7', 'wpcf7_contact_form_tag_func' );
143
- add_shortcode( 'contact-form', 'wpcf7_contact_form_tag_func' );
144
- }
145
-
146
- function wpcf7_contact_form_tag_func( $atts, $content = null, $code = '' ) {
147
- if ( is_feed() )
148
- return '[contact-form-7]';
149
-
150
- if ( 'contact-form-7' == $code ) {
151
- $atts = shortcode_atts( array(
152
- 'id' => 0,
153
- 'title' => '',
154
- 'html_id' => '',
155
- 'html_name' => '',
156
- 'html_class' => '',
157
- 'output' => 'form' ), $atts );
158
-
159
- $id = (int) $atts['id'];
160
- $title = trim( $atts['title'] );
161
-
162
- if ( ! $contact_form = wpcf7_contact_form( $id ) )
163
- $contact_form = wpcf7_get_contact_form_by_title( $title );
164
-
165
- } else {
166
- if ( is_string( $atts ) )
167
- $atts = explode( ' ', $atts, 2 );
168
-
169
- $id = (int) array_shift( $atts );
170
- $contact_form = wpcf7_get_contact_form_by_old_id( $id );
171
- }
172
-
173
- if ( ! $contact_form )
174
- return '[contact-form-7 404 "Not Found"]';
175
-
176
- return $contact_form->form_html( $atts );
177
- }
178
-
179
  add_action( 'wp_enqueue_scripts', 'wpcf7_do_enqueue_scripts' );
180
 
181
  function wpcf7_do_enqueue_scripts() {
@@ -262,5 +220,3 @@ function wpcf7_html5_fallback() {
262
  wpcf7_plugin_url( 'includes/js/jquery-ui/themes/smoothness/jquery-ui.min.css' ), array(), '1.10.3', 'screen' );
263
  }
264
  }
265
-
266
- ?>
134
  return $content;
135
  }
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  add_action( 'wp_enqueue_scripts', 'wpcf7_do_enqueue_scripts' );
138
 
139
  function wpcf7_do_enqueue_scripts() {
220
  wpcf7_plugin_url( 'includes/js/jquery-ui/themes/smoothness/jquery-ui.min.css' ), array(), '1.10.3', 'screen' );
221
  }
222
  }
 
 
includes/functions.php CHANGED
@@ -475,3 +475,8 @@ function wpcf7_count_code_units( $string ) {
475
 
476
  return floor( $byte_count / 2 );
477
  }
 
 
 
 
 
475
 
476
  return floor( $byte_count / 2 );
477
  }
478
+
479
+ function wpcf7_is_localhost() {
480
+ $server_name = strtolower( $_SERVER['SERVER_NAME'] );
481
+ return in_array( $server_name, array( 'localhost', '127.0.0.1' ) );
482
+ }
includes/integration.php ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class WPCF7_Integration {
4
+
5
+ private static $instance;
6
+
7
+ private $services = array();
8
+ private $categories = array();
9
+
10
+ private function __construct() {}
11
+
12
+ public static function get_instance() {
13
+ if ( empty( self::$instance ) ) {
14
+ self::$instance = new self;
15
+ }
16
+
17
+ return self::$instance;
18
+ }
19
+
20
+ public function add_service( $name, WPCF7_Service $service ) {
21
+ $name = sanitize_key( $name );
22
+
23
+ if ( empty( $name ) || isset( $this->services[$name] ) ) {
24
+ return false;
25
+ }
26
+
27
+ $this->services[$name] = $service;
28
+ }
29
+
30
+ public function add_category( $name, $title ) {
31
+ $name = sanitize_key( $name );
32
+
33
+ if ( empty( $name ) || isset( $this->categories[$name] ) ) {
34
+ return false;
35
+ }
36
+
37
+ $this->categories[$name] = $title;
38
+ }
39
+
40
+ public function service_exists( $name = '' ) {
41
+ if ( '' == $name ) {
42
+ return (bool) count( $this->services );
43
+ } else {
44
+ return isset( $this->services[$name] );
45
+ }
46
+ }
47
+
48
+ public function get_service( $name ) {
49
+ if ( $this->service_exists( $name ) ) {
50
+ return $this->services[$name];
51
+ } else {
52
+ return false;
53
+ }
54
+ }
55
+
56
+ public function list_services( $args = '' ) {
57
+ $args = wp_parse_args( $args, array(
58
+ 'include' => array() ) );
59
+
60
+ $services = (array) $this->services;
61
+
62
+ if ( ! empty( $args['include'] ) ) {
63
+ $services = array_intersect_key( $services,
64
+ array_flip( (array) $args['include'] ) );
65
+ }
66
+
67
+ foreach ( $services as $name => $service ) {
68
+ $cats = array_intersect_key( $this->categories,
69
+ array_flip( $service->get_categories() ) );
70
+ ?>
71
+ <div class="card<?php echo $service->is_active() ? ' active' : ''; ?>" id="<?php echo esc_attr( $name ); ?>">
72
+ <h3 class="title"><?php echo esc_html( $service->get_title() ); ?></h3>
73
+ <div class="infobox">
74
+ <?php echo esc_html( implode( ', ', $cats ) ); ?>
75
+ <br />
76
+ <?php $service->link(); ?>
77
+ </div>
78
+ <br class="clear" />
79
+
80
+ <div class="inside">
81
+ <?php $service->display(); ?>
82
+ </div>
83
+ </div>
84
+ <?php
85
+ }
86
+ }
87
+
88
+ }
89
+
90
+ abstract class WPCF7_Service {
91
+
92
+ public function get_title() {
93
+ }
94
+
95
+ public function is_active() {
96
+ }
97
+
98
+ public function get_categories() {
99
+ }
100
+
101
+ public function link() {
102
+ }
103
+
104
+ public function load( $action = '' ) {
105
+ }
106
+
107
+ public function display() {
108
+ }
109
+
110
+ public function admin_notice() {
111
+ }
112
+
113
+ }
includes/js/scripts.js CHANGED
@@ -275,7 +275,7 @@
275
  return this.each(function() {
276
  var val = $.trim($(this).val());
277
 
278
- if (! val.match(/^[a-z][a-z0-9.+-]*:/i)) { // check the scheme part
279
  val = val.replace(/^\/+/, '');
280
  val = 'http://' + val;
281
  }
@@ -411,4 +411,4 @@
411
  return features;
412
  };
413
 
414
- })(jQuery);
275
  return this.each(function() {
276
  var val = $.trim($(this).val());
277
 
278
+ if (val && ! val.match(/^[a-z][a-z0-9.+-]*:/i)) { // check the scheme part
279
  val = val.replace(/^\/+/, '');
280
  val = 'http://' + val;
281
  }
411
  return features;
412
  };
413
 
414
+ })(jQuery);
languages/contact-form-7-ja.mo CHANGED
Binary file
languages/contact-form-7.pot CHANGED
@@ -1,8 +1,9 @@
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contact Form 7\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-05-18 21:49+0900\n"
6
  "PO-Revision-Date: 2015-05-18 21:49+0900\n"
7
  "Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
8
  "Language-Team: \n"
@@ -13,299 +14,306 @@ msgstr ""
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-Generator: Poedit 1.7.6\n"
17
  "X-Poedit-SearchPath-0: contact-form-7\n"
18
 
19
  #: contact-form-7/wp-contact-form-7.php:5
20
  msgid "Just another contact form plugin. Simple but flexible."
21
  msgstr ""
22
 
23
- #: contact-form-7/admin/admin.php:9 contact-form-7/modules/flamingo.php:134
24
  msgid "Contact Form 7"
25
  msgstr ""
26
 
27
- #: contact-form-7/admin/admin.php:10
28
  msgid "Contact"
29
  msgstr ""
30
 
31
- #: contact-form-7/admin/admin.php:15
32
- #: contact-form-7/admin/edit-contact-form.php:14
33
  msgid "Edit Contact Form"
34
  msgstr ""
35
 
36
- #: contact-form-7/admin/admin.php:16 contact-form-7/admin/admin.php:166
37
- #: contact-form-7/admin/admin.php:224
38
  #: contact-form-7/includes/contact-form.php:29
39
  msgid "Contact Forms"
40
  msgstr ""
41
 
42
- #: contact-form-7/admin/admin.php:23 contact-form-7/admin/admin.php:268
43
- #: contact-form-7/admin/edit-contact-form.php:12
44
  msgid "Add New Contact Form"
45
  msgstr ""
46
 
47
- #: contact-form-7/admin/admin.php:24 contact-form-7/admin/admin.php:227
48
- #: contact-form-7/admin/admin.php:273 contact-form-7/admin/admin.php:285
49
- #: contact-form-7/admin/edit-contact-form.php:17
50
  msgid "Add New"
51
  msgstr ""
52
 
53
- #: contact-form-7/admin/admin.php:53 contact-form-7/admin/admin.php:75
 
 
 
 
 
 
 
 
54
  msgid "You are not allowed to edit this item."
55
  msgstr ""
56
 
57
- #: contact-form-7/admin/admin.php:114
58
  msgid "You are not allowed to delete this item."
59
  msgstr ""
60
 
61
- #: contact-form-7/admin/admin.php:117
62
  msgid "Error in deleting."
63
  msgstr ""
64
 
65
- #: contact-form-7/admin/admin.php:204
66
  msgid "The changes you made will be lost if you navigate away from this page."
67
  msgstr ""
68
 
69
- #: contact-form-7/admin/admin.php:232
70
  #, php-format
71
  msgid "Search results for &#8220;%s&#8221;"
72
  msgstr ""
73
 
74
- #: contact-form-7/admin/admin.php:241
75
  msgid "Search Contact Forms"
76
  msgstr ""
77
 
78
- #: contact-form-7/admin/admin.php:272
79
  #, php-format
80
  msgid "Use the default language (%s)"
81
  msgstr ""
82
 
83
- #: contact-form-7/admin/admin.php:276
84
  msgid "Or"
85
  msgstr ""
86
 
87
- #: contact-form-7/admin/admin.php:280
88
  msgid "(select language)"
89
  msgstr ""
90
 
91
- #: contact-form-7/admin/admin.php:300
92
  msgid "Contact form created."
93
  msgstr ""
94
 
95
- #: contact-form-7/admin/admin.php:302
96
  msgid "Contact form saved."
97
  msgstr ""
98
 
99
- #: contact-form-7/admin/admin.php:304
100
  msgid "Contact form deleted."
101
  msgstr ""
102
 
103
- #: contact-form-7/admin/admin.php:321
104
  msgid "Settings"
105
  msgstr ""
106
 
107
- #: contact-form-7/admin/admin.php:344
108
  #, php-format
109
  msgid ""
110
  "<strong>Contact Form 7 %1$s requires WordPress %2$s or higher.</strong> "
111
  "Please <a href=\"%3$s\">update WordPress</a> first."
112
  msgstr ""
113
 
114
- #: contact-form-7/admin/admin.php:370
115
  msgid "Dismiss"
116
  msgstr ""
117
 
118
- #: contact-form-7/admin/admin.php:375
119
  msgid "Contact Form 7 Needs Your Support"
120
  msgstr ""
121
 
122
- #: contact-form-7/admin/admin.php:376
123
  msgid ""
124
  "It is hard to continue development and support for this plugin without "
125
  "contributions from users like you. If you enjoy using Contact Form 7 and "
126
  "find it useful, please consider making a donation."
127
  msgstr ""
128
 
129
- #: contact-form-7/admin/admin.php:377
130
  msgid "http://contactform7.com/donate/"
131
  msgstr ""
132
 
133
- #: contact-form-7/admin/admin.php:377
134
  msgid "Donate"
135
  msgstr ""
136
 
137
- #: contact-form-7/admin/admin.php:381
138
  msgid "Get Started"
139
  msgstr ""
140
 
141
- #: contact-form-7/admin/admin.php:383
142
  msgid "http://contactform7.com/getting-started-with-contact-form-7/"
143
  msgstr ""
144
 
145
- #: contact-form-7/admin/admin.php:383
146
  msgid "Getting Started with Contact Form 7"
147
  msgstr ""
148
 
149
- #: contact-form-7/admin/admin.php:384
150
  msgid "http://contactform7.com/admin-screen/"
151
  msgstr ""
152
 
153
- #: contact-form-7/admin/admin.php:384
154
  msgid "Admin Screen"
155
  msgstr ""
156
 
157
- #: contact-form-7/admin/admin.php:385
158
  msgid "http://contactform7.com/tag-syntax/"
159
  msgstr ""
160
 
161
- #: contact-form-7/admin/admin.php:385
162
  msgid "How Tags Work"
163
  msgstr ""
164
 
165
- #: contact-form-7/admin/admin.php:386
166
  msgid "http://contactform7.com/setting-up-mail/"
167
  msgstr ""
168
 
169
- #: contact-form-7/admin/admin.php:386
170
  msgid "Setting Up Mail"
171
  msgstr ""
172
 
173
- #: contact-form-7/admin/admin.php:391
174
  msgid "Did You Know?"
175
  msgstr ""
176
 
177
- #: contact-form-7/admin/admin.php:393
178
  msgid "http://contactform7.com/spam-filtering-with-akismet/"
179
  msgstr ""
180
 
181
- #: contact-form-7/admin/admin.php:393
182
  msgid "Spam Filtering with Akismet"
183
  msgstr ""
184
 
185
- #: contact-form-7/admin/admin.php:394
186
  msgid "http://contactform7.com/save-submitted-messages-with-flamingo/"
187
  msgstr ""
188
 
189
- #: contact-form-7/admin/admin.php:394
190
  msgid "Save Messages with Flamingo"
191
  msgstr ""
192
 
193
- #: contact-form-7/admin/admin.php:395
194
  msgid "http://contactform7.com/selectable-recipient-with-pipes/"
195
  msgstr ""
196
 
197
- #: contact-form-7/admin/admin.php:395
198
  msgid "Selectable Recipient with Pipes"
199
  msgstr ""
200
 
201
- #: contact-form-7/admin/admin.php:396
202
  msgid ""
203
  "http://contactform7.com/tracking-form-submissions-with-google-analytics/"
204
  msgstr ""
205
 
206
- #: contact-form-7/admin/admin.php:396
207
  msgid "Tracking with Google Analytics"
208
  msgstr ""
209
 
210
- #: contact-form-7/admin/admin.php:441
211
  msgid "You are not allowed to edit this contact form."
212
  msgstr ""
213
 
214
- #: contact-form-7/admin/edit-contact-form.php:50
 
 
 
 
 
215
  msgid "Enter title here"
216
  msgstr ""
217
 
218
- #: contact-form-7/admin/edit-contact-form.php:72
219
  msgid ""
220
  "Copy this shortcode and paste it into your post, page, or text widget "
221
  "content:"
222
  msgstr ""
223
 
224
- #: contact-form-7/admin/edit-contact-form.php:79
225
  msgid "You can also use this old-style shortcode:"
226
  msgstr ""
227
 
228
- #: contact-form-7/admin/edit-contact-form.php:93
229
  msgid "Status"
230
  msgstr ""
231
 
232
- #: contact-form-7/admin/edit-contact-form.php:100
233
- #: contact-form-7/admin/edit-contact-form.php:123
234
- #: contact-form-7/admin/edit-contact-form.php:188
235
- msgid "Save"
236
- msgstr ""
237
-
238
- #: contact-form-7/admin/edit-contact-form.php:107
239
  #: contact-form-7/admin/includes/class-contact-forms-list-table.php:116
240
  msgid "Duplicate"
241
  msgstr ""
242
 
243
- #: contact-form-7/admin/edit-contact-form.php:118
244
  #: contact-form-7/admin/includes/class-contact-forms-list-table.php:83
245
  msgid "Delete"
246
  msgstr ""
247
 
248
- #: contact-form-7/admin/edit-contact-form.php:118
249
  msgid ""
250
  "You are about to delete this contact form.\n"
251
  " 'Cancel' to stop, 'OK' to delete."
252
  msgstr ""
253
 
254
- #: contact-form-7/admin/edit-contact-form.php:132
255
  msgid "Information"
256
  msgstr ""
257
 
258
- #: contact-form-7/admin/edit-contact-form.php:135
259
- #: contact-form-7/admin/includes/help-tabs.php:90
260
  msgid "http://contactform7.com/docs/"
261
  msgstr ""
262
 
263
- #: contact-form-7/admin/edit-contact-form.php:135
264
- #: contact-form-7/admin/includes/help-tabs.php:90
265
  msgid "Docs"
266
  msgstr ""
267
 
268
- #: contact-form-7/admin/edit-contact-form.php:136
269
- #: contact-form-7/admin/includes/help-tabs.php:91
270
  msgid "http://contactform7.com/faq/"
271
  msgstr ""
272
 
273
- #: contact-form-7/admin/edit-contact-form.php:136
274
- #: contact-form-7/admin/includes/help-tabs.php:91
275
  msgid "FAQ"
276
  msgstr ""
277
 
278
- #: contact-form-7/admin/edit-contact-form.php:137
279
- #: contact-form-7/admin/includes/help-tabs.php:92
280
  msgid "http://contactform7.com/support/"
281
  msgstr ""
282
 
283
- #: contact-form-7/admin/edit-contact-form.php:137
284
- #: contact-form-7/admin/includes/help-tabs.php:92
285
  msgid "Support"
286
  msgstr ""
287
 
288
- #: contact-form-7/admin/edit-contact-form.php:154
289
  #: contact-form-7/admin/includes/editor.php:45
290
  msgid "Form"
291
  msgstr ""
292
 
293
- #: contact-form-7/admin/edit-contact-form.php:157
294
  #: contact-form-7/admin/includes/editor.php:72
295
  msgid "Mail"
296
  msgstr ""
297
 
298
- #: contact-form-7/admin/edit-contact-form.php:160
299
  #: contact-form-7/admin/includes/editor.php:167
300
  msgid "Messages"
301
  msgstr ""
302
 
303
- #: contact-form-7/admin/edit-contact-form.php:171
304
  #, php-format
305
  msgid "Additional Settings (%d)"
306
  msgstr ""
307
 
308
- #: contact-form-7/admin/edit-contact-form.php:173
309
  #: contact-form-7/admin/includes/editor.php:190
310
  #: contact-form-7/admin/includes/editor.php:195
311
  msgid "Additional Settings"
@@ -413,6 +421,7 @@ msgstr ""
413
 
414
  #: contact-form-7/admin/includes/help-tabs.php:16
415
  #: contact-form-7/admin/includes/help-tabs.php:39
 
416
  msgid "Overview"
417
  msgstr ""
418
 
@@ -432,7 +441,7 @@ msgstr ""
432
  msgid "Mail-tags"
433
  msgstr ""
434
 
435
- #: contact-form-7/admin/includes/help-tabs.php:61
436
  msgid ""
437
  "On this screen, you can manage contact forms provided by Contact Form 7. You "
438
  "can manage an unlimited number of contact forms. Each contact form has a "
@@ -441,78 +450,78 @@ msgid ""
441
  "target."
442
  msgstr ""
443
 
444
- #: contact-form-7/admin/includes/help-tabs.php:63
445
  msgid ""
446
  "Hovering over a row in the contact forms list will display action links that "
447
  "allow you to manage your contact form. You can perform the following actions:"
448
  msgstr ""
449
 
450
- #: contact-form-7/admin/includes/help-tabs.php:64
451
  msgid ""
452
  "<strong>Edit</strong> - Navigates to the editing screen for that contact "
453
  "form. You can also reach that screen by clicking on the contact form title."
454
  msgstr ""
455
 
456
- #: contact-form-7/admin/includes/help-tabs.php:65
457
  msgid ""
458
  "<strong>Duplicate</strong> - Clones that contact form. A cloned contact form "
459
  "inherits all content from the original, but has a different ID."
460
  msgstr ""
461
 
462
- #: contact-form-7/admin/includes/help-tabs.php:67
463
  msgid ""
464
  "You can add a new contact form on this screen. You can create a contact form "
465
  "in your language, which is set WordPress local settings, or in a language "
466
  "that you select from available options."
467
  msgstr ""
468
 
469
- #: contact-form-7/admin/includes/help-tabs.php:69
470
  msgid ""
471
  "On this screen, you can edit a contact form. A contact form is comprised of "
472
  "the following components:"
473
  msgstr ""
474
 
475
- #: contact-form-7/admin/includes/help-tabs.php:70
476
  msgid ""
477
  "<strong>Title</strong> is the title of a contact form. This title is only "
478
  "used for labeling a contact form, and can be edited."
479
  msgstr ""
480
 
481
- #: contact-form-7/admin/includes/help-tabs.php:71
482
  msgid ""
483
  "<strong>Form</strong> is a content of HTML form. You can use arbitrary HTML, "
484
  "which is allowed inside a form element. You can also use Contact Form "
485
  "7&#8217;s form-tags here."
486
  msgstr ""
487
 
488
- #: contact-form-7/admin/includes/help-tabs.php:72
489
  msgid ""
490
  "<strong>Mail</strong> manages a mail template (headers and message body) "
491
  "that this contact form will send when users submit it. You can use Contact "
492
  "Form 7&#8217;s mail-tags here."
493
  msgstr ""
494
 
495
- #: contact-form-7/admin/includes/help-tabs.php:73
496
  msgid ""
497
  "<strong>Mail (2)</strong> is an additional mail template that works similar "
498
  "to Mail. Mail (2) is different in that it is sent only when Mail has been "
499
  "sent successfully."
500
  msgstr ""
501
 
502
- #: contact-form-7/admin/includes/help-tabs.php:74
503
  msgid ""
504
  "In <strong>Messages</strong>, you can edit various types of messages used "
505
  "for this contact form. These messages are relatively short messages, like a "
506
  "validation error message you see when you leave a required field blank."
507
  msgstr ""
508
 
509
- #: contact-form-7/admin/includes/help-tabs.php:75
510
  msgid ""
511
  "<strong>Additional Settings</strong> provides a place where you can "
512
  "customize the behavior of this contact form by adding code snippets."
513
  msgstr ""
514
 
515
- #: contact-form-7/admin/includes/help-tabs.php:77
516
  msgid ""
517
  "A form-tag is a short code enclosed in square brackets used in a form "
518
  "content. A form-tag generally represents an input field, and its components "
@@ -522,21 +531,21 @@ msgid ""
522
  "fields, CAPTCHAs, and quiz fields."
523
  msgstr ""
524
 
525
- #: contact-form-7/admin/includes/help-tabs.php:78
526
  msgid ""
527
  "While form-tags have a comparatively complex syntax, you don&#8217;t need to "
528
  "know the syntax to add form-tags because you can use the straightforward tag "
529
  "generator (<strong>Generate Tag</strong> button on this screen)."
530
  msgstr ""
531
 
532
- #: contact-form-7/admin/includes/help-tabs.php:80
533
  msgid ""
534
  "A mail-tag is also a short code enclosed in square brackets that you can use "
535
  "in every Mail and Mail (2) field. A mail-tag represents a user input value "
536
  "through an input field of a corresponding form-tag."
537
  msgstr ""
538
 
539
- #: contact-form-7/admin/includes/help-tabs.php:81
540
  msgid ""
541
  "There are also special mail-tags that have specific names, but don&#8217;t "
542
  "have corresponding form-tags. They are used to represent meta information of "
@@ -544,7 +553,27 @@ msgid ""
544
  "page."
545
  msgstr ""
546
 
547
- #: contact-form-7/admin/includes/help-tabs.php:89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
548
  msgid "For more information:"
549
  msgstr ""
550
 
@@ -680,7 +709,7 @@ msgid ""
680
  "<strong>no longer accessible</strong>. Use <code>%2$s</code> method instead."
681
  msgstr ""
682
 
683
- #: contact-form-7/includes/controller.php:211
684
  msgid "Sending ..."
685
  msgstr ""
686
 
@@ -1527,7 +1556,7 @@ msgid ""
1527
  "%s."
1528
  msgstr ""
1529
 
1530
- #: contact-form-7/settings.php:72
1531
  #, php-format
1532
  msgid "Contact form %d"
1533
  msgstr ""
1
+ #, fuzzy
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Contact Form 7\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2015-06-05 19:06+0900\n"
7
  "PO-Revision-Date: 2015-05-18 21:49+0900\n"
8
  "Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
9
  "Language-Team: \n"
14
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
15
  "X-Poedit-Basepath: ../..\n"
16
  "Plural-Forms: nplurals=1; plural=0;\n"
17
+ "X-Generator: Poedit 1.8.1\n"
18
  "X-Poedit-SearchPath-0: contact-form-7\n"
19
 
20
  #: contact-form-7/wp-contact-form-7.php:5
21
  msgid "Just another contact form plugin. Simple but flexible."
22
  msgstr ""
23
 
24
+ #: contact-form-7/admin/admin.php:10 contact-form-7/modules/flamingo.php:134
25
  msgid "Contact Form 7"
26
  msgstr ""
27
 
28
+ #: contact-form-7/admin/admin.php:11
29
  msgid "Contact"
30
  msgstr ""
31
 
32
+ #: contact-form-7/admin/admin.php:16
33
+ #: contact-form-7/admin/edit-contact-form.php:38
34
  msgid "Edit Contact Form"
35
  msgstr ""
36
 
37
+ #: contact-form-7/admin/admin.php:17 contact-form-7/admin/admin.php:178
38
+ #: contact-form-7/admin/admin.php:236
39
  #: contact-form-7/includes/contact-form.php:29
40
  msgid "Contact Forms"
41
  msgstr ""
42
 
43
+ #: contact-form-7/admin/admin.php:24 contact-form-7/admin/admin.php:280
44
+ #: contact-form-7/admin/edit-contact-form.php:36
45
  msgid "Add New Contact Form"
46
  msgstr ""
47
 
48
+ #: contact-form-7/admin/admin.php:25 contact-form-7/admin/admin.php:239
49
+ #: contact-form-7/admin/admin.php:285 contact-form-7/admin/admin.php:297
50
+ #: contact-form-7/admin/edit-contact-form.php:41
51
  msgid "Add New"
52
  msgstr ""
53
 
54
+ #: contact-form-7/admin/admin.php:35 contact-form-7/admin/admin.php:322
55
+ msgid "Integration with Other Services"
56
+ msgstr ""
57
+
58
+ #: contact-form-7/admin/admin.php:36
59
+ msgid "Integration"
60
+ msgstr ""
61
+
62
+ #: contact-form-7/admin/admin.php:66 contact-form-7/admin/admin.php:88
63
  msgid "You are not allowed to edit this item."
64
  msgstr ""
65
 
66
+ #: contact-form-7/admin/admin.php:127
67
  msgid "You are not allowed to delete this item."
68
  msgstr ""
69
 
70
+ #: contact-form-7/admin/admin.php:130
71
  msgid "Error in deleting."
72
  msgstr ""
73
 
74
+ #: contact-form-7/admin/admin.php:216
75
  msgid "The changes you made will be lost if you navigate away from this page."
76
  msgstr ""
77
 
78
+ #: contact-form-7/admin/admin.php:244
79
  #, php-format
80
  msgid "Search results for &#8220;%s&#8221;"
81
  msgstr ""
82
 
83
+ #: contact-form-7/admin/admin.php:253
84
  msgid "Search Contact Forms"
85
  msgstr ""
86
 
87
+ #: contact-form-7/admin/admin.php:284
88
  #, php-format
89
  msgid "Use the default language (%s)"
90
  msgstr ""
91
 
92
+ #: contact-form-7/admin/admin.php:288
93
  msgid "Or"
94
  msgstr ""
95
 
96
+ #: contact-form-7/admin/admin.php:292
97
  msgid "(select language)"
98
  msgstr ""
99
 
100
+ #: contact-form-7/admin/admin.php:349
101
  msgid "Contact form created."
102
  msgstr ""
103
 
104
+ #: contact-form-7/admin/admin.php:351
105
  msgid "Contact form saved."
106
  msgstr ""
107
 
108
+ #: contact-form-7/admin/admin.php:353
109
  msgid "Contact form deleted."
110
  msgstr ""
111
 
112
+ #: contact-form-7/admin/admin.php:370
113
  msgid "Settings"
114
  msgstr ""
115
 
116
+ #: contact-form-7/admin/admin.php:393
117
  #, php-format
118
  msgid ""
119
  "<strong>Contact Form 7 %1$s requires WordPress %2$s or higher.</strong> "
120
  "Please <a href=\"%3$s\">update WordPress</a> first."
121
  msgstr ""
122
 
123
+ #: contact-form-7/admin/admin.php:419
124
  msgid "Dismiss"
125
  msgstr ""
126
 
127
+ #: contact-form-7/admin/admin.php:424
128
  msgid "Contact Form 7 Needs Your Support"
129
  msgstr ""
130
 
131
+ #: contact-form-7/admin/admin.php:425
132
  msgid ""
133
  "It is hard to continue development and support for this plugin without "
134
  "contributions from users like you. If you enjoy using Contact Form 7 and "
135
  "find it useful, please consider making a donation."
136
  msgstr ""
137
 
138
+ #: contact-form-7/admin/admin.php:426
139
  msgid "http://contactform7.com/donate/"
140
  msgstr ""
141
 
142
+ #: contact-form-7/admin/admin.php:426
143
  msgid "Donate"
144
  msgstr ""
145
 
146
+ #: contact-form-7/admin/admin.php:430
147
  msgid "Get Started"
148
  msgstr ""
149
 
150
+ #: contact-form-7/admin/admin.php:432
151
  msgid "http://contactform7.com/getting-started-with-contact-form-7/"
152
  msgstr ""
153
 
154
+ #: contact-form-7/admin/admin.php:432
155
  msgid "Getting Started with Contact Form 7"
156
  msgstr ""
157
 
158
+ #: contact-form-7/admin/admin.php:433
159
  msgid "http://contactform7.com/admin-screen/"
160
  msgstr ""
161
 
162
+ #: contact-form-7/admin/admin.php:433
163
  msgid "Admin Screen"
164
  msgstr ""
165
 
166
+ #: contact-form-7/admin/admin.php:434
167
  msgid "http://contactform7.com/tag-syntax/"
168
  msgstr ""
169
 
170
+ #: contact-form-7/admin/admin.php:434
171
  msgid "How Tags Work"
172
  msgstr ""
173
 
174
+ #: contact-form-7/admin/admin.php:435
175
  msgid "http://contactform7.com/setting-up-mail/"
176
  msgstr ""
177
 
178
+ #: contact-form-7/admin/admin.php:435
179
  msgid "Setting Up Mail"
180
  msgstr ""
181
 
182
+ #: contact-form-7/admin/admin.php:440
183
  msgid "Did You Know?"
184
  msgstr ""
185
 
186
+ #: contact-form-7/admin/admin.php:442
187
  msgid "http://contactform7.com/spam-filtering-with-akismet/"
188
  msgstr ""
189
 
190
+ #: contact-form-7/admin/admin.php:442
191
  msgid "Spam Filtering with Akismet"
192
  msgstr ""
193
 
194
+ #: contact-form-7/admin/admin.php:443
195
  msgid "http://contactform7.com/save-submitted-messages-with-flamingo/"
196
  msgstr ""
197
 
198
+ #: contact-form-7/admin/admin.php:443
199
  msgid "Save Messages with Flamingo"
200
  msgstr ""
201
 
202
+ #: contact-form-7/admin/admin.php:444
203
  msgid "http://contactform7.com/selectable-recipient-with-pipes/"
204
  msgstr ""
205
 
206
+ #: contact-form-7/admin/admin.php:444
207
  msgid "Selectable Recipient with Pipes"
208
  msgstr ""
209
 
210
+ #: contact-form-7/admin/admin.php:445
211
  msgid ""
212
  "http://contactform7.com/tracking-form-submissions-with-google-analytics/"
213
  msgstr ""
214
 
215
+ #: contact-form-7/admin/admin.php:445
216
  msgid "Tracking with Google Analytics"
217
  msgstr ""
218
 
219
+ #: contact-form-7/admin/admin.php:490
220
  msgid "You are not allowed to edit this contact form."
221
  msgstr ""
222
 
223
+ #: contact-form-7/admin/edit-contact-form.php:26
224
+ #: contact-form-7/admin/edit-contact-form.php:124
225
+ msgid "Save"
226
+ msgstr ""
227
+
228
+ #: contact-form-7/admin/edit-contact-form.php:74
229
  msgid "Enter title here"
230
  msgstr ""
231
 
232
+ #: contact-form-7/admin/edit-contact-form.php:96
233
  msgid ""
234
  "Copy this shortcode and paste it into your post, page, or text widget "
235
  "content:"
236
  msgstr ""
237
 
238
+ #: contact-form-7/admin/edit-contact-form.php:103
239
  msgid "You can also use this old-style shortcode:"
240
  msgstr ""
241
 
242
+ #: contact-form-7/admin/edit-contact-form.php:117
243
  msgid "Status"
244
  msgstr ""
245
 
246
+ #: contact-form-7/admin/edit-contact-form.php:131
 
 
 
 
 
 
247
  #: contact-form-7/admin/includes/class-contact-forms-list-table.php:116
248
  msgid "Duplicate"
249
  msgstr ""
250
 
251
+ #: contact-form-7/admin/edit-contact-form.php:142
252
  #: contact-form-7/admin/includes/class-contact-forms-list-table.php:83
253
  msgid "Delete"
254
  msgstr ""
255
 
256
+ #: contact-form-7/admin/edit-contact-form.php:142
257
  msgid ""
258
  "You are about to delete this contact form.\n"
259
  " 'Cancel' to stop, 'OK' to delete."
260
  msgstr ""
261
 
262
+ #: contact-form-7/admin/edit-contact-form.php:156
263
  msgid "Information"
264
  msgstr ""
265
 
266
+ #: contact-form-7/admin/edit-contact-form.php:159
267
+ #: contact-form-7/admin/includes/help-tabs.php:103
268
  msgid "http://contactform7.com/docs/"
269
  msgstr ""
270
 
271
+ #: contact-form-7/admin/edit-contact-form.php:159
272
+ #: contact-form-7/admin/includes/help-tabs.php:103
273
  msgid "Docs"
274
  msgstr ""
275
 
276
+ #: contact-form-7/admin/edit-contact-form.php:160
277
+ #: contact-form-7/admin/includes/help-tabs.php:104
278
  msgid "http://contactform7.com/faq/"
279
  msgstr ""
280
 
281
+ #: contact-form-7/admin/edit-contact-form.php:160
282
+ #: contact-form-7/admin/includes/help-tabs.php:104
283
  msgid "FAQ"
284
  msgstr ""
285
 
286
+ #: contact-form-7/admin/edit-contact-form.php:161
287
+ #: contact-form-7/admin/includes/help-tabs.php:105
288
  msgid "http://contactform7.com/support/"
289
  msgstr ""
290
 
291
+ #: contact-form-7/admin/edit-contact-form.php:161
292
+ #: contact-form-7/admin/includes/help-tabs.php:105
293
  msgid "Support"
294
  msgstr ""
295
 
296
+ #: contact-form-7/admin/edit-contact-form.php:178
297
  #: contact-form-7/admin/includes/editor.php:45
298
  msgid "Form"
299
  msgstr ""
300
 
301
+ #: contact-form-7/admin/edit-contact-form.php:181
302
  #: contact-form-7/admin/includes/editor.php:72
303
  msgid "Mail"
304
  msgstr ""
305
 
306
+ #: contact-form-7/admin/edit-contact-form.php:184
307
  #: contact-form-7/admin/includes/editor.php:167
308
  msgid "Messages"
309
  msgstr ""
310
 
311
+ #: contact-form-7/admin/edit-contact-form.php:195
312
  #, php-format
313
  msgid "Additional Settings (%d)"
314
  msgstr ""
315
 
316
+ #: contact-form-7/admin/edit-contact-form.php:197
317
  #: contact-form-7/admin/includes/editor.php:190
318
  #: contact-form-7/admin/includes/editor.php:195
319
  msgid "Additional Settings"
421
 
422
  #: contact-form-7/admin/includes/help-tabs.php:16
423
  #: contact-form-7/admin/includes/help-tabs.php:39
424
+ #: contact-form-7/admin/includes/help-tabs.php:58
425
  msgid "Overview"
426
  msgstr ""
427
 
441
  msgid "Mail-tags"
442
  msgstr ""
443
 
444
+ #: contact-form-7/admin/includes/help-tabs.php:70
445
  msgid ""
446
  "On this screen, you can manage contact forms provided by Contact Form 7. You "
447
  "can manage an unlimited number of contact forms. Each contact form has a "
450
  "target."
451
  msgstr ""
452
 
453
+ #: contact-form-7/admin/includes/help-tabs.php:72
454
  msgid ""
455
  "Hovering over a row in the contact forms list will display action links that "
456
  "allow you to manage your contact form. You can perform the following actions:"
457
  msgstr ""
458
 
459
+ #: contact-form-7/admin/includes/help-tabs.php:73
460
  msgid ""
461
  "<strong>Edit</strong> - Navigates to the editing screen for that contact "
462
  "form. You can also reach that screen by clicking on the contact form title."
463
  msgstr ""
464
 
465
+ #: contact-form-7/admin/includes/help-tabs.php:74
466
  msgid ""
467
  "<strong>Duplicate</strong> - Clones that contact form. A cloned contact form "
468
  "inherits all content from the original, but has a different ID."
469
  msgstr ""
470
 
471
+ #: contact-form-7/admin/includes/help-tabs.php:76
472
  msgid ""
473
  "You can add a new contact form on this screen. You can create a contact form "
474
  "in your language, which is set WordPress local settings, or in a language "
475
  "that you select from available options."
476
  msgstr ""
477
 
478
+ #: contact-form-7/admin/includes/help-tabs.php:78
479
  msgid ""
480
  "On this screen, you can edit a contact form. A contact form is comprised of "
481
  "the following components:"
482
  msgstr ""
483
 
484
+ #: contact-form-7/admin/includes/help-tabs.php:79
485
  msgid ""
486
  "<strong>Title</strong> is the title of a contact form. This title is only "
487
  "used for labeling a contact form, and can be edited."
488
  msgstr ""
489
 
490
+ #: contact-form-7/admin/includes/help-tabs.php:80
491
  msgid ""
492
  "<strong>Form</strong> is a content of HTML form. You can use arbitrary HTML, "
493
  "which is allowed inside a form element. You can also use Contact Form "
494
  "7&#8217;s form-tags here."
495
  msgstr ""
496
 
497
+ #: contact-form-7/admin/includes/help-tabs.php:81
498
  msgid ""
499
  "<strong>Mail</strong> manages a mail template (headers and message body) "
500
  "that this contact form will send when users submit it. You can use Contact "
501
  "Form 7&#8217;s mail-tags here."
502
  msgstr ""
503
 
504
+ #: contact-form-7/admin/includes/help-tabs.php:82
505
  msgid ""
506
  "<strong>Mail (2)</strong> is an additional mail template that works similar "
507
  "to Mail. Mail (2) is different in that it is sent only when Mail has been "
508
  "sent successfully."
509
  msgstr ""
510
 
511
+ #: contact-form-7/admin/includes/help-tabs.php:83
512
  msgid ""
513
  "In <strong>Messages</strong>, you can edit various types of messages used "
514
  "for this contact form. These messages are relatively short messages, like a "
515
  "validation error message you see when you leave a required field blank."
516
  msgstr ""
517
 
518
+ #: contact-form-7/admin/includes/help-tabs.php:84
519
  msgid ""
520
  "<strong>Additional Settings</strong> provides a place where you can "
521
  "customize the behavior of this contact form by adding code snippets."
522
  msgstr ""
523
 
524
+ #: contact-form-7/admin/includes/help-tabs.php:86
525
  msgid ""
526
  "A form-tag is a short code enclosed in square brackets used in a form "
527
  "content. A form-tag generally represents an input field, and its components "
531
  "fields, CAPTCHAs, and quiz fields."
532
  msgstr ""
533
 
534
+ #: contact-form-7/admin/includes/help-tabs.php:87
535
  msgid ""
536
  "While form-tags have a comparatively complex syntax, you don&#8217;t need to "
537
  "know the syntax to add form-tags because you can use the straightforward tag "
538
  "generator (<strong>Generate Tag</strong> button on this screen)."
539
  msgstr ""
540
 
541
+ #: contact-form-7/admin/includes/help-tabs.php:89
542
  msgid ""
543
  "A mail-tag is also a short code enclosed in square brackets that you can use "
544
  "in every Mail and Mail (2) field. A mail-tag represents a user input value "
545
  "through an input field of a corresponding form-tag."
546
  msgstr ""
547
 
548
+ #: contact-form-7/admin/includes/help-tabs.php:90
549
  msgid ""
550
  "There are also special mail-tags that have specific names, but don&#8217;t "
551
  "have corresponding form-tags. They are used to represent meta information of "
553
  "page."
554
  msgstr ""
555
 
556
+ #: contact-form-7/admin/includes/help-tabs.php:92
557
+ msgid ""
558
+ "On this screen, you can manage services that are available through Contact "
559
+ "Form 7. Using API will allow you to collaborate with any services that are "
560
+ "available."
561
+ msgstr ""
562
+
563
+ #: contact-form-7/admin/includes/help-tabs.php:93
564
+ msgid ""
565
+ "You may need to first sign up for an account with the service that you plan "
566
+ "to use. When you do so, you would need to authorize Contact Form 7 to access "
567
+ "the service with your account."
568
+ msgstr ""
569
+
570
+ #: contact-form-7/admin/includes/help-tabs.php:94
571
+ msgid ""
572
+ "Any information you provide will not be shared with service providers "
573
+ "without your authorization."
574
+ msgstr ""
575
+
576
+ #: contact-form-7/admin/includes/help-tabs.php:102
577
  msgid "For more information:"
578
  msgstr ""
579
 
709
  "<strong>no longer accessible</strong>. Use <code>%2$s</code> method instead."
710
  msgstr ""
711
 
712
+ #: contact-form-7/includes/controller.php:169
713
  msgid "Sending ..."
714
  msgstr ""
715
 
1556
  "%s."
1557
  msgstr ""
1558
 
1559
+ #: contact-form-7/settings.php:78
1560
  #, php-format
1561
  msgid "Contact form %d"
1562
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://contactform7.com/donate/
4
  Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
5
  Requires at least: 4.1
6
  Tested up to: 4.2.2
7
- Stable tag: 4.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -125,6 +125,12 @@ Do you have questions or issues with Contact Form 7? Use these support channels
125
 
126
  For more information, see [Releases](http://contactform7.com/category/releases/).
127
 
 
 
 
 
 
 
128
  = 4.1.2 =
129
 
130
  * Added role="form" to wrapper div elements.
4
  Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
5
  Requires at least: 4.1
6
  Tested up to: 4.2.2
7
+ Stable tag: 4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
125
 
126
  For more information, see [Releases](http://contactform7.com/category/releases/).
127
 
128
+ = 4.2 =
129
+
130
+ * Renewal of the editor screen.
131
+ * Translation for Slovene has been updated.
132
+ * WordPress 4.1 or higher is required.
133
+
134
  = 4.1.2 =
135
 
136
  * Added role="form" to wrapper div elements.
settings.php CHANGED
@@ -10,17 +10,23 @@ require_once WPCF7_PLUGIN_DIR . '/includes/contact-form.php';
10
  require_once WPCF7_PLUGIN_DIR . '/includes/mail.php';
11
  require_once WPCF7_PLUGIN_DIR . '/includes/submission.php';
12
  require_once WPCF7_PLUGIN_DIR . '/includes/upgrade.php';
 
13
 
14
- if ( is_admin() )
15
  require_once WPCF7_PLUGIN_DIR . '/admin/admin.php';
16
- else
17
  require_once WPCF7_PLUGIN_DIR . '/includes/controller.php';
 
18
 
19
  add_action( 'plugins_loaded', 'wpcf7' );
20
 
21
  function wpcf7() {
22
  wpcf7_load_textdomain();
23
  wpcf7_load_modules();
 
 
 
 
24
  }
25
 
26
  add_action( 'init', 'wpcf7_init' );
@@ -73,5 +79,3 @@ function wpcf7_install() {
73
 
74
  $contact_form->save();
75
  }
76
-
77
- ?>
10
  require_once WPCF7_PLUGIN_DIR . '/includes/mail.php';
11
  require_once WPCF7_PLUGIN_DIR . '/includes/submission.php';
12
  require_once WPCF7_PLUGIN_DIR . '/includes/upgrade.php';
13
+ require_once WPCF7_PLUGIN_DIR . '/includes/integration.php';
14
 
15
+ if ( is_admin() ) {
16
  require_once WPCF7_PLUGIN_DIR . '/admin/admin.php';
17
+ } else {
18
  require_once WPCF7_PLUGIN_DIR . '/includes/controller.php';
19
+ }
20
 
21
  add_action( 'plugins_loaded', 'wpcf7' );
22
 
23
  function wpcf7() {
24
  wpcf7_load_textdomain();
25
  wpcf7_load_modules();
26
+
27
+ /* Shortcodes */
28
+ add_shortcode( 'contact-form-7', 'wpcf7_contact_form_tag_func' );
29
+ add_shortcode( 'contact-form', 'wpcf7_contact_form_tag_func' );
30
  }
31
 
32
  add_action( 'init', 'wpcf7_init' );
79
 
80
  $contact_form->save();
81
  }
 
 
wp-contact-form-7.php CHANGED
@@ -7,7 +7,7 @@ Author: Takayuki Miyoshi
7
  Author URI: http://ideasilo.wordpress.com/
8
  Text Domain: contact-form-7
9
  Domain Path: /languages/
10
- Version: 4.2-beta
11
  */
12
 
13
  /* Copyright 2007-2015 Takayuki Miyoshi (email: takayukister at gmail.com)
@@ -27,7 +27,7 @@ Version: 4.2-beta
27
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
  */
29
 
30
- define( 'WPCF7_VERSION', '4.2-beta' );
31
 
32
  define( 'WPCF7_REQUIRED_WP_VERSION', '4.1' );
33
 
7
  Author URI: http://ideasilo.wordpress.com/
8
  Text Domain: contact-form-7
9
  Domain Path: /languages/
10
+ Version: 4.2
11
  */
12
 
13
  /* Copyright 2007-2015 Takayuki Miyoshi (email: takayukister at gmail.com)
27
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
  */
29
 
30
+ define( 'WPCF7_VERSION', '4.2' );
31
 
32
  define( 'WPCF7_REQUIRED_WP_VERSION', '4.1' );
33