PluginProbe
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications / 2.0
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications v2.0
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.0, at admin/view/general.php

90 lines 4.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4 }
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 _e('General Settings', JOBWP_TXT_DOMAIN); ?></h2>
17 </div>
18
19 <?php
20 if ( $jobwpGeneralMessage ) {
21 $this->jobwp_display_notification('success', 'Your information updated successfully.');
22 echo '<br>';
23 }
24 ?>
25
26 <div class="jobwp-wrap">
27
28 <div class="jobwp_personal_wrap jobwp_personal_help" style="width: 76%; float: left;">
29
30 <div class="tab-content">
31 <form name="jobwp_general_settings_form" role="form" class="form-horizontal" method="post" action="" id="jobwp-general-settings-form">
32 <table class="jobwp-single-settings-table">
33 <tr>
34 <th scope="row">
35 <label><?php _e('Admin Notification Email', JOBWP_TXT_DOMAIN); ?></label>
36 </th>
37 <td>
38 <input type="text" name="jobwp_admin_noti_email" id="jobwp_admin_noti_email" class="regular-text" value="<?php esc_attr_e( $jobwp_admin_noti_email ); ?>" />
39 <br>
40 <code><?php _e('An email will sent to this email when a candidate submit an applicaiton.', JOBWP_TXT_DOMAIN); ?></code>
41 </td>
42 </tr>
43 <tr>
44 <th scope="row">
45 <label><?php _e('Job Page Layout', JOBWP_TXT_DOMAIN); ?></label>
46 </th>
47 <td>
48 <input type="radio" name="jobwp_list_layout" id="jobwp_list_layout_list" value="list" <?php echo ( 'list' === $jobwp_list_layout ) ? 'checked' : ''; ?> >
49 <label for="jobwp_list_layout_list"><span></span><?php _e('List', JOBWP_TXT_DOMAIN); ?></label>
50 &nbsp;&nbsp;
51 <input type="radio" name="jobwp_list_layout" id="jobwp_list_layout_grid" value="grid" <?php echo ( 'grid' === $jobwp_list_layout ) ? 'checked' : ''; ?> >
52 <label for="jobwp_list_layout_grid"><span></span><?php _e('Grid', JOBWP_TXT_DOMAIN); ?></label>
53 </td>
54 </tr>
55 <tr>
56 <th scope="row">
57 <label for="jobwp_ext_application_form"><?php _e('Use External Application Form', JOBWP_TXT_DOMAIN); ?>?</label>
58 </th>
59 <td>
60 <input type="checkbox" name="jobwp_ext_application_form" class="jobwp_ext_application_form" id="jobwp_ext_application_form"
61 <?php echo $jobwp_ext_application_form ? 'checked' : ''; ?> >
62 </td>
63 </tr>
64 <tr>
65 <th scope="row">
66 <label><?php _e('External Application Form Shortcode', JOBWP_TXT_DOMAIN); ?></label>
67 </th>
68 <td>
69 <input type="text" name="jobwp_ext_application_form_shortcode" id="jobwp_ext_application_form_shortcode" class="regular-text" value="<?php esc_attr_e( stripslashes( $jobwp_ext_application_form_shortcode ) ); ?>" />
70 <br>
71 <code><?php _e('You can use external form instead of default application form. Like WPForms, Contact Form etc.', JOBWP_TXT_DOMAIN); ?></code>
72 </td>
73 </tr>
74 </table>
75 <hr>
76 <p class="submit">
77 <button id="updateGeneralSettings" name="updateGeneralSettings" class="button button-primary jobwp-button">
78 <i class="fa fa-check-circle" aria-hidden="true"></i>&nbsp;<?php _e('Save Settings', JOBWP_TXT_DOMAIN); ?>
79 </button>
80 </p>
81 </form>
82 </div>
83
84 </div>
85
86 <?php include_once('partial/admin-sidebar.php'); ?>
87
88 </div>
89
90 </div>