PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / 2.1.0
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration v2.1.0
2.1.0 2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 All 42 releases
← All changes | app/Views/emails/daily.php +10 -19 1.212.1.0 View file →
@@ -5,33 +5,25 @@
5 5
6 6 <!--Start you code here -->
7 7 <div class="fbs_daily_reminder">
8 8 <div class="fbs_email_greeting">
9 - <strong class="fbs_bg_white"><?php echo __('Good Morning', 'fluent-boards').', '
10 - .esc_html($name).'!' ?></strong>
11 - <p class="fbs_bg_white"> It's <?php echo date('l, F j, Y').'. '
12 - .__("Here's your task summary for today:") ?> </p> <?php // This will display the current date as "Today is Monday, January 1, 2022" ?>
9 + <strong class="fbs_bg_white"><?php echo esc_html__('Good Morning', 'fluent-boards') . ', ' . esc_html($name) . '!'; ?></strong>
10 + <p class="fbs_bg_white"> It's <?php echo esc_html(gmdate('l, F j, Y')); ?>. <?php echo esc_html__("Here's your task summary for today:", 'fluent-boards'); ?> </p> <?php // This will display the current date as "Today is Monday, January 1, 2022" ?>
13 11 </div>
14 12
15 - <strong class="fbs_bg_white" style="font-size: 15px"><?php echo __('Tasks Due Today:', 'fluent-boards'); ?></strong>
13 + <strong class="fbs_bg_white" style="font-size: 15px"><?php echo esc_html__('Tasks Due Today:', 'fluent-boards'); ?></strong>
16 14
17 15 <ul class="fbs_email_task_list_group">
18 - <?php foreach ($tasks as $task): ?>
16 + <?php foreach ($tasks as $fluent_boards_task): ?>
19 17 <li class="fbs_email_task_list_item">
20 18 <a target="_blank"
21 - href="<?php echo htmlspecialchars($page_url.'boards/'
22 - .$task->board->id
23 - .'/tasks/'.$task->id
24 - .'-'
25 - .substr($task->title,
26 - 0, 10)); ?>">
27 - <?php echo esc_html($task->title). ' '; ?>
19 + href="<?php echo esc_url($page_url . 'boards/' . $fluent_boards_task->board->id . '/tasks/' . $fluent_boards_task->id . '-' . substr($fluent_boards_task->title, 0, 10)); ?>">
20 + <?php echo esc_html($fluent_boards_task->title) . ' '; ?>
28 21 </a>
29 - <?php echo __('task of board', 'fluent-boards'); ?>
22 + <?php echo esc_html__('task of board', 'fluent-boards'); ?>
30 23 <a target="_blank"
31 - href="<?php echo htmlspecialchars($page_url.'boards/'
32 - .$task->board->id); ?>">
33 - <?php echo esc_html($task->board->title); ?>
24 + href="<?php echo esc_url($page_url . 'boards/' . $fluent_boards_task->board->id); ?>">
25 + <?php echo esc_html($fluent_boards_task->board->title); ?>
34 26 </a>
35 27 </li>
36 28 <?php endforeach; ?>
37 29 </ul>
@@ -41,7 +33,6 @@
41 33 <!--end your code here -->
42 34
43 35
44 36 <?php
45 -$content = ob_get_clean(); // Get the content and clean the buffer
46 -// Include the template and pass the content
37 +$fluent_boards_email_content = ob_get_clean();
47 38 include 'template.php';