Keine Beschreibung

general-header.php 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * General header template.
  4. *
  5. * This template can be overridden by copying it to yourtheme/wpforms/emails/general-header.php.
  6. *
  7. * @since 1.5.4
  8. *
  9. * @version 1.5.4
  10. *
  11. * @var string $title
  12. * @var string $header_image
  13. */
  14. if ( ! \defined( 'ABSPATH' ) ) {
  15. exit;
  16. }
  17. ?>
  18. <!DOCTYPE html>
  19. <html lang="en">
  20. <head>
  21. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  22. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  23. <meta name="viewport" content="width=device-width">
  24. <title><?php echo \esc_html( $title ); ?></title>
  25. </head>
  26. <body>
  27. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="body">
  28. <tr>
  29. <td align="center" valign="top" class="body-inner">
  30. <table border="0" cellpadding="0" cellspacing="0" class="container">
  31. <tr>
  32. <td align="center" valign="middle" class="header">
  33. <?php if ( ! empty( $header_image['url'] ) ) : ?>
  34. <img src="<?php echo \esc_url( $header_image['url'] ); ?>" <?php echo isset( $header_image['width'] ) ? 'width="' . \absint( $header_image['width'] ) . '"' : ''; ?> alt="<?php echo \esc_attr( \get_bloginfo( 'name' ) ); ?>" />
  35. <?php endif; ?>
  36. </td>
  37. </tr>
  38. <tr>
  39. <td align="left" valign="top" class="content">