| 1 |
<?php |
| 2 |
|
| 3 |
if ( !defined( 'ABSPATH' ) ) { |
| 4 |
exit; |
| 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 class="jobwp_display_company_name"> |
| 16 |
<th scope="row"> |
| 17 |
<label for="jobwp_display_company_name"><?php |
| 18 |
_e( 'Display Company Name', JOBWP_TXT_DOMAIN ); |
| 19 |
?>?</label> |
| 20 |
</th> |
| 21 |
<td> |
| 22 |
<?php |
| 23 |
?> |
| 24 |
<span><?php |
| 25 |
echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>'; |
| 26 |
?></span> |
| 27 |
<?php |
| 28 |
?> |
| 29 |
</td> |
| 30 |
</tr> |
| 31 |
<tr class="jobwp_display_company_logo"> |
| 32 |
<th scope="row"> |
| 33 |
<label for="jobwp_display_company_logo"><?php |
| 34 |
_e( 'Display Company Logo', JOBWP_TXT_DOMAIN ); |
| 35 |
?>?</label> |
| 36 |
</th> |
| 37 |
<td> |
| 38 |
<?php |
| 39 |
?> |
| 40 |
<span><?php |
| 41 |
echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>'; |
| 42 |
?></span> |
| 43 |
<?php |
| 44 |
?> |
| 45 |
</td> |
| 46 |
</tr> |
| 47 |
<tr> |
| 48 |
<th scope="row"> |
| 49 |
<label for="jobwp_list_display_overview"><?php |
| 50 |
_e( 'Hide Overview', JOBWP_TXT_DOMAIN ); |
| 51 |
?>?</label> |
| 52 |
<span class="dashicons dashicons-info-outline jobwp-admin-icon"></span> |
| 53 |
<img src="<?php |
| 54 |
echo esc_attr( JOBWP_ASSETS . 'img/jobwp-list-hide-overview.webp' ); |
| 55 |
?>" class="jobwp-admin-help-img"> |
| 56 |
</th> |
| 57 |
<td> |
| 58 |
<input type="checkbox" name="jobwp_list_display_overview" class="jobwp_list_display_overview" id="jobwp_list_display_overview" |
| 59 |
<?php |
| 60 |
echo ( $jobwp_list_display_overview ? 'checked' : '' ); |
| 61 |
?> > |
| 62 |
</td> |
| 63 |
<th scope="row"> |
| 64 |
<label for="wbg_cat_label_txt"><?php |
| 65 |
_e( 'Word Lengtht', JOBWP_TXT_DOMAIN ); |
| 66 |
?></label> |
| 67 |
</th> |
| 68 |
<td> |
| 69 |
<input type="number" name="jobwp_list_overview_length" class="medium-text" min="1" max="150" step="1" value="<?php |
| 70 |
esc_attr_e( $jobwp_list_overview_length ); |
| 71 |
?>"> |
| 72 |
</td> |
| 73 |
</tr> |
| 74 |
<tr> |
| 75 |
<th scope="row"> |
| 76 |
<label for="jobwp_list_display_experience"><?php |
| 77 |
_e( 'Hide Experience', JOBWP_TXT_DOMAIN ); |
| 78 |
?>?</label> |
| 79 |
</th> |
| 80 |
<td> |
| 81 |
<input type="checkbox" name="jobwp_list_display_experience" class="jobwp_list_display_experience" id="jobwp_list_display_experience" |
| 82 |
<?php |
| 83 |
echo ( $jobwp_list_display_experience ? 'checked' : '' ); |
| 84 |
?> > |
| 85 |
</td> |
| 86 |
<th scope="row"> |
| 87 |
<label><?php |
| 88 |
_e( 'Label Text', JOBWP_TXT_DOMAIN ); |
| 89 |
?></label> |
| 90 |
</th> |
| 91 |
<td> |
| 92 |
<input type="text" name="jobwp_list_exp_lbl_txt" id="jobwp_list_exp_lbl_txt" class="regular-text" value="<?php |
| 93 |
esc_attr_e( $jobwp_list_exp_lbl_txt ); |
| 94 |
?>" /> |
| 95 |
</td> |
| 96 |
</tr> |
| 97 |
<tr> |
| 98 |
<th scope="row"> |
| 99 |
<label for="jobwp_list_display_deadline"><?php |
| 100 |
_e( 'Hide Deadline', JOBWP_TXT_DOMAIN ); |
| 101 |
?>?</label> |
| 102 |
</th> |
| 103 |
<td> |
| 104 |
<input type="checkbox" name="jobwp_list_display_deadline" class="jobwp_list_display_deadline" id="jobwp_list_display_deadline" |
| 105 |
<?php |
| 106 |
echo ( $jobwp_list_display_deadline ? 'checked' : '' ); |
| 107 |
?> > |
| 108 |
</td> |
| 109 |
<th scope="row"> |
| 110 |
<label><?php |
| 111 |
_e( 'Label Text', JOBWP_TXT_DOMAIN ); |
| 112 |
?></label> |
| 113 |
</th> |
| 114 |
<td> |
| 115 |
<input type="text" name="jobwp_list_deadline_lbl_txt" id="jobwp_list_deadline_lbl_txt" class="regular-text" value="<?php |
| 116 |
esc_attr_e( $jobwp_list_deadline_lbl_txt ); |
| 117 |
?>" /> |
| 118 |
</td> |
| 119 |
</tr> |
| 120 |
<tr> |
| 121 |
<th scope="row"> |
| 122 |
<label for="jobwp_list_display_location"><?php |
| 123 |
_e( 'Hide Location', JOBWP_TXT_DOMAIN ); |
| 124 |
?>?</label> |
| 125 |
</th> |
| 126 |
<td> |
| 127 |
<input type="checkbox" name="jobwp_list_display_location" class="jobwp_list_display_location" id="jobwp_list_display_location" |
| 128 |
<?php |
| 129 |
echo ( $jobwp_list_display_location ? 'checked' : '' ); |
| 130 |
?> > |
| 131 |
</td> |
| 132 |
<th scope="row"> |
| 133 |
<label><?php |
| 134 |
_e( 'Label Text', JOBWP_TXT_DOMAIN ); |
| 135 |
?></label> |
| 136 |
</th> |
| 137 |
<td> |
| 138 |
<input type="text" name="jobwp_list_loc_lbl_txt" id="jobwp_list_loc_lbl_txt" class="regular-text" value="<?php |
| 139 |
esc_attr_e( $jobwp_list_loc_lbl_txt ); |
| 140 |
?>" /> |
| 141 |
</td> |
| 142 |
</tr> |
| 143 |
<tr class="jobwp_list_display_jtype"> |
| 144 |
<th scope="row"> |
| 145 |
<label for="jobwp_list_display_jtype"><?php |
| 146 |
_e( 'Hide Job Type', JOBWP_TXT_DOMAIN ); |
| 147 |
?>?</label> |
| 148 |
</th> |
| 149 |
<td> |
| 150 |
<input type="checkbox" name="jobwp_list_display_jtype" class="jobwp_list_display_jtype" id="jobwp_list_display_jtype" |
| 151 |
<?php |
| 152 |
echo ( $jobwp_list_display_jtype ? 'checked' : '' ); |
| 153 |
?> > |
| 154 |
</td> |
| 155 |
<th scope="row"> |
| 156 |
<label><?php |
| 157 |
_e( 'Label Text', JOBWP_TXT_DOMAIN ); |
| 158 |
?></label> |
| 159 |
</th> |
| 160 |
<td> |
| 161 |
<input type="text" name="jobwp_list_job_type_lbl_txt" id="jobwp_list_job_type_lbl_txt" class="regular-text" value="<?php |
| 162 |
esc_attr_e( $jobwp_list_job_type_lbl_txt ); |
| 163 |
?>" /> |
| 164 |
</td> |
| 165 |
</tr> |
| 166 |
<tr class="jobwp_display_listing_read_more"> |
| 167 |
<th scope="row"> |
| 168 |
<label for="jobwp_display_listing_read_more"><?php |
| 169 |
_e( 'Display Read More', JOBWP_TXT_DOMAIN ); |
| 170 |
?>?</label> |
| 171 |
</th> |
| 172 |
<td> |
| 173 |
<?php |
| 174 |
?> |
| 175 |
<span><?php |
| 176 |
echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>'; |
| 177 |
?></span> |
| 178 |
<?php |
| 179 |
?> |
| 180 |
</td> |
| 181 |
<th scope="row"> |
| 182 |
<label for="jobwp_listing_read_more_txt"><?php |
| 183 |
_e( 'Label Text', JOBWP_TXT_DOMAIN ); |
| 184 |
?></label> |
| 185 |
</th> |
| 186 |
<td> |
| 187 |
<?php |
| 188 |
?> |
| 189 |
<span><?php |
| 190 |
echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>'; |
| 191 |
?></span> |
| 192 |
<?php |
| 193 |
?> |
| 194 |
</td> |
| 195 |
</tr> |
| 196 |
<tr class="jobwp_hide_total_jobs_found"> |
| 197 |
<th scope="row"> |
| 198 |
<label for="jobwp_hide_total_jobs_found"><?php |
| 199 |
_e( 'Hide Total Jobs Found', JOBWP_TXT_DOMAIN ); |
| 200 |
?>?</label> |
| 201 |
</th> |
| 202 |
<td> |
| 203 |
<input type="checkbox" name="jobwp_hide_total_jobs_found" class="jobwp_hide_total_jobs_found" id="jobwp_hide_total_jobs_found" |
| 204 |
<?php |
| 205 |
echo ( $jobwp_hide_total_jobs_found ? 'checked' : '' ); |
| 206 |
?> > |
| 207 |
</td> |
| 208 |
<th scope="row"> |
| 209 |
<label for="jobwp_total_jobs_found_lbl_txt"><?php |
| 210 |
_e( 'Label Text', JOBWP_TXT_DOMAIN ); |
| 211 |
?></label> |
| 212 |
</th> |
| 213 |
<td> |
| 214 |
<input type="text" name="jobwp_total_jobs_found_lbl_txt" id="jobwp_total_jobs_found_lbl_txt" class="regular-text" value="<?php |
| 215 |
esc_attr_e( $jobwp_total_jobs_found_lbl_txt ); |
| 216 |
?>" /> |
| 217 |
</td> |
| 218 |
</tr> |
| 219 |
<tr class="jobwp_display_listing_icon"> |
| 220 |
<th scope="row"> |
| 221 |
<label for="jobwp_display_listing_icon"><?php |
| 222 |
_e( 'Hide Icon', JOBWP_TXT_DOMAIN ); |
| 223 |
?>?</label> |
| 224 |
</th> |
| 225 |
<td> |
| 226 |
<?php |
| 227 |
?> |
| 228 |
<span><?php |
| 229 |
echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>'; |
| 230 |
?></span> |
| 231 |
<?php |
| 232 |
?> |
| 233 |
</td> |
| 234 |
</tr> |
| 235 |
</table> |
| 236 |
<hr> |
| 237 |
<p class="submit"> |
| 238 |
<button id="updateListingContent" name="updateListingContent" class="button button-primary jobwp-button"> |
| 239 |
<i class="fa fa-check-circle" aria-hidden="true"></i> <?php |
| 240 |
_e( 'Save Settings', JOBWP_TXT_DOMAIN ); |
| 241 |
?> |
| 242 |
</button> |
| 243 |
</p> |
| 244 |
|
| 245 |
</form> |