# fluent-boards/1.45/app/Views/emails/daily.php

FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration, version 1.45. 47 lines.

- Page: https://pluginprobe.com/plugins/fluent-boards/1.45/code/app/Views/emails/daily.php
- Raw: https://pluginprobe.com/plugins/fluent-boards/1.45/raw/app/Views/emails/daily.php
- Modified: 2024-07-02T10:43:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-boards/1.45/code/app/Views/emails/daily.php#L10-L20`.

```php
<?php
ob_start(); // Start output buffering
?>


    <!--Start you code here -->
    <div class="fbs_daily_reminder">
        <div class="fbs_email_greeting">
            <strong class="fbs_bg_white"><?php echo __('Good Morning', 'fluent-boards').', '
                               .esc_html($name).'!' ?></strong>
            <p class="fbs_bg_white"> It's <?php echo date('l, F j, Y').'. '
                                    .__("Here's your task summary for today:") ?> </p> <?php // This will display the current date as "Today is Monday, January 1, 2022" ?>
        </div>

        <strong class="fbs_bg_white" style="font-size: 15px"><?php echo __('Tasks Due Today:', 'fluent-boards'); ?></strong>

        <ul class="fbs_email_task_list_group">
            <?php foreach ($tasks as $task): ?>
                <li class="fbs_email_task_list_item">
                    <a target="_blank"
                       href="<?php echo htmlspecialchars($page_url.'boards/'
                                                         .$task->board->id
                                                         .'/tasks/'.$task->id
                                                         .'-'
                                                         .substr($task->title,
                               0, 10)); ?>">
                        <?php echo esc_html($task->title). ' '; ?>
                    </a>
                    <?php echo __('task of board', 'fluent-boards'); ?>
                    <a target="_blank"
                       href="<?php echo htmlspecialchars($page_url.'boards/'
                                                         .$task->board->id); ?>">
                        <?php echo esc_html($task->board->title); ?>
                    </a>
                </li>
            <?php endforeach; ?>
        </ul>
    </div>


    <!--end your code here -->


<?php
$content = ob_get_clean(); // Get the content and clean the buffer
// Include the template and pass the content
include 'template.php';
```
