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 / partial / single-content.php

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

465 lines 18.2 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( $jobwpSingleContent );
7 foreach ( $jobwpSingleContent as $option_name => $option_value ) {
8 if ( isset( $jobwpSingleContent[$option_name] ) ) {
9 ${"" . $option_name} = $option_value;
10 }
11 }
12 $single_items = $this->get_single_items_order();
13 //echo '<pre>';
14 //print_r($single_items);
15 ?>
16 <form name="jobwp_single_content_settings_form" role="form" class="form-horizontal" method="post" action="" id="jobwp-single-content-settings-form">
17 <table class="jobwp-single-settings-table" id="jobwp-single-content-settings-table">
18 <tr class="jobwp_single_title_tag">
19 <th scope="row">
20 <label for="jobwp_single_title_tag"><?php
21 _e( 'Job Title Tag', JOBWP_TXT_DOMAIN );
22 ?>:</label>
23 </th>
24 <td>
25 <?php
26 ?>
27 <span><?php
28 echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>';
29 ?></span>
30 <?php
31 ?>
32 </td>
33 </tr>
34 <tr class="jobwp_single_display_company_name">
35 <th scope="row">
36 <label for="jobwp_single_display_company_name"><?php
37 _e( 'Display Company Name', JOBWP_TXT_DOMAIN );
38 ?>?</label>
39 </th>
40 <td>
41 <?php
42 ?>
43 <span><?php
44 echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>';
45 ?></span>
46 <?php
47 ?>
48 </td>
49 </tr>
50 <tr class="jobwp_single_display_company_logo">
51 <th scope="row">
52 <label for="jobwp_single_display_company_logo"><?php
53 _e( 'Display Company Logo', JOBWP_TXT_DOMAIN );
54 ?>?</label>
55 </th>
56 <td>
57 <?php
58 ?>
59 <span><?php
60 echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>';
61 ?></span>
62 <?php
63 ?>
64 </td>
65 </tr>
66 <tr><td colspan="4"><hr></td></tr>
67 <?php
68 foreach ( $single_items as $sItem ) {
69 if ( 'Overview' === $sItem ) {
70 ?>
71 <tr class="jobwp_single_item" id="jobwp_single_sort_item_Overview">
72 <th scope="row">
73 <label for="jobwp_single_hide_overview"><?php
74 _e( 'Hide Overview', JOBWP_TXT_DOMAIN );
75 ?>?</label>
76 </th>
77 <td>
78 <input type="checkbox" name="jobwp_single_hide_overview" class="jobwp_single_hide_overview" id="jobwp_single_hide_overview"
79 <?php
80 echo ( $jobwp_single_hide_overview ? 'checked' : '' );
81 ?>>
82 </td>
83 <th scope="row">
84 <label><?php
85 _e( 'Label Text', JOBWP_TXT_DOMAIN );
86 ?></label>
87 </th>
88 <td>
89 <input type="text" name="jobwp_single_overview_text" id="jobwp_single_overview_text" class="regular-text" value="<?php
90 esc_attr_e( $jobwp_single_overview_text );
91 ?>" />
92 </td>
93 </tr>
94 <?php
95 }
96 if ( 'NoOfVacancies' === $sItem ) {
97 ?>
98 <tr class="jobwp_single_item" id="jobwp_single_sort_item_NoOfVacancies">
99 <th scope="row">
100 <label for="jobwp_single_hide_vacancies"><?php
101 _e( 'Hide No. of Vacancies', JOBWP_TXT_DOMAIN );
102 ?>?</label>
103 </th>
104 <td>
105 <input type="checkbox" name="jobwp_single_hide_vacancies" class="jobwp_single_hide_vacancies" id="jobwp_single_hide_vacancies"
106 <?php
107 echo ( $jobwp_single_hide_vacancies ? 'checked' : '' );
108 ?> >
109 </td>
110 <th scope="row">
111 <label><?php
112 _e( 'Label Text', JOBWP_TXT_DOMAIN );
113 ?></label>
114 </th>
115 <td>
116 <input type="text" name="jobwp_single_vacancies_text" id="jobwp_single_vacancies_text" class="regular-text" value="<?php
117 esc_attr_e( $jobwp_single_vacancies_text );
118 ?>" />
119 </td>
120 </tr>
121 <?php
122 }
123 if ( 'Skills' === $sItem ) {
124 ?>
125 <tr class="jobwp_single_item" id="jobwp_single_sort_item_Skills">
126 <th scope="row">
127 <label for="jobwp_single_hide_skills"><?php
128 _e( 'Hide Specific Skills', JOBWP_TXT_DOMAIN );
129 ?>?</label>
130 </th>
131 <td>
132 <input type="checkbox" name="jobwp_single_hide_skills" class="jobwp_single_hide_skills" id="jobwp_single_hide_skills"
133 <?php
134 echo ( $jobwp_single_hide_skills ? 'checked' : '' );
135 ?> >
136 </td>
137 <th scope="row">
138 <label><?php
139 _e( 'Label Text', JOBWP_TXT_DOMAIN );
140 ?></label>
141 </th>
142 <td>
143 <input type="text" name="jobwp_single_skills_text" id="jobwp_single_skills_text" class="regular-text" value="<?php
144 esc_attr_e( $jobwp_single_skills_text );
145 ?>" />
146 </td>
147 </tr>
148 <?php
149 }
150 if ( 'ResponsibleFor' === $sItem ) {
151 ?>
152 <tr class="jobwp_single_item" id="jobwp_single_sort_item_ResponsibleFor">
153 <th scope="row">
154 <label for="jobwp_single_hide_responsible"><?php
155 _e( 'Hide Responsible For', JOBWP_TXT_DOMAIN );
156 ?>?</label>
157 </th>
158 <td>
159 <input type="checkbox" name="jobwp_single_hide_responsible" class="jobwp_single_hide_responsible" id="jobwp_single_hide_responsible"
160 <?php
161 echo ( $jobwp_single_hide_responsible ? 'checked' : '' );
162 ?> >
163 </td>
164 <th scope="row">
165 <label><?php
166 _e( 'Label Text', JOBWP_TXT_DOMAIN );
167 ?></label>
168 </th>
169 <td>
170 <input type="text" name="jobwp_single_responsible_text" id="jobwp_single_responsible_text" class="regular-text" value="<?php
171 esc_attr_e( $jobwp_single_responsible_text );
172 ?>" />
173 </td>
174 </tr>
175 <?php
176 }
177 if ( 'AdditionalRequirements' === $sItem ) {
178 ?>
179 <tr class="jobwp_single_item" id="jobwp_single_sort_item_AdditionalRequirements">
180 <th scope="row">
181 <label for="jobwp_single_hide_requirements"><?php
182 _e( 'Hide Additional Requirements', JOBWP_TXT_DOMAIN );
183 ?>?</label>
184 </th>
185 <td>
186 <input type="checkbox" name="jobwp_single_hide_requirements" class="jobwp_single_hide_requirements" id="jobwp_single_hide_requirements"
187 <?php
188 echo ( $jobwp_single_hide_requirements ? 'checked' : '' );
189 ?> >
190 </td>
191 <th scope="row">
192 <label><?php
193 _e( 'Label Text', JOBWP_TXT_DOMAIN );
194 ?></label>
195 </th>
196 <td>
197 <input type="text" name="jobwp_single_requirements_text" id="jobwp_single_requirements_text" class="regular-text" value="<?php
198 esc_attr_e( $jobwp_single_requirements_text );
199 ?>" />
200 </td>
201 </tr>
202 <?php
203 }
204 if ( 'JobNature' === $sItem ) {
205 ?>
206 <tr class="jobwp_single_item" id="jobwp_single_sort_item_JobNature">
207 <th scope="row">
208 <label for="jobwp_single_hide_job_type"><?php
209 _e( 'Hide Job Nature', JOBWP_TXT_DOMAIN );
210 ?>?</label>
211 </th>
212 <td>
213 <input type="checkbox" name="jobwp_single_hide_job_type" class="jobwp_single_hide_job_type" id="jobwp_single_hide_job_type"
214 <?php
215 echo ( $jobwp_single_hide_job_type ? 'checked' : '' );
216 ?> >
217 </td>
218 <th scope="row">
219 <label><?php
220 _e( 'Label Text', JOBWP_TXT_DOMAIN );
221 ?></label>
222 </th>
223 <td>
224 <input type="text" name="jobwp_single_job_type_text" id="jobwp_single_job_type_text" class="regular-text" value="<?php
225 esc_attr_e( $jobwp_single_job_type_text );
226 ?>" />
227 </td>
228 </tr>
229 <?php
230 }
231 if ( 'EducationalRequirements' === $sItem ) {
232 ?>
233 <tr class="jobwp_single_item" id="jobwp_single_sort_item_EducationalRequirements">
234 <th scope="row">
235 <label for="jobwp_single_hide_education"><?php
236 _e( 'Hide Educational Requirements', JOBWP_TXT_DOMAIN );
237 ?>?</label>
238 </th>
239 <td>
240 <input type="checkbox" name="jobwp_single_hide_education" class="jobwp_single_hide_education" id="jobwp_single_hide_education"
241 <?php
242 echo ( $jobwp_single_hide_education ? 'checked' : '' );
243 ?> >
244 </td>
245 <th scope="row">
246 <label><?php
247 _e( 'Label Text', JOBWP_TXT_DOMAIN );
248 ?></label>
249 </th>
250 <td>
251 <input type="text" name="jobwp_single_education_text" id="jobwp_single_education_text" class="regular-text" value="<?php
252 esc_attr_e( $jobwp_single_education_text );
253 ?>" />
254 </td>
255 </tr>
256 <?php
257 }
258 if ( 'ExperienceRequirements' === $sItem ) {
259 ?>
260 <tr class="jobwp_single_item" id="jobwp_single_sort_item_ExperienceRequirements">
261 <th scope="row">
262 <label for="jobwp_single_hide_experience"><?php
263 _e( 'Hide Experience Requirements', JOBWP_TXT_DOMAIN );
264 ?>?</label>
265 </th>
266 <td>
267 <input type="checkbox" name="jobwp_single_hide_experience" class="jobwp_single_hide_experience" id="jobwp_single_hide_experience"
268 <?php
269 echo ( $jobwp_single_hide_experience ? 'checked' : '' );
270 ?> >
271 </td>
272 <th scope="row">
273 <label><?php
274 _e( 'Label Text', JOBWP_TXT_DOMAIN );
275 ?></label>
276 </th>
277 <td>
278 <input type="text" name="jobwp_single_experience_text" id="jobwp_single_experience_text" class="regular-text" value="<?php
279 esc_attr_e( $jobwp_single_experience_text );
280 ?>" />
281 </td>
282 </tr>
283 <?php
284 }
285 if ( 'Location' === $sItem ) {
286 ?>
287 <tr class="jobwp_single_item" id="jobwp_single_sort_item_Location">
288 <th scope="row">
289 <label for="jobwp_single_hide_loc"><?php
290 _e( 'Hide Job Location', JOBWP_TXT_DOMAIN );
291 ?>?</label>
292 </th>
293 <td>
294 <input type="checkbox" name="jobwp_single_hide_loc" class="jobwp_single_hide_loc" id="jobwp_single_hide_loc"
295 <?php
296 echo ( $jobwp_single_hide_loc ? 'checked' : '' );
297 ?> >
298 </td>
299 <th scope="row">
300 <label><?php
301 _e( 'Label Text', JOBWP_TXT_DOMAIN );
302 ?></label>
303 </th>
304 <td>
305 <input type="text" name="jobwp_single_loc_text" id="jobwp_single_loc_text" class="regular-text" value="<?php
306 esc_attr_e( $jobwp_single_loc_text );
307 ?>" />
308 </td>
309 </tr>
310 <?php
311 }
312 if ( 'Salary' === $sItem ) {
313 ?>
314 <tr class="jobwp_single_item" id="jobwp_single_sort_item_Salary">
315 <th scope="row">
316 <label for="jobwp_single_hide_salary"><?php
317 _e( 'Hide Salary', JOBWP_TXT_DOMAIN );
318 ?>?</label>
319 </th>
320 <td>
321 <input type="checkbox" name="jobwp_single_hide_salary" class="jobwp_single_hide_salary" id="jobwp_single_hide_salary"
322 <?php
323 echo ( $jobwp_single_hide_salary ? 'checked' : '' );
324 ?> >
325 </td>
326 <th scope="row">
327 <label><?php
328 _e( 'Label Text', JOBWP_TXT_DOMAIN );
329 ?></label>
330 </th>
331 <td>
332 <input type="text" name="jobwp_single_salary_text" id="jobwp_single_salary_text" class="regular-text" value="<?php
333 esc_attr_e( $jobwp_single_salary_text );
334 ?>" />
335 </td>
336 </tr>
337 <?php
338 }
339 if ( 'Benefits' === $sItem ) {
340 ?>
341 <tr class="jobwp_single_item" id="jobwp_single_sort_item_Benefits">
342 <th scope="row">
343 <label for="jobwp_single_hide_benefit"><?php
344 _e( 'Hide Other Benefits', JOBWP_TXT_DOMAIN );
345 ?>?</label>
346 </th>
347 <td>
348 <input type="checkbox" name="jobwp_single_hide_benefit" class="jobwp_single_hide_benefit" id="jobwp_single_hide_benefit"
349 <?php
350 echo ( $jobwp_single_hide_benefit ? 'checked' : '' );
351 ?> >
352 </td>
353 <th scope="row">
354 <label><?php
355 _e( 'Label Text', JOBWP_TXT_DOMAIN );
356 ?></label>
357 </th>
358 <td>
359 <input type="text" name="jobwp_single_benefit_text" id="jobwp_single_benefit_text" class="regular-text" value="<?php
360 esc_attr_e( $jobwp_single_benefit_text );
361 ?>" />
362 </td>
363 </tr>
364 <?php
365 }
366 if ( 'Level' === $sItem ) {
367 ?>
368 <tr class="jobwp_single_item" id="jobwp_single_sort_item_Level">
369 <th scope="row">
370 <label for="jobwp_single_hide_level"><?php
371 _e( 'Hide Job Level', JOBWP_TXT_DOMAIN );
372 ?>?</label>
373 </th>
374 <td>
375 <input type="checkbox" name="jobwp_single_hide_level" class="jobwp_single_hide_level" id="jobwp_single_hide_level"
376 <?php
377 echo ( $jobwp_single_hide_level ? 'checked' : '' );
378 ?> >
379 </td>
380 <th scope="row">
381 <label><?php
382 _e( 'Label Text', JOBWP_TXT_DOMAIN );
383 ?></label>
384 </th>
385 <td>
386 <input type="text" name="jobwp_single_level_text" id="jobwp_single_level_text" class="regular-text" value="<?php
387 esc_attr_e( $jobwp_single_level_text );
388 ?>" />
389 </td>
390 </tr>
391 <?php
392 }
393 }
394 ?>
395 <tr><td colspan="4"><hr></td></tr>
396 <tr>
397 <th scope="row">
398 <label for="jobwp_hide_apply_procedure"><?php
399 _e( 'Hide Apply Procedure', JOBWP_TXT_DOMAIN );
400 ?>?</label>
401 </th>
402 <td>
403 <input type="checkbox" name="jobwp_hide_apply_procedure" class="jobwp_hide_apply_procedure" id="jobwp_hide_apply_procedure"
404 <?php
405 echo ( $jobwp_hide_apply_procedure ? 'checked' : '' );
406 ?> >
407 </td>
408 <th scope="row">
409 <label><?php
410 _e( 'Apply Procedure Title', JOBWP_TXT_DOMAIN );
411 ?></label>
412 </th>
413 <td colspan="3">
414 <input type="text" name="jobwp_apply_procedure_title" id="jobwp_apply_procedure_title" class="regular-text" value="<?php
415 esc_attr_e( $jobwp_apply_procedure_title );
416 ?>" />
417 </td>
418 </tr>
419 <tr class="jobwp_apply_procedure_content">
420 <th colspan="3" scope="row" style="text-align: right;">
421 <label><?php
422 _e( 'Apply Procedure Content', JOBWP_TXT_DOMAIN );
423 ?></label>
424 </th>
425 <td colspan="1">
426 <textarea cols="40" style="min-height:100px;" name="jobwp_apply_procedure_content" class="regular-text" id="jobwp_apply_procedure_content"><?php
427 esc_html_e( $jobwp_apply_procedure_content );
428 ?></textarea>
429 </td>
430 </tr>
431 <tr>
432 <th scope="row">
433 <label for="jobwp_hide_apply_button"><?php
434 _e( 'Hide Apply Button', JOBWP_TXT_DOMAIN );
435 ?>?</label>
436 </th>
437 <td>
438 <input type="checkbox" name="jobwp_hide_apply_button" class="jobwp_hide_apply_button" id="jobwp_hide_apply_button"
439 <?php
440 echo ( $jobwp_hide_apply_button ? 'checked' : '' );
441 ?> >
442 </td>
443 <th scope="row">
444 <label><?php
445 _e( 'Apply Button Text', JOBWP_TXT_DOMAIN );
446 ?></label>
447 </th>
448 <td colspan="3">
449 <input type="text" name="jobwp_apply_button_text" id="jobwp_apply_button_text" class="regular-text" value="<?php
450 esc_attr_e( $jobwp_apply_button_text );
451 ?>" />
452 </td>
453 </tr>
454 </table>
455 <hr>
456 <p class="submit">
457 <button id="updateSingleContent" name="updateSingleContent" class="button button-primary jobwp-button">
458 <i class="fa fa-check-circle" aria-hidden="true"></i>&nbsp;<?php
459 _e( 'Save Settings', JOBWP_TXT_DOMAIN );
460 ?>
461 </button>
462 </p>
463 </form>
464
465