| 1 |
<?php |
| 2 |
|
| 3 |
if ( !defined( 'ABSPATH' ) ) { |
| 4 |
exit; |
| 5 |
} |
| 6 |
//print_r( $jobwpApplyFormContent ); |
| 7 |
foreach ( $jobwpApplyFormContent as $option_name => $option_value ) { |
| 8 |
if ( isset( $jobwpApplyFormContent[$option_name] ) ) { |
| 9 |
${"" . $option_name} = $option_value; |
| 10 |
} |
| 11 |
} |
| 12 |
?> |
| 13 |
<form name="jobwp_apply_form_content_settings_form" role="form" class="form-horizontal" method="post" action="" id="jobwp-apply-form-content-settings-form"> |
| 14 |
<table class="jobwp-listing-content-settings-table"> |
| 15 |
<tr> |
| 16 |
<th scope="row"> |
| 17 |
<label for="jobwp_hide_apply_form_title"><?php |
| 18 |
_e( 'Hide Form Title', JOBWP_TXT_DOMAIN ); |
| 19 |
?>?</label> |
| 20 |
</th> |
| 21 |
<td> |
| 22 |
<input type="checkbox" name="jobwp_hide_apply_form_title" id="jobwp_hide_apply_form_title" <?php |
| 23 |
echo ( $jobwp_hide_apply_form_title ? 'checked' : '' ); |
| 24 |
?>> |
| 25 |
</td> |
| 26 |
<th scope="row"> |
| 27 |
<label><?php |
| 28 |
_e( 'Title Text', JOBWP_TXT_DOMAIN ); |
| 29 |
?></label> |
| 30 |
</th> |
| 31 |
<td> |
| 32 |
<input type="text" name="jobwp_apply_form_title" id="jobwp_apply_form_title" class="regular-text" value="<?php |
| 33 |
esc_attr_e( $jobwp_apply_form_title ); |
| 34 |
?>" /> |
| 35 |
</td> |
| 36 |
</tr> |
| 37 |
<tr> |
| 38 |
<th scope="row"> |
| 39 |
<label><?php |
| 40 |
_e( 'Name Label', JOBWP_TXT_DOMAIN ); |
| 41 |
?></label> |
| 42 |
</th> |
| 43 |
<td colspan="3"> |
| 44 |
<input type="text" name="jobwp_apply_form_name_label" id="jobwp_apply_form_name_label" class="regular-text" value="<?php |
| 45 |
esc_attr_e( $jobwp_apply_form_name_label ); |
| 46 |
?>" /> |
| 47 |
</td> |
| 48 |
</tr> |
| 49 |
<tr> |
| 50 |
<th scope="row"> |
| 51 |
<label><?php |
| 52 |
_e( 'Email Label', JOBWP_TXT_DOMAIN ); |
| 53 |
?></label> |
| 54 |
</th> |
| 55 |
<td colspan="3"> |
| 56 |
<input type="text" name="jobwp_apply_form_email_label" id="jobwp_apply_form_email_label" class="regular-text" value="<?php |
| 57 |
esc_attr_e( $jobwp_apply_form_email_label ); |
| 58 |
?>" /> |
| 59 |
</td> |
| 60 |
</tr> |
| 61 |
<!-- Cover Letter --> |
| 62 |
<tr> |
| 63 |
<th scope="row"> |
| 64 |
<label for="jobwp_hide_apply_form_cover"><?php |
| 65 |
_e( 'Hide Cover Letter', JOBWP_TXT_DOMAIN ); |
| 66 |
?>?</label> |
| 67 |
</th> |
| 68 |
<td> |
| 69 |
<input type="checkbox" name="jobwp_hide_apply_form_cover" id="jobwp_hide_apply_form_cover" <?php |
| 70 |
echo ( $jobwp_hide_apply_form_cover ? 'checked' : '' ); |
| 71 |
?>> |
| 72 |
</td> |
| 73 |
<th scope="row"> |
| 74 |
<label><?php |
| 75 |
_e( 'Cover Letter Label', JOBWP_TXT_DOMAIN ); |
| 76 |
?></label> |
| 77 |
</th> |
| 78 |
<td> |
| 79 |
<input type="text" name="jobwp_apply_form_cover_letter_label" id="jobwp_apply_form_cover_letter_label" class="regular-text" value="<?php |
| 80 |
esc_attr_e( $jobwp_apply_form_cover_letter_label ); |
| 81 |
?>" /> |
| 82 |
</td> |
| 83 |
</tr> |
| 84 |
<!-- Phone --> |
| 85 |
<tr> |
| 86 |
<th scope="row"> |
| 87 |
<label for="jobwp_display_apply_form_phone"><?php |
| 88 |
_e( 'Display Phone', JOBWP_TXT_DOMAIN ); |
| 89 |
?>?</label> |
| 90 |
</th> |
| 91 |
<td> |
| 92 |
<?php |
| 93 |
?> |
| 94 |
<span><?php |
| 95 |
echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>'; |
| 96 |
?></span> |
| 97 |
<?php |
| 98 |
?> |
| 99 |
</td> |
| 100 |
<th scope="row"> |
| 101 |
<label><?php |
| 102 |
_e( 'Phone Label', JOBWP_TXT_DOMAIN ); |
| 103 |
?></label> |
| 104 |
</th> |
| 105 |
<td> |
| 106 |
<?php |
| 107 |
?> |
| 108 |
<span><?php |
| 109 |
echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>'; |
| 110 |
?></span> |
| 111 |
<?php |
| 112 |
?> |
| 113 |
</td> |
| 114 |
</tr> |
| 115 |
<tr><td colspan="4"><hr></td></tr> |
| 116 |
<!-- User Consent --> |
| 117 |
<tr> |
| 118 |
<th scope="row"> |
| 119 |
<label for="jobwp_apply_form_user_consent"><?php |
| 120 |
_e( 'Hide User Consent', JOBWP_TXT_DOMAIN ); |
| 121 |
?>?</label> |
| 122 |
</th> |
| 123 |
<td> |
| 124 |
<?php |
| 125 |
?> |
| 126 |
<span><?php |
| 127 |
echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>'; |
| 128 |
?></span> |
| 129 |
<?php |
| 130 |
?> |
| 131 |
</td> |
| 132 |
<th scope="row"> |
| 133 |
<label><?php |
| 134 |
_e( 'User Consent Text', JOBWP_TXT_DOMAIN ); |
| 135 |
?></label> |
| 136 |
</th> |
| 137 |
<td> |
| 138 |
<?php |
| 139 |
?> |
| 140 |
<span><?php |
| 141 |
echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>'; |
| 142 |
?></span> |
| 143 |
<?php |
| 144 |
?> |
| 145 |
</td> |
| 146 |
</tr> |
| 147 |
<tr> |
| 148 |
<th scope="row"> |
| 149 |
<label><?php |
| 150 |
_e( 'Submit Button Text', JOBWP_TXT_DOMAIN ); |
| 151 |
?></label> |
| 152 |
</th> |
| 153 |
<td colspan="3"> |
| 154 |
<input type="text" name="jobwp_apply_form_submit_btn_txt" id="jobwp_apply_form_submit_btn_txt" class="medium-text" value="<?php |
| 155 |
esc_attr_e( $jobwp_apply_form_submit_btn_txt ); |
| 156 |
?>" /> |
| 157 |
</td> |
| 158 |
</tr> |
| 159 |
</table> |
| 160 |
<hr> |
| 161 |
<p class="submit"> |
| 162 |
<button id="updateApplyFormContent" name="updateApplyFormContent" class="button button-primary jobwp-button"> |
| 163 |
<i class="fa fa-check-circle" aria-hidden="true"></i> <?php |
| 164 |
_e( 'Save Settings', JOBWP_TXT_DOMAIN ); |
| 165 |
?> |
| 166 |
</button> |
| 167 |
</p> |
| 168 |
|
| 169 |
</form> |