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

70 lines 3.2 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 <code><?php _e('An email will sent to this email when a candidate submit an applicaiton.', JOBWP_TXT_DOMAIN); ?></code>
40 </td>
41 </tr>
42 <tr>
43 <th scope="row">
44 <label><?php _e('Job List Layout', JOBWP_TXT_DOMAIN); ?></label>
45 </th>
46 <td>
47 <input type="radio" name="jobwp_list_layout" id="jobwp_list_layout_list" value="list" <?php echo ( 'list' === $jobwp_list_layout ) ? 'checked' : ''; ?> >
48 <label for="jobwp_list_layout_list"><span></span><?php _e('List', JOBWP_TXT_DOMAIN); ?></label>
49 &nbsp;&nbsp;
50 <input type="radio" name="jobwp_list_layout" id="jobwp_list_layout_grid" value="grid" <?php echo ( 'grid' === $jobwp_list_layout ) ? 'checked' : ''; ?> >
51 <label for="jobwp_list_layout_grid"><span></span><?php _e('Grid', JOBWP_TXT_DOMAIN); ?></label>
52 </td>
53 </tr>
54 </table>
55 <hr>
56 <p class="submit">
57 <button id="updateGeneralSettings" name="updateGeneralSettings" class="button button-primary jobwp-button">
58 <i class="fa fa-check-circle" aria-hidden="true"></i>&nbsp;<?php _e('Save Settings', JOBWP_TXT_DOMAIN); ?>
59 </button>
60 </p>
61 </form>
62 </div>
63
64 </div>
65
66 <?php include_once('partial/admin-sidebar.php'); ?>
67
68 </div>
69
70 </div>