PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / 2.2.0
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration v2.2.0
2.2.1 2.2.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 All 44 releases
fluent-boards / app / Views / emails / common-header.php

common-header.php in FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration 2.2.0, at app/Views/emails/common-header.php

24 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if (!defined('ABSPATH')) exit; // if accessed directly exit ?>
2 <div class="fbs_email_notification_head" style="padding: 0 4px 20px;">
3 <?php
4 $fluent_boards_site_title = isset($site_title) ? (string) $site_title : get_bloginfo('name');
5 $fluent_boards_site_logo = isset($site_logo) ? $site_logo : '';
6
7 if ($fluent_boards_site_logo) {
8 $fluent_boards_email_header = '<img src="' . esc_url($fluent_boards_site_logo) . '" height="32" alt="' . esc_attr($fluent_boards_site_title) . '" style="display: block; height: 32px; width: auto; max-width: 200px;">';
9 } else {
10 // No logo: a solid initial tile keeps the brand row visible when clients invert colors.
11 $fluent_boards_initial = function_exists('mb_substr') ? mb_substr($fluent_boards_site_title, 0, 1) : substr($fluent_boards_site_title, 0, 1);
12 $fluent_boards_email_header = '<table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr>'
13 . '<td class="fbs_email_logo_tile" width="28" height="28" align="center" style="width: 28px; height: 28px; border-radius: 7px; background: #222530; color: #FFFFFF; font-size: 14px; font-weight: 700; line-height: 28px; text-align: center;">' . esc_html(strtoupper($fluent_boards_initial)) . '</td>'
14 . '<td class="fbs_email_text" style="padding-left: 10px; color: #0E121B; font-size: 15px; font-weight: 600; line-height: 20px;">' . esc_html($fluent_boards_site_title) . '</td>'
15 . '</tr></table>';
16 }
17
18 // Apply the filter to the email header
19 $fluent_boards_email_header = apply_filters('fluent_boards/email_header', $fluent_boards_email_header);
20 // Output the final email header (allow safe HTML)
21 echo wp_kses_post($fluent_boards_email_header);
22 ?>
23 </div>
24