PluginProbe
Taskbuilder – Project Management & Task Management Tool With Kanban Board / 2.0.6
Taskbuilder – Project Management & Task Management Tool With Kanban Board v2.0.6
6.0.5 6.0.2 6.0.3 6.0.4 6.0.1 6.0.0 5.0.8 5.0.9 4.0.9 5.0.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 All 57 releases
← All changes | includes/admin/settings.php +1 -50 5.0.32.0.6 View file →
@@ -1,14 +1,9 @@
1 1 <?php
2 2 if ( ! defined( 'ABSPATH' ) ) {
3 3 exit; // Exit if accessed directly
4 4 }
5 -global $wpdb, $wppmfunction,$current_user;
6 -$popup_settings = get_option("wppm-ap-modal");
7 -$wppm_ap_settings = get_option("wppm-ap-settings");
8 -if (!($current_user->ID && $current_user->has_cap('wppm_admin') || $current_user->has_cap('manage_options'))) {
9 - exit;
10 -}
5 +global $wpdb, $wppmfunction;
11 6 ?>
12 7 <div class="wppm_bootstrap">
13 8 <span class="wppm-heading-inline wppm_email_notification_header">
14 9 <?php echo esc_html_e('Settings','taskbuilder');?>
@@ -17,18 +12,13 @@
17 12 <div class="row">
18 13 <div class="col-sm-4 wppm_setting_col1">
19 14 <ul class="nav nav-pills nav-stacked wppm_setting_pills">
20 15 <li id="wppm_settings_general" role="presentation" class="active"><a href="javascript:wppm_get_general_settings();"><?php echo esc_html_e('General','taskbuilder');?></a></li>
21 - <li id="wppm_settings_page" role="presentation" class="active"><a href="javascript:wppm_get_page_settings();"><?php echo esc_html_e('Page Setting','taskbuilder');?></a></li>
22 16 <li id="wppm_settings_category" role="presentation"><a href="javascript:wppm_get_category_settings();"><?php echo esc_html_e('Project Categories','taskbuilder');?></a></li>
23 17 <li id="wppm_settings_proj_status" role="presentation"><a href="javascript:wppm_get_proj_status_settings();"><?php echo esc_html_e('Project Statuses','taskbuilder');?></a></li>
24 18 <li id="wppm_settings_task_priorities" role="presentation"><a href="javascript:wppm_get_task_prioriy_settings();"><?php echo esc_html_e('Tasks Priorities','taskbuilder');?></a></li>
25 19 <li id="wppm_settings_task_status" role="presentation"><a href="javascript:wppm_get_task_status_settings();"><?php echo esc_html_e('Task Statuses','taskbuilder');?></a></li>
26 20 <li id="wppm_settings_miscellaneous" role="presentation"><a href="javascript:wppm_get_miscellaneous_settings();"><?php echo esc_html_e('Miscellaneous','taskbuilder');?></a></li>
27 - <li id="wppm_settings_appearance" role="presentation"><a href="javascript:wppm_get_appearance_settings();"><?php echo esc_html_e('Appearance','taskbuilder');?></a></li>
28 - <li id="wppm_settings_coworker" role="presentation"><a href="javascript:wppm_get_coworker_permission_settings();"><?php echo esc_html_e('Co-workers Permission','taskbuilder');?></a></li>
29 - <li id="wppm_settings_rich_text_editor" role="presentation"><a href="javascript:wppm_get_rich_text_editor_settings();"><?php echo esc_html_e('Rich Text Editor','taskbuilder');?></a></li>
30 - <li id="wppm_settings_print_task" role="presentation"><a href="javascript:wppm_get_print_task_settings();"><?php echo esc_html_e('Print Task','taskbuilder');?></a></li>
31 21 <?php do_action('wppm_after_setting_pills');?>
32 22 </ul>
33 23 </div>
34 24 <div class="col-sm-8 wppm_setting_col2"></div>
@@ -57,47 +47,8 @@
57 47 </div>
58 48 </div>
59 49 </div>
60 50 </div>
61 -<style>
62 - #wppm_popup_title{
63 - background-color: <?php echo esc_attr($popup_settings['header-bg-color'])?>;
64 - }
65 - #wppm_popup_title h3{
66 - color:<?php echo esc_attr( $popup_settings['header-text-color'])?>;
67 - }
68 - #wppm_popup_body{
69 - background-color: <?php echo esc_attr($popup_settings['body-bg-color'])?>!important;
70 - }
71 - #wppm_popup_body label{
72 - color:<?php echo esc_attr( $popup_settings['body-label-color'])?>;
73 - }
74 - #wppm_popup_body input{
75 - color:<?php echo esc_attr( $popup_settings['body-text-color'])?>;
76 - }
77 - #wppm_popup_body select{
78 - color:<?php echo esc_attr( $popup_settings['body-text-color'])?>;
79 - }
80 - #wppm_popup_body span {
81 - color:<?php echo esc_attr( $popup_settings['body-text-color'])?>;
82 - }
83 - #wppm_popup_body .select2-results__options {
84 - color:<?php echo esc_attr( $popup_settings['body-text-color'])?>;
85 - }
86 - #wppm_popup_footer{
87 - background-color: <?php echo esc_attr($popup_settings['footer-bg-color'])?>!important;
88 - }
89 - .wppm_popup_action{
90 - background-color: <?php echo esc_attr($popup_settings['action-btn-bg-color'])?>!important;
91 - color:<?php echo esc_attr( $popup_settings['action-btn-text-color'])?>!important;
92 - }
93 - .wppm_bootstrap .nav-pills > li.active > a,
94 - .wppm_bootstrap .nav-pills > li.active > a:hover,
95 - .wppm_bootstrap .nav-pills > li.active > a:focus {
96 - color: <?php echo esc_attr( $wppm_ap_settings['tab-text-color'])?>!important;
97 - background-color:<?php echo esc_attr($wppm_ap_settings['tab-background-color'])?>!important;
98 - }
99 -</style>
100 51 <!-- Pop-up snippet end -->
101 52 <script>
102 53 jQuery(document).ready(function(){
103 54 wppm_get_general_settings();