PluginProbe
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications / 2.3.2
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications v2.3.2
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 / general.php

general.php in JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications 2.3.2, at admin/view/general.php

160 lines 6.1 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( $jobwpGeneralSettings );
7 foreach ( $jobwpGeneralSettings as $option_name => $option_value ) {
8 if ( isset( $jobwpGeneralSettings[$option_name] ) ) {
9 ${"" . $option_name} = $option_value;
10 }
11 }
12 ?>
13 <div id="wph-wrap-all" class="wrap jobwp-single-settings-page">
14
15 <div class="settings-banner">
16 <h2><i class="fa fa-cogs" aria-hidden="true"></i>&nbsp;<?php
17 _e( 'General Settings', JOBWP_TXT_DOMAIN );
18 ?></h2>
19 </div>
20
21 <?php
22
23 if ( $jobwpGeneralMessage ) {
24 $this->jobwp_display_notification( 'success', 'Your information updated successfully.' );
25 echo '<br>' ;
26 }
27
28 ?>
29
30 <div class="jobwp-wrap">
31
32 <div class="jobwp_personal_wrap jobwp_personal_help" style="width: 76%; float: left;">
33
34 <div class="tab-content">
35 <form name="jobwp_general_settings_form" role="form" class="form-horizontal" method="post" action="" id="jobwp-general-settings-form">
36 <table class="jobwp-single-settings-table">
37 <tr>
38 <th scope="row">
39 <label><?php
40 _e( 'Admin Notification Email', JOBWP_TXT_DOMAIN );
41 ?></label>
42 </th>
43 <td>
44 <input type="text" name="jobwp_admin_noti_email" id="jobwp_admin_noti_email" class="regular-text" value="<?php
45 esc_attr_e( $jobwp_admin_noti_email );
46 ?>" />
47 <br>
48 <code><?php
49 _e( 'An email will sent to this email when a candidate submit an applicaiton.', JOBWP_TXT_DOMAIN );
50 ?></code>
51 </td>
52 </tr>
53 <tr>
54 <th scope="row">
55 <label for="jobwp_ext_apply_now_url"><?php
56 _e( 'Notification Email to User Role', JOBWP_TXT_DOMAIN );
57 ?></label>
58 </th>
59 <td>
60 <?php
61 ?>
62 <span><?php
63 echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>' ;
64 ?></span>
65 <?php
66 ?>
67 <br>
68 <code><?php
69 _e( 'An email will sent to this role based user emails when a candidate submit an applicaiton.', JOBWP_TXT_DOMAIN );
70 ?></code>
71 </td>
72 </tr>
73 <tr>
74 <th scope="row">
75 <label><?php
76 _e( 'Job Page Layout', JOBWP_TXT_DOMAIN );
77 ?></label>
78 </th>
79 <td>
80 <input type="radio" name="jobwp_list_layout" id="jobwp_list_layout_list" value="list" <?php
81 echo ( 'list' === $jobwp_list_layout ? 'checked' : '' ) ;
82 ?> >
83 <label for="jobwp_list_layout_list"><span></span><?php
84 _e( 'List', JOBWP_TXT_DOMAIN );
85 ?></label>
86 &nbsp;&nbsp;
87 <input type="radio" name="jobwp_list_layout" id="jobwp_list_layout_grid" value="grid" <?php
88 echo ( 'grid' === $jobwp_list_layout ? 'checked' : '' ) ;
89 ?> >
90 <label for="jobwp_list_layout_grid"><span></span><?php
91 _e( 'Grid', JOBWP_TXT_DOMAIN );
92 ?></label>
93 </td>
94 </tr>
95 <tr>
96 <th scope="row">
97 <label for="jobwp_ext_application_form"><?php
98 _e( 'Use External Application Form', JOBWP_TXT_DOMAIN );
99 ?>?</label>
100 </th>
101 <td>
102 <input type="checkbox" name="jobwp_ext_application_form" class="jobwp_ext_application_form" id="jobwp_ext_application_form"
103 <?php
104 echo ( $jobwp_ext_application_form ? 'checked' : '' ) ;
105 ?> >
106 </td>
107 </tr>
108 <tr>
109 <th scope="row">
110 <label><?php
111 _e( 'External Application Form Shortcode', JOBWP_TXT_DOMAIN );
112 ?></label>
113 </th>
114 <td>
115 <input type="text" name="jobwp_ext_application_form_shortcode" id="jobwp_ext_application_form_shortcode" class="regular-text" value="<?php
116 esc_attr_e( stripslashes( $jobwp_ext_application_form_shortcode ) );
117 ?>" />
118 <br>
119 <code><?php
120 _e( 'You can use external form instead of default application form. Like WPForms, Contact Form etc.', JOBWP_TXT_DOMAIN );
121 ?></code>
122 </td>
123 </tr>
124 <tr>
125 <th scope="row">
126 <label for="jobwp_ext_apply_now_url"><?php
127 _e( 'Allow External Application URL', JOBWP_TXT_DOMAIN );
128 ?>?</label>
129 </th>
130 <td>
131 <?php
132 ?>
133 <span><?php
134 echo '<a href="' . job_fs()->get_upgrade_url() . '">' . __( 'Please Upgrade Now', 'jobwp' ) . '</a>' ;
135 ?></span>
136 <?php
137 ?>
138 </td>
139 </tr>
140 </table>
141 <hr>
142 <p class="submit">
143 <button id="updateGeneralSettings" name="updateGeneralSettings" class="button button-primary jobwp-button">
144 <i class="fa fa-check-circle" aria-hidden="true"></i>&nbsp;<?php
145 _e( 'Save Settings', JOBWP_TXT_DOMAIN );
146 ?>
147 </button>
148 </p>
149 </form>
150 </div>
151
152 </div>
153
154 <?php
155 include_once 'partial/admin-sidebar.php';
156 ?>
157
158 </div>
159
160 </div>