PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.9.1
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.9.1
2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 All 80 releases
ablocks / templates / email / contact-email.php

contact-email.php in aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder 2.9.1, at templates/email/contact-email.php

33 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5
6 \ABlocks\Helper::get_template( 'email/template-header.php' );
7 ?>
8 <div class="ablocks-container">
9 <div class="ablocks-content">
10 <div class="ablocks-wrapper">
11 <h5 class="ablocks-main-heading"><?php esc_html_e( 'New Contact Form Submission', 'ablocks' ); ?></h5>
12 <div class="ablocks-entry-content">
13 <h2><?php esc_html_e( 'You have a new contact form submission!', 'ablocks' ); ?></h2>
14 <p><strong><?php esc_html_e( 'Email:', 'ablocks' ); ?></strong> <?php echo esc_html( $email ); ?></p>
15 <p><strong><?php esc_html_e( 'Message:', 'ablocks' ); ?></strong></p>
16 <p><?php echo wp_kses_post( $message ); ?></p>
17 <p><a href="<?php echo esc_url( get_admin_url() ); ?>"><?php esc_html_e( 'Login to your admin panel to view the submission.', 'ablocks' ); ?></a></p>
18 </div>
19 <div class="ablocks-footer">
20 &copy; <?php
21 $url = wp_parse_url( get_bloginfo( 'url' ) );
22 echo sanitize_text_field( $url['host'] . ':' . $url['port'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
23 ?>
24 <?php // echo wp_kses_post( $footer );
25 // phpcs::ignore Squiz.PHP.CommentedOutCode.Found
26 ?>
27 </div>
28 </td>
29 </div>
30 </div>
31 <?php
32 \ABlocks\Helper::get_template( 'email/template-footer.php' );
33