PluginProbe
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications / 2.3.9
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications v2.3.9
2.5.0 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 All 33 releases
jobwp / admin / view / general.php

general.php in JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications 2.3.9, at admin/view/general.php

229 lines 9.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( !defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 //print_r( $jobwpGeneralSettings );
7 foreach ( $jobwpGeneralSettings as $option_name => $option_value ) {
8 if ( isset( $jobwpGeneralSettings[$option_name] ) ) {
9 ${"" . $option_name} = $option_value;
10 }
11 }
12 ?>
13 <div id="wph-wrap-all" class="wrap jobwp-single-settings-page">
14
15 <div class="settings-banner">
16 <h2><i class="fa fa-cogs" aria-hidden="true"></i>&nbsp;<?php
17 _e( 'General Settings', JOBWP_TXT_DOMAIN );
18 ?></h2>
19 </div>
20
21 <?php
22 if ( $jobwpGeneralMessage ) {
23 $this->jobwp_display_notification( 'success', 'Your information updated successfully.' );
24 echo '<br>';
25 }
26 ?>
27
28 <div class="jobwp-wrap">
29
30 <div class="jobwp_personal_wrap jobwp_personal_help" style="width: 76%; float: left;">
31
32 <div class="tab-content">
33 <form name="jobwp_general_settings_form" role="form" class="form-horizontal" method="post" action="" id="jobwp-general-settings-form">
34 <table class="jobwp-single-settings-table">
35 <tr class="jobwp_admin_noti_email">
36 <th scope="row">
37 <label><?php
38 _e( 'Admin Notification Email', JOBWP_TXT_DOMAIN );
39 ?></label>
40 </th>
41 <td>
42 <input type="text" name="jobwp_admin_noti_email" id="jobwp_admin_noti_email" class="regular-text" value="<?php
43 esc_attr_e( $jobwp_admin_noti_email );
44 ?>" />
45 <br>
46 <code><?php
47 _e( 'An email will sent to this email when a candidate submit an applicaiton.', JOBWP_TXT_DOMAIN );
48 ?></code>
49 </td>
50 </tr>
51 <tr class="jobwp_admin_noti_email_users">
52 <th scope="row">
53 <label for="jobwp_ext_apply_now_url"><?php
54 _e( 'Notification Email to User Role', JOBWP_TXT_DOMAIN );
55 ?></label>
56 </th>
57 <td>
58 <?php
59 ?>
60 <span><?php
61 echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>';
62 ?></span>
63 <?php
64 ?>
65 <br>
66 <code><?php
67 _e( 'An email will sent to this role based user emails when a candidate submit an applicaiton.', JOBWP_TXT_DOMAIN );
68 ?></code>
69 </td>
70 </tr>
71 <tr class="jobwp_list_layout">
72 <th scope="row">
73 <label><?php
74 _e( 'Job Page Layout', JOBWP_TXT_DOMAIN );
75 ?></label>
76 </th>
77 <td>
78 <input type="radio" name="jobwp_list_layout" id="jobwp_list_layout_list" value="list" <?php
79 echo ( 'list' === $jobwp_list_layout ? 'checked' : '' );
80 ?> >
81 <label for="jobwp_list_layout_list"><span></span><?php
82 _e( 'List', JOBWP_TXT_DOMAIN );
83 ?></label>
84 &nbsp;&nbsp;
85 <input type="radio" name="jobwp_list_layout" id="jobwp_list_layout_grid" value="grid" <?php
86 echo ( 'grid' === $jobwp_list_layout ? 'checked' : '' );
87 ?> >
88 <label for="jobwp_list_layout_grid"><span></span><?php
89 _e( 'Grid', JOBWP_TXT_DOMAIN );
90 ?></label>
91 </td>
92 </tr>
93 <tr class="jobwp_ext_application_form">
94 <th scope="row">
95 <label for="jobwp_ext_application_form"><?php
96 _e( 'Use External Application Form', JOBWP_TXT_DOMAIN );
97 ?>?</label>
98 </th>
99 <td>
100 <input type="checkbox" name="jobwp_ext_application_form" class="jobwp_ext_application_form" id="jobwp_ext_application_form"
101 <?php
102 echo ( $jobwp_ext_application_form ? 'checked' : '' );
103 ?> >
104 </td>
105 </tr>
106 <tr class="jobwp_ext_application_form_shortcode">
107 <th scope="row">
108 <label><?php
109 _e( 'External Application Form Shortcode', JOBWP_TXT_DOMAIN );
110 ?></label>
111 </th>
112 <td>
113 <input type="text" name="jobwp_ext_application_form_shortcode" id="jobwp_ext_application_form_shortcode" class="regular-text" value="<?php
114 esc_attr_e( stripslashes( $jobwp_ext_application_form_shortcode ) );
115 ?>" />
116 <br>
117 <code><?php
118 _e( 'You can use external form instead of default application form. Like WPForms, Contact Form etc.', JOBWP_TXT_DOMAIN );
119 ?></code>
120 </td>
121 </tr>
122 <tr class="jobwp_ext_apply_now_url">
123 <th scope="row">
124 <label for="jobwp_ext_apply_now_url"><?php
125 _e( 'Allow External Application URL', JOBWP_TXT_DOMAIN );
126 ?>?</label>
127 </th>
128 <td>
129 <?php
130 ?>
131 <span><?php
132 echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>';
133 ?></span>
134 <?php
135 ?>
136 </td>
137 </tr>
138 <tr class="jobwp_hide_jobs_deadline_over">
139 <th scope="row">
140 <label for="jobwp_hide_jobs_deadline_over"><?php
141 _e( 'Hide Jobs When Deadline Over', JOBWP_TXT_DOMAIN );
142 ?>?</label>
143 </th>
144 <td>
145 <input type="checkbox" name="jobwp_hide_jobs_deadline_over" class="jobwp_hide_jobs_deadline_over" id="jobwp_hide_jobs_deadline_over" <?php
146 echo ( $jobwp_hide_jobs_deadline_over ? 'checked' : '' );
147 ?>>
148 </td>
149 </tr>
150 <tr class="jobwp_allow_login_apply">
151 <th scope="row">
152 <label for="jobwp_allow_login_apply"><?php
153 _e( 'Allow Login to Apply', JOBWP_TXT_DOMAIN );
154 ?>?</label>
155 </th>
156 <td>
157 <?php
158 ?>
159 <span><?php
160 echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>';
161 ?></span>
162 <?php
163 ?>
164 </td>
165 </tr>
166 <tr>
167 <td colspan="2" style="font-size: 18px;">
168 <hr><b><?php
169 _e( 'Captcha', JOBWP_TXT_DOMAIN );
170 ?></b><hr>
171 </td>
172 </tr>
173 <tr class="jobwp_recaptcha_site_key">
174 <th scope="row">
175 <label><?php
176 _e( 'Site Key', JOBWP_TXT_DOMAIN );
177 ?></label>
178 </th>
179 <td>
180 <input type="text" name="jobwp_recaptcha_site_key" id="jobwp_recaptcha_site_key" class="regular-text" value="<?php
181 esc_attr_e( stripslashes( $jobwp_recaptcha_site_key ) );
182 ?>" />
183 </td>
184 </tr>
185 <tr class="jobwp_recaptcha_secret_key">
186 <th scope="row">
187 <label><?php
188 _e( 'Secret Key', JOBWP_TXT_DOMAIN );
189 ?></label>
190 </th>
191 <td>
192 <input type="text" name="jobwp_recaptcha_secret_key" id="jobwp_recaptcha_secret_key" class="regular-text" value="<?php
193 esc_attr_e( stripslashes( $jobwp_recaptcha_secret_key ) );
194 ?>" />
195 </td>
196 </tr>
197 <tr class="jobwp_captcha_on_apply_form">
198 <th scope="row">
199 <label for="jobwp_captcha_on_apply_form"><?php
200 _e( 'Enable on Apply Form', JOBWP_TXT_DOMAIN );
201 ?>?</label>
202 </th>
203 <td>
204 <input type="checkbox" name="jobwp_captcha_on_apply_form" class="jobwp_captcha_on_apply_form" id="jobwp_captcha_on_apply_form" <?php
205 echo ( $jobwp_captcha_on_apply_form ? 'checked' : '' );
206 ?>>
207 </td>
208 </tr>
209 </table>
210 <hr>
211 <p class="submit">
212 <button id="updateGeneralSettings" name="updateGeneralSettings" class="button button-primary jobwp-button">
213 <i class="fa fa-check-circle" aria-hidden="true"></i>&nbsp;<?php
214 _e( 'Save Settings', JOBWP_TXT_DOMAIN );
215 ?>
216 </button>
217 </p>
218 </form>
219 </div>
220
221 </div>
222
223 <?php
224 include_once 'partial/admin-sidebar.php';
225 ?>
226
227 </div>
228
229 </div>