PluginProbe
Taskbuilder – Project Management & Task Management Tool With Kanban Board / 1.0.2
Taskbuilder – Project Management & Task Management Tool With Kanban Board v1.0.2
6.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 All 58 releases
taskbuilder / includes / admin / email_notifications / wppm_get_en_general_setting.php

wppm_get_en_general_setting.php in Taskbuilder – Project Management & Task Management Tool With Kanban Board 1.0.2, at includes/admin/email_notifications/wppm_get_en_general_setting.php

36 lines 2.1 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; // Exit if accessed directly
4 }
5
6 global $current_user,$wpdb,$wppmfunction;
7 if (!($current_user->ID && $current_user->has_cap('manage_options'))) {
8 exit;
9 }
10 ?>
11 <form id="wppm_en_frm_general_settings" method="post" action="javascript:wppm_set_en_general_settings();">
12 <div class="form-group">
13 <label for="wppm_en_from_name"><?php echo esc_html_e('From Name','taskbuilder');?></label>
14 <p class="help-block"><?php echo esc_html_e('Emails to send by this name.','taskbuilder');?></p>
15 <input type="text" class="form-control" name="wppm_en_from_name" id="wppm_en_from_name" value="<?php echo esc_attr(get_option('wppm_en_from_name',''));?>" />
16 </div>
17 <div class="form-group">
18 <label for="wppm_en_from_email"><?php echo esc_html_e('From Email','taskbuilder');?></label>
19 <p class="help-block"><?php echo esc_html_e('Emails to send from this email.','taskbuilder');?></p>
20 <input type="text" class="form-control" name="wppm_en_from_email" id="wppm_en_from_email" value="<?php echo esc_attr(get_option('wppm_en_from_email',''));?>" />
21 </div>
22 <div class="form-group">
23 <label for="wppm_en_ignore_emails"><?php echo esc_html_e('Block Emails','taskbuilder');?></label>
24 <p class="help-block"><?php echo esc_html_e('Emails will not be sent to these email addresses. New email should begin on new line.','taskbuilder');?></p>
25 <?php
26 $ignore_emails = get_option('wppm_en_ignore_emails',array());
27 $ignore_emails = $wppmfunction->sanitize_array($ignore_emails);
28 ?>
29 <textarea class="form-control" style="height:100px !important;" name="wppm_en_ignore_emails" id="wppm_en_ignore_emails"><?php echo stripcslashes(implode('\n', $ignore_emails))?></textarea>
30 </div>
31 <?php do_action('wppm_get_en_gerneral_settings');?>
32 <button type="submit" class="wppm-submit-btn"><?php echo esc_html_e('Save Changes','taskbuilder');?></button>
33 <span class="wppm_submit_wait" style="display:none;"><img src="<?php echo esc_url( WPPM_PLUGIN_URL . 'asset/images/loading_buffer.svg'); ?>" alt="loading_icon"></span>
34 <input type="hidden" name="action" value="wppm_set_en_general_settings" />
35 </form>
36