| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; // Exit if accessed directly |
| 4 |
} |
| 5 |
global $wpdb, $wppmfunction; |
| 6 |
?> |
| 7 |
<div class="wppm_bootstrap"> |
| 8 |
<span class="wppm-heading-inline wppm_email_notification_header"> |
| 9 |
<?php echo esc_html_e('Settings','taskbuilder');?> |
| 10 |
</span> |
| 11 |
<div class="wppm_padding_space"></div> |
| 12 |
<div class="row"> |
| 13 |
<div class="col-sm-4 wppm_setting_col1"> |
| 14 |
<ul class="nav nav-pills nav-stacked wppm_setting_pills"> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 20 |
<li id="wppm_settings_miscellaneous" role="presentation"><a href="javascript:wppm_get_miscellaneous_settings();"><?php echo esc_html_e('Miscellaneous','taskbuilder');?></a></li> |
| 21 |
<?php do_action('wppm_after_setting_pills');?> |
| 22 |
</ul> |
| 23 |
</div> |
| 24 |
<div class="col-sm-8 wppm_setting_col2"></div> |
| 25 |
<div id="wppm_alert_success" class="alert alert-success wppm_alert" style="display:none;" role="alert"> |
| 26 |
<img src="<?php echo esc_url( WPPM_PLUGIN_URL . 'asset/images/success.svg'); ?>" alt="success"> |
| 27 |
<span class="wppm_alert_text"></span> |
| 28 |
</div> |
| 29 |
<div id="wppm_alert_error" class="alert alert-danger wppm_alert" style="display:none;" role="alert"> |
| 30 |
<img src="<?php echo esc_url( WPPM_PLUGIN_URL . 'asset/images/warning-triangle.svg'); ?>" alt="warning-triangle"><span class="wppm_alert_text"></span> |
| 31 |
</div> |
| 32 |
</div> |
| 33 |
|
| 34 |
</div> |
| 35 |
<!-- Pop-up snippet start --> |
| 36 |
<div id="wppm_popup_background" style="display:none;"></div> |
| 37 |
<div id="wppm_popup_container" style="display:none;"> |
| 38 |
<div class="wppm_bootstrap"> |
| 39 |
<div class="row"> |
| 40 |
<div id="wppm_popup" class="col-xs-10 col-xs-offset-1 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3"> |
| 41 |
<div id="wppm_popup_title" class="row"><h3><?php echo esc_html_e('Modal Title','taskbuilder');?></h3></div> |
| 42 |
<div id="wppm_popup_body" class="row"><?php echo esc_html_e('I am body!','taskbuilder');?></div> |
| 43 |
<div id="wppm_popup_footer" class="row"> |
| 44 |
<button type="button" class="btn wppm_popup_close"><?php echo esc_html_e('Close','taskbuilder');?></button> |
| 45 |
<button type="button" class="btn wppm_popup_action"><?php echo esc_html_e('Save Changes','taskbuilder');?></button> |
| 46 |
</div> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
</div> |
| 50 |
</div> |
| 51 |
<!-- Pop-up snippet end --> |
| 52 |
<script> |
| 53 |
jQuery(document).ready(function(){ |
| 54 |
wppm_get_general_settings(); |
| 55 |
}); |
| 56 |
</script> |