| @@ -2,8 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Base template for summary emails |
| 4 | 4 | * |
| 5 | 5 | * @since 6.7 |
| 6 | + * | |
| 6 | 7 | * @package Formidable |
| 7 | 8 | * |
| 8 | 9 | * @var array $args Content args. |
| 9 | 10 | */ |
| @@ -11,9 +12,8 @@ | ||
| 11 | 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 12 | 13 | die( 'You are not allowed to call this page directly.' ); |
| 13 | 14 | } |
| 14 | 15 | |
| 15 | -$frm_settings = FrmAppHelper::get_settings(); | |
| 16 | 16 | ?> |
| 17 | 17 | |
| 18 | 18 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 19 | 19 | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office"> |
| @@ -37,9 +37,9 @@ | ||
| 37 | 37 | <!-- Some clients doesn't fully support <style> tag --> |
| 38 | 38 | <style type="text/css"> |
| 39 | 39 | .frm_inbox_dismiss { display: none; } |
| 40 | 40 | |
| 41 | - .frm-button-primary { <?php echo esc_attr( FrmEmailSummaryHelper::get_button_style() ); ?> } | |
| 41 | + .frm-button-primary { <?php echo esc_html( FrmEmailSummaryHelper::get_button_style() ); ?> } | |
| 42 | 42 | </style> |
| 43 | 43 | </head> |
| 44 | 44 | |
| 45 | 45 | <body style="background-color: #f2f4f7; color: #475467; font-family: 'Inter', Arial, sans-serif; padding: 4.375em 0;"> |
| @@ -50,9 +50,9 @@ | ||
| 50 | 50 | <table style="background-color: #FEF7F4; color: #501E0C; border-radius: 1em; line-height: 1.5; padding: 1em; width: 100%;"> |
| 51 | 51 | <tr> |
| 52 | 52 | <td><?php esc_html_e( 'Need help? Get in touch with our team', 'formidable' ); ?></td> |
| 53 | 53 | <td align="right"> |
| 54 | - <a href="<?php echo esc_url( $args['support_url'] ); ?>" style="color: #F15A24; font-weight: 700; text-decoration: none;"><?php esc_html_e( 'Contact support', 'formidable' ); ?></a> | |
| 54 | + <a href="<?php echo esc_url( $args['support_url'] ); ?>" style="color: #F15A24; font-weight: 700; text-decoration: none;" target="_blank" rel="noopener"><?php esc_html_e( 'Contact support', 'formidable' ); ?></a> | |
| 55 | 55 | </td> |
| 56 | 56 | </tr> |
| 57 | 57 | </table> |
| 58 | 58 | </div> |