← All changes
|
includes/admin/settings/wppm_get_general_settings.php
+13
-1
5.0.4
→
6.0.6
View file →
| @@ -26,8 +26,9 @@ | ||
| 26 | 26 | $wppm_proj_hide_comment_section = get_option('wppm_proj_hide_comment_section'); |
| 27 | 27 | $wppm_task_hide_comment_section = get_option('wppm_task_hide_comment_section'); |
| 28 | 28 | $wppm_deafault_time_duration_project = get_option('wppm_display_time_duration_project'); |
| 29 | 29 | $wppm_deafault_time_duration_task = get_option('wppm_display_time_duration_task'); |
| 30 | +$wppm_default_global_mention_comment_notification = get_option('wppm_default_global_mention_comment_notification'); | |
| 30 | 31 | ?> |
| 31 | 32 | <form id="wppm_frm_general_settings" method="post" action="javascript:wppm_set_general_settings();"> |
| 32 | 33 | <div class="wppm-help-container"> |
| 33 | 34 | <a href="https://taskbuilder.net/docs/general-setting/" target="_blank"><?php echo esc_attr__( 'Click here', 'taskbuilder' )?></a> <?php echo esc_attr__( 'to see the documentation!', 'taskbuilder' )?> |
| @@ -39,9 +40,9 @@ | ||
| 39 | 40 | <input type="radio" name="wppm_task_list_view" style="margin-top: 0px;" value="1" <?php echo ((esc_attr($wppm_default_task_list_view))==1) ?'checked="checked"':'';?>> |
| 40 | 41 | <span style="padding-left: 10px;"><?php echo esc_html_e('List View','taskbuilder');?></span> |
| 41 | 42 | <br> |
| 42 | 43 | <input type="radio" name="wppm_task_list_view" value="0" <?php echo ((esc_attr($wppm_default_task_list_view))==0)?'checked="checked"':'';?>> |
| 43 | - <span style="padding-left: 10px;"><?php echo esc_html_e('Card View','taskbuilder');?></span> | |
| 44 | + <span style="padding-left: 10px;"><?php echo esc_html_e('Kanban View','taskbuilder');?></span> | |
| 44 | 45 | <hr> |
| 45 | 46 | <span> |
| 46 | 47 | <label><?php echo esc_html_e('Show project duration instead of start and end dates in the project list.','taskbuilder');?></label> |
| 47 | 48 | </span><br> |
| @@ -226,8 +227,19 @@ | ||
| 226 | 227 | <input type="radio" name="wppm_task_comment_section" style="margin-top: 0px;" value="1" <?php echo ((esc_attr($wppm_task_hide_comment_section))==1) ?'checked="checked"':'';?>> |
| 227 | 228 | <span style="padding-left: 10px;"><?php echo esc_html_e('Show','taskbuilder');?></span> |
| 228 | 229 | <br> |
| 229 | 230 | <input type="radio" name="wppm_task_comment_section" style="margin-top: 0px;" value="0" <?php echo ((esc_attr($wppm_task_hide_comment_section))==0) ?'checked="checked"':'';?>> |
| 231 | + <span style="padding-left: 10px;"><?php echo esc_html_e('Hide','taskbuilder');?></span> | |
| 232 | + <br> | |
| 233 | + <hr> | |
| 234 | + <span> | |
| 235 | + <label><?php echo esc_html_e('Default Mention Notifications ','taskbuilder');?></label> | |
| 236 | + </span><br> | |
| 237 | + <p class="help-block"><?php echo esc_html_e('Choose whether mention notifications are shown by default.','taskbuilder');?></p> | |
| 238 | + <input type="radio" name="wppm_default_global_mention_comment_notification" style="margin-top: 0px;" value="1" <?php echo ((esc_attr($wppm_default_global_mention_comment_notification))==1) ?'checked="checked"':'';?>> | |
| 239 | + <span style="padding-left: 10px;"><?php echo esc_html_e('Show','taskbuilder');?></span> | |
| 240 | + <br> | |
| 241 | + <input type="radio" name="wppm_default_global_mention_comment_notification" style="margin-top: 0px;" value="0" <?php echo ((esc_attr($wppm_default_global_mention_comment_notification))==0) ?'checked="checked"':'';?>> | |
| 230 | 242 | <span style="padding-left: 10px;"><?php echo esc_html_e('Hide','taskbuilder');?></span> |
| 231 | 243 | <br> |
| 232 | 244 | <hr> |
| 233 | 245 | <button type="submit" class="wppm-submit-btn" style="background-color:<?php echo esc_attr($wppm_ap_settings['save-changes-button-bg-color'])?>!important;color:<?php echo esc_attr($wppm_ap_settings['save-changes-button-text-color'])?>!important;"><?php echo esc_html_e('Save Changes','taskbuilder');?></button> |