Contact Listing for WP Job Manager - Version 1.2.1

Version Description

Download this release

Release Info

Developer adampickering
Plugin Icon wp plugin Contact Listing for WP Job Manager
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

includes/forms/ninjaforms.php CHANGED
@@ -120,7 +120,18 @@ class Astoundify_Job_Manager_Contact_Listing_Form_NinjaForms extends Astoundify_
120
  $_forms = array();
121
 
122
  if ( class_exists( 'Ninja_Forms' ) ) {
123
- $_forms = Ninja_Forms()->forms->get_all();
 
 
 
 
 
 
 
 
 
 
 
124
  } elseif ( function_exists( 'ninja_forms_get_all_forms' ) ) {
125
  $_forms = ninja_forms_get_all_forms();
126
  }
@@ -130,6 +141,7 @@ class Astoundify_Job_Manager_Contact_Listing_Form_NinjaForms extends Astoundify_
130
  foreach ( $_forms as $_form ) {
131
  $forms[ $_form['id'] ] = $_form['data']['form_title'];
132
  }
 
133
  }
134
 
135
  return $forms;
120
  $_forms = array();
121
 
122
  if ( class_exists( 'Ninja_Forms' ) ) {
123
+
124
+ $f = Ninja_Forms()->forms()->get_all();
125
+
126
+ $_forms = array();
127
+ $x = 0;
128
+ foreach ( $f as $form_id ) {
129
+ $_forms[ $x ]['id'] = $form_id;
130
+ $_forms[ $x ]['data'] = Ninja_Forms()->form( $form_id )->get_all_settings();
131
+ $_forms[ $x ]['name'] = Ninja_Forms()->form( $form_id )->get_setting( 'form_title' );
132
+ $x++;
133
+ }
134
+
135
  } elseif ( function_exists( 'ninja_forms_get_all_forms' ) ) {
136
  $_forms = ninja_forms_get_all_forms();
137
  }
141
  foreach ( $_forms as $_form ) {
142
  $forms[ $_form['id'] ] = $_form['data']['form_title'];
143
  }
144
+
145
  }
146
 
147
  return $forms;
languages/wp-job-manager-contact-listing.pot ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2016 Astoundify
2
+ # This file is distributed under the same license as the WP Job Manager - Contact Listing package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: WP Job Manager - Contact Listing 1.2.1\n"
6
+ "Report-Msgid-Bugs-To: "
7
+ "https://wordpress.org/support/plugin/wp-job-manager-contact-listing\n"
8
+ "POT-Creation-Date: 2016-06-21 18:15:30+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=utf-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "X-Generator: grunt-wp-i18n 0.5.4\n"
16
+
17
+ #: includes/class-wp-job-manager-contact-listing-form.php:113
18
+ msgid "%s a %s Form"
19
+ msgstr ""
20
+
21
+ #: includes/forms/cf7.php:107 includes/forms/gravityforms.php:104
22
+ #: includes/forms/ninjaforms.php:119
23
+ msgid "Please select a form"
24
+ msgstr ""
25
+
26
+ #. Plugin Name of the plugin/theme
27
+ msgid "WP Job Manager - Contact Listing"
28
+ msgstr ""
29
+
30
+ #. Plugin URI of the plugin/theme
31
+ msgid "http://wordpress.org/plugins/wp-job-manager-contact-listing/"
32
+ msgstr ""
33
+
34
+ #. Description of the plugin/theme
35
+ msgid ""
36
+ "Contact job listings or resume listings with your choice of Gravity Forms, "
37
+ "Ninja Forms, or Contact Form 7"
38
+ msgstr ""
39
+
40
+ #. Author of the plugin/theme
41
+ msgid "Astoundify"
42
+ msgstr ""
43
+
44
+ #. Author URI of the plugin/theme
45
+ msgid "http://astoundify.com"
46
+ msgstr ""
readme.txt CHANGED
@@ -7,7 +7,7 @@ Contributors: Astoundify
7
  Tags: job, job listing, job apply, gravity forms, wp job manager, gravity forms, gravityforms, ninja forms, ninjaforms, contact form 7, cf7
8
  Requires at least: 4.4
9
  Tested up to: 4.5.*
10
- Stable Tag: 1.2.0
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
 
@@ -75,9 +75,13 @@ If you have purchased Jobify and still have questions, please post on our dedica
75
 
76
  == Changelog ==
77
 
 
 
 
 
78
  = 1.2.0: June 16, 2016 =
79
 
80
- * Ninja Forms 3 compatibility.
81
 
82
  = 1.1.0: February 25, 2016 =
83
 
7
  Tags: job, job listing, job apply, gravity forms, wp job manager, gravity forms, gravityforms, ninja forms, ninjaforms, contact form 7, cf7
8
  Requires at least: 4.4
9
  Tested up to: 4.5.*
10
+ Stable Tag: 1.2.1
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
 
75
 
76
  == Changelog ==
77
 
78
+ = 1.2.1: June 21, 2016 =
79
+
80
+ * Ninja Forms compatibility.
81
+
82
  = 1.2.0: June 16, 2016 =
83
 
84
+ * Ninja Forms compatibility.
85
 
86
  = 1.1.0: February 25, 2016 =
87
 
wp-job-manager-contact-listing.php CHANGED
@@ -5,8 +5,9 @@
5
  * Description: Contact job listings or resume listings with your choice of Gravity Forms, Ninja Forms, or Contact Form 7
6
  * Author: Astoundify
7
  * Author URI: http://astoundify.com
8
- * Version: 1.2.0
9
  * Text Domain: wp-job-manager-contact-listing
 
10
  */
11
 
12
  // Exit if accessed directly
5
  * Description: Contact job listings or resume listings with your choice of Gravity Forms, Ninja Forms, or Contact Form 7
6
  * Author: Astoundify
7
  * Author URI: http://astoundify.com
8
+ * Version: 1.2.1
9
  * Text Domain: wp-job-manager-contact-listing
10
+ * Domain Path: /languages
11
  */
12
 
13
  // Exit if accessed directly