| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; |
| 4 |
} |
| 5 |
|
| 6 |
//print_r( $jobwpListingContent ); |
| 7 |
foreach ( $jobwpListingContent as $option_name => $option_value ) { |
| 8 |
if ( isset( $jobwpListingContent[$option_name] ) ) { |
| 9 |
${"" . $option_name} = $option_value; |
| 10 |
} |
| 11 |
} |
| 12 |
?> |
| 13 |
<form name="jobwp_listing_content_settings_form" role="form" class="form-horizontal" method="post" action="" id="jobwp-listing-content-settings-form"> |
| 14 |
<table class="jobwp-listing-content-settings-table"> |
| 15 |
<tr> |
| 16 |
<th scope="row"> |
| 17 |
<label for="jobwp_list_display_overview"><?php _e('Hide Overview', JOBWP_TXT_DOMAIN); ?>?</label> |
| 18 |
</th> |
| 19 |
<td> |
| 20 |
<input type="checkbox" name="jobwp_list_display_overview" class="jobwp_list_display_overview" id="jobwp_list_display_overview" |
| 21 |
<?php echo $jobwp_list_display_overview ? 'checked' : ''; ?> > |
| 22 |
</td> |
| 23 |
<th scope="row"> |
| 24 |
<label for="wbg_cat_label_txt"><?php _e('Word Lengtht', JOBWP_TXT_DOMAIN); ?>:</label> |
| 25 |
</th> |
| 26 |
<td> |
| 27 |
<input type="number" name="jobwp_list_overview_length" class="medium-text" min="1" max="150" step="1" value="<?php esc_attr_e( $jobwp_list_overview_length ); ?>"> |
| 28 |
</td> |
| 29 |
</tr> |
| 30 |
<tr> |
| 31 |
<th scope="row"> |
| 32 |
<label for="jobwp_list_display_experience"><?php _e('Hide Experience', JOBWP_TXT_DOMAIN); ?>?</label> |
| 33 |
</th> |
| 34 |
<td> |
| 35 |
<input type="checkbox" name="jobwp_list_display_experience" class="jobwp_list_display_experience" id="jobwp_list_display_experience" |
| 36 |
<?php echo $jobwp_list_display_experience ? 'checked' : ''; ?> > |
| 37 |
</td> |
| 38 |
<th scope="row"> |
| 39 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 40 |
</th> |
| 41 |
<td> |
| 42 |
<input type="text" name="jobwp_list_exp_lbl_txt" id="jobwp_list_exp_lbl_txt" class="regular-text" value="<?php esc_attr_e( $jobwp_list_exp_lbl_txt ); ?>" /> |
| 43 |
</td> |
| 44 |
</tr> |
| 45 |
<tr> |
| 46 |
<th scope="row"> |
| 47 |
<label for="jobwp_list_display_deadline"><?php _e('Hide Deadline', JOBWP_TXT_DOMAIN); ?>?</label> |
| 48 |
</th> |
| 49 |
<td> |
| 50 |
<input type="checkbox" name="jobwp_list_display_deadline" class="jobwp_list_display_deadline" id="jobwp_list_display_deadline" |
| 51 |
<?php echo $jobwp_list_display_deadline ? 'checked' : ''; ?> > |
| 52 |
</td> |
| 53 |
<th scope="row"> |
| 54 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 55 |
</th> |
| 56 |
<td> |
| 57 |
<input type="text" name="jobwp_list_deadline_lbl_txt" id="jobwp_list_deadline_lbl_txt" class="regular-text" value="<?php esc_attr_e( $jobwp_list_deadline_lbl_txt ); ?>" /> |
| 58 |
</td> |
| 59 |
</tr> |
| 60 |
<tr> |
| 61 |
<th scope="row"> |
| 62 |
<label for="jobwp_list_display_location"><?php _e('Hide Location', JOBWP_TXT_DOMAIN); ?>?</label> |
| 63 |
</th> |
| 64 |
<td> |
| 65 |
<input type="checkbox" name="jobwp_list_display_location" class="jobwp_list_display_location" id="jobwp_list_display_location" |
| 66 |
<?php echo $jobwp_list_display_location ? 'checked' : ''; ?> > |
| 67 |
</td> |
| 68 |
<th scope="row"> |
| 69 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 70 |
</th> |
| 71 |
<td> |
| 72 |
<input type="text" name="jobwp_list_loc_lbl_txt" id="jobwp_list_loc_lbl_txt" class="regular-text" value="<?php esc_attr_e( $jobwp_list_loc_lbl_txt ); ?>" /> |
| 73 |
</td> |
| 74 |
</tr> |
| 75 |
<tr> |
| 76 |
<th scope="row"> |
| 77 |
<label for="jobwp_list_display_jtype"><?php _e('Hide Job Type', JOBWP_TXT_DOMAIN); ?>?</label> |
| 78 |
</th> |
| 79 |
<td> |
| 80 |
<input type="checkbox" name="jobwp_list_display_jtype" class="jobwp_list_display_jtype" id="jobwp_list_display_jtype" |
| 81 |
<?php echo $jobwp_list_display_jtype ? 'checked' : ''; ?> > |
| 82 |
</td> |
| 83 |
<th scope="row"> |
| 84 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 85 |
</th> |
| 86 |
<td> |
| 87 |
<input type="text" name="jobwp_list_job_type_lbl_txt" id="jobwp_list_job_type_lbl_txt" class="regular-text" value="<?php esc_attr_e( $jobwp_list_job_type_lbl_txt ); ?>" /> |
| 88 |
</td> |
| 89 |
</tr> |
| 90 |
</table> |
| 91 |
<hr> |
| 92 |
<p class="submit"> |
| 93 |
<button id="updateListingContent" name="updateListingContent" class="button button-primary jobwp-button"> |
| 94 |
<i class="fa fa-check-circle" aria-hidden="true"></i> <?php _e('Save Settings', JOBWP_TXT_DOMAIN); ?> |
| 95 |
</button> |
| 96 |
</p> |
| 97 |
|
| 98 |
</form> |