-
Notifications
You must be signed in to change notification settings - Fork 22
/
preview.php
51 lines (37 loc) · 1.06 KB
/
preview.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
* View for email preview
*
* @package Mailtpl Woocommerce Email Composer
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) & !(IE 8)]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<title><?php echo __( 'Email Composer', 'mailtpl-woocommerce-email-composer' ); ?></title>
<style type="text/css" id="Mailtpl_Woomailcustom_css"><?php echo Mailtpl_Woomail_Customizer::opt( 'custom_css' ); ?>.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
</head>
<body>
<div id="mailtpl_woomail_preview_wrapper" style="display: block;">
<?php Mailtpl_Woomail_Preview::print_preview_email(); ?>
</div>
<?php
do_action( 'woomail_footer' );
wp_footer();
?>
</body>
</html>