| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; |
| 4 |
} |
| 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 |
?> |
| 13 |
<form name="jobwp_single_content_settings_form" role="form" class="form-horizontal" method="post" action="" id="jobwp-single-content-settings-form"> |
| 14 |
<table class="jobwp-single-settings-table"> |
| 15 |
<tr> |
| 16 |
<th scope="row"> |
| 17 |
<label for="jobwp_single_hide_overview"><?php _e('Hide Overview', JOBWP_TXT_DOMAIN); ?>?</label> |
| 18 |
</th> |
| 19 |
<td> |
| 20 |
<input type="checkbox" name="jobwp_single_hide_overview" class="jobwp_single_hide_overview" id="jobwp_single_hide_overview" |
| 21 |
<?php echo $jobwp_single_hide_overview ? 'checked' : ''; ?> > |
| 22 |
</td> |
| 23 |
<th scope="row"> |
| 24 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 25 |
</th> |
| 26 |
<td> |
| 27 |
<input type="text" name="jobwp_single_overview_text" id="jobwp_single_overview_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_overview_text ); ?>" /> |
| 28 |
</td> |
| 29 |
</tr> |
| 30 |
<tr> |
| 31 |
<th scope="row"> |
| 32 |
<label for="jobwp_single_hide_vacancies"><?php _e('Hide No. of Vacancies', JOBWP_TXT_DOMAIN); ?>?</label> |
| 33 |
</th> |
| 34 |
<td> |
| 35 |
<input type="checkbox" name="jobwp_single_hide_vacancies" class="jobwp_single_hide_vacancies" id="jobwp_single_hide_vacancies" |
| 36 |
<?php echo $jobwp_single_hide_vacancies ? '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_single_vacancies_text" id="jobwp_single_vacancies_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_vacancies_text ); ?>" /> |
| 43 |
</td> |
| 44 |
</tr> |
| 45 |
<tr> |
| 46 |
<th scope="row"> |
| 47 |
<label for="jobwp_single_hide_skills"><?php _e('Hide Specific Skills', JOBWP_TXT_DOMAIN); ?>?</label> |
| 48 |
</th> |
| 49 |
<td> |
| 50 |
<input type="checkbox" name="jobwp_single_hide_skills" class="jobwp_single_hide_skills" id="jobwp_single_hide_skills" |
| 51 |
<?php echo $jobwp_single_hide_skills ? '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_single_skills_text" id="jobwp_single_skills_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_skills_text ); ?>" /> |
| 58 |
</td> |
| 59 |
</tr> |
| 60 |
<tr> |
| 61 |
<th scope="row"> |
| 62 |
<label for="jobwp_single_hide_responsible"><?php _e('Hide Responsible For', JOBWP_TXT_DOMAIN); ?>?</label> |
| 63 |
</th> |
| 64 |
<td> |
| 65 |
<input type="checkbox" name="jobwp_single_hide_responsible" class="jobwp_single_hide_responsible" id="jobwp_single_hide_responsible" |
| 66 |
<?php echo $jobwp_single_hide_responsible ? '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_single_responsible_text" id="jobwp_single_responsible_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_responsible_text ); ?>" /> |
| 73 |
</td> |
| 74 |
</tr> |
| 75 |
<tr> |
| 76 |
<th scope="row"> |
| 77 |
<label for="jobwp_single_hide_requirements"><?php _e('Hide Additional Requirements', JOBWP_TXT_DOMAIN); ?>?</label> |
| 78 |
</th> |
| 79 |
<td> |
| 80 |
<input type="checkbox" name="jobwp_single_hide_requirements" class="jobwp_single_hide_requirements" id="jobwp_single_hide_requirements" |
| 81 |
<?php echo $jobwp_single_hide_requirements ? '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_single_requirements_text" id="jobwp_single_requirements_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_requirements_text ); ?>" /> |
| 88 |
</td> |
| 89 |
</tr> |
| 90 |
<tr> |
| 91 |
<th scope="row"> |
| 92 |
<label for="jobwp_single_hide_job_type"><?php _e('Hide Job Nature', JOBWP_TXT_DOMAIN); ?>?</label> |
| 93 |
</th> |
| 94 |
<td> |
| 95 |
<input type="checkbox" name="jobwp_single_hide_job_type" class="jobwp_single_hide_job_type" id="jobwp_single_hide_job_type" |
| 96 |
<?php echo $jobwp_single_hide_job_type ? 'checked' : ''; ?> > |
| 97 |
</td> |
| 98 |
<th scope="row"> |
| 99 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 100 |
</th> |
| 101 |
<td> |
| 102 |
<input type="text" name="jobwp_single_job_type_text" id="jobwp_single_job_type_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_job_type_text ); ?>" /> |
| 103 |
</td> |
| 104 |
</tr> |
| 105 |
<tr> |
| 106 |
<th scope="row"> |
| 107 |
<label for="jobwp_single_hide_education"><?php _e('Hide Educational Requirements', JOBWP_TXT_DOMAIN); ?>?</label> |
| 108 |
</th> |
| 109 |
<td> |
| 110 |
<input type="checkbox" name="jobwp_single_hide_education" class="jobwp_single_hide_education" id="jobwp_single_hide_education" |
| 111 |
<?php echo $jobwp_single_hide_education ? 'checked' : ''; ?> > |
| 112 |
</td> |
| 113 |
<th scope="row"> |
| 114 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 115 |
</th> |
| 116 |
<td> |
| 117 |
<input type="text" name="jobwp_single_education_text" id="jobwp_single_education_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_education_text ); ?>" /> |
| 118 |
</td> |
| 119 |
</tr> |
| 120 |
<tr> |
| 121 |
<th scope="row"> |
| 122 |
<label for="jobwp_single_hide_experience"><?php _e('Hide Experience Requirements', JOBWP_TXT_DOMAIN); ?>?</label> |
| 123 |
</th> |
| 124 |
<td> |
| 125 |
<input type="checkbox" name="jobwp_single_hide_experience" class="jobwp_single_hide_experience" id="jobwp_single_hide_experience" |
| 126 |
<?php echo $jobwp_single_hide_experience ? 'checked' : ''; ?> > |
| 127 |
</td> |
| 128 |
<th scope="row"> |
| 129 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 130 |
</th> |
| 131 |
<td> |
| 132 |
<input type="text" name="jobwp_single_experience_text" id="jobwp_single_experience_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_experience_text ); ?>" /> |
| 133 |
</td> |
| 134 |
</tr> |
| 135 |
<tr> |
| 136 |
<th scope="row"> |
| 137 |
<label for="jobwp_single_hide_loc"><?php _e('Hide Job Location', JOBWP_TXT_DOMAIN); ?>?</label> |
| 138 |
</th> |
| 139 |
<td> |
| 140 |
<input type="checkbox" name="jobwp_single_hide_loc" class="jobwp_single_hide_loc" id="jobwp_single_hide_loc" |
| 141 |
<?php echo $jobwp_single_hide_loc ? 'checked' : ''; ?> > |
| 142 |
</td> |
| 143 |
<th scope="row"> |
| 144 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 145 |
</th> |
| 146 |
<td> |
| 147 |
<input type="text" name="jobwp_single_loc_text" id="jobwp_single_loc_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_loc_text ); ?>" /> |
| 148 |
</td> |
| 149 |
</tr> |
| 150 |
<tr> |
| 151 |
<th scope="row"> |
| 152 |
<label for="jobwp_single_hide_salary"><?php _e('Hide Salary', JOBWP_TXT_DOMAIN); ?>?</label> |
| 153 |
</th> |
| 154 |
<td> |
| 155 |
<input type="checkbox" name="jobwp_single_hide_salary" class="jobwp_single_hide_salary" id="jobwp_single_hide_salary" |
| 156 |
<?php echo $jobwp_single_hide_salary ? 'checked' : ''; ?> > |
| 157 |
</td> |
| 158 |
<th scope="row"> |
| 159 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 160 |
</th> |
| 161 |
<td> |
| 162 |
<input type="text" name="jobwp_single_salary_text" id="jobwp_single_salary_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_salary_text ); ?>" /> |
| 163 |
</td> |
| 164 |
</tr> |
| 165 |
<tr> |
| 166 |
<th scope="row"> |
| 167 |
<label for="jobwp_single_hide_benefit"><?php _e('Hide Other Benefits', JOBWP_TXT_DOMAIN); ?>?</label> |
| 168 |
</th> |
| 169 |
<td> |
| 170 |
<input type="checkbox" name="jobwp_single_hide_benefit" class="jobwp_single_hide_benefit" id="jobwp_single_hide_benefit" |
| 171 |
<?php echo $jobwp_single_hide_benefit ? 'checked' : ''; ?> > |
| 172 |
</td> |
| 173 |
<th scope="row"> |
| 174 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 175 |
</th> |
| 176 |
<td> |
| 177 |
<input type="text" name="jobwp_single_benefit_text" id="jobwp_single_benefit_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_benefit_text ); ?>" /> |
| 178 |
</td> |
| 179 |
</tr> |
| 180 |
<tr> |
| 181 |
<th scope="row"> |
| 182 |
<label for="jobwp_single_hide_level"><?php _e('Hide Job Level', JOBWP_TXT_DOMAIN); ?>?</label> |
| 183 |
</th> |
| 184 |
<td> |
| 185 |
<input type="checkbox" name="jobwp_single_hide_level" class="jobwp_single_hide_level" id="jobwp_single_hide_level" |
| 186 |
<?php echo $jobwp_single_hide_level ? 'checked' : ''; ?> > |
| 187 |
</td> |
| 188 |
<th scope="row"> |
| 189 |
<label><?php _e('Label Text', JOBWP_TXT_DOMAIN); ?></label> |
| 190 |
</th> |
| 191 |
<td> |
| 192 |
<input type="text" name="jobwp_single_level_text" id="jobwp_single_level_text" class="regular-text" value="<?php esc_attr_e( $jobwp_single_level_text ); ?>" /> |
| 193 |
</td> |
| 194 |
</tr> |
| 195 |
<tr><td colspan="4"><hr></td></tr> |
| 196 |
<tr> |
| 197 |
<th scope="row"> |
| 198 |
<label for="jobwp_hide_apply_procedure"><?php _e('Hide Apply Procedure', JOBWP_TXT_DOMAIN); ?>?</label> |
| 199 |
</th> |
| 200 |
<td> |
| 201 |
<input type="checkbox" name="jobwp_hide_apply_procedure" class="jobwp_hide_apply_procedure" id="jobwp_hide_apply_procedure" |
| 202 |
<?php echo $jobwp_hide_apply_procedure ? 'checked' : ''; ?> > |
| 203 |
</td> |
| 204 |
<th scope="row"> |
| 205 |
<label><?php _e('Apply Procedure Title', JOBWP_TXT_DOMAIN); ?></label> |
| 206 |
</th> |
| 207 |
<td colspan="3"> |
| 208 |
<input type="text" name="jobwp_apply_procedure_title" id="jobwp_apply_procedure_title" class="regular-text" value="<?php esc_attr_e( $jobwp_apply_procedure_title ); ?>" /> |
| 209 |
</td> |
| 210 |
</tr> |
| 211 |
<tr> |
| 212 |
<th colspan="3" scope="row" style="text-align: right;"> |
| 213 |
<label><?php _e('Apply Procedure Content', JOBWP_TXT_DOMAIN); ?></label> |
| 214 |
</th> |
| 215 |
<td colspan="1"> |
| 216 |
<textarea cols="40" style="min-height:100px;" name="jobwp_apply_procedure_content" class="regular-text" id="jobwp_apply_procedure_content"><?php esc_html_e( $jobwp_apply_procedure_content ); ?></textarea> |
| 217 |
</td> |
| 218 |
</tr> |
| 219 |
<tr> |
| 220 |
<th scope="row"> |
| 221 |
<label for="jobwp_hide_apply_button"><?php _e('Hide Apply Button', JOBWP_TXT_DOMAIN); ?>?</label> |
| 222 |
</th> |
| 223 |
<td> |
| 224 |
<input type="checkbox" name="jobwp_hide_apply_button" class="jobwp_hide_apply_button" id="jobwp_hide_apply_button" |
| 225 |
<?php echo $jobwp_hide_apply_button ? 'checked' : ''; ?> > |
| 226 |
</td> |
| 227 |
<th scope="row"> |
| 228 |
<label><?php _e('Apply Button Text', JOBWP_TXT_DOMAIN); ?></label> |
| 229 |
</th> |
| 230 |
<td colspan="3"> |
| 231 |
<input type="text" name="jobwp_apply_button_text" id="jobwp_apply_button_text" class="regular-text" value="<?php esc_attr_e( $jobwp_apply_button_text ); ?>" /> |
| 232 |
</td> |
| 233 |
</tr> |
| 234 |
</table> |
| 235 |
<hr> |
| 236 |
<p class="submit"> |
| 237 |
<button id="updateSingleContent" name="updateSingleContent" class="button button-primary jobwp-button"> |
| 238 |
<i class="fa fa-check-circle" aria-hidden="true"></i> <?php _e('Save Settings', JOBWP_TXT_DOMAIN); ?> |
| 239 |
</button> |
| 240 |
</p> |
| 241 |
|
| 242 |
</form> |