PluginProbe
YayMail – WooCommerce Email Customizer / 3.2.2
YayMail – WooCommerce Email Customizer v3.2.2
4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 3.4.2 3.4.3 All 55 releases
yaymail / includes / Templates / Elements / YayMail / FourColumn.php

FourColumn.php in YayMail – WooCommerce Email Customizer 3.2.2, at includes/Templates/Elements/YayMail/FourColumn.php

93 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $cloneAttrs = $attrs;
3 ?>
4 <table
5 width="<?php esc_attr_e( $general_attrs['tableWidth'], 'woocommerce' ); ?>"
6 cellspacing="0"
7 cellpadding="0"
8 border="0"
9 align="center"
10 style="display: table;
11 <?php echo esc_attr( 'background-color: ' . $attrs['backgroundColor'] ); ?>;
12 <?php echo esc_attr( 'background-image: url(' . $attrs['backgroundImage'] . ')' ); ?>;
13 <?php echo esc_attr( 'background-position: ' . $attrs['backgroundPosition'] ); ?>;
14 <?php echo esc_attr( 'background-size: ' . $attrs['backgroundSize'] ); ?>;
15 <?php echo esc_attr( 'background-repeat: ' . $attrs['backgroundRepeat'] ); ?>;
16 <?php echo esc_attr( 'width: ' . $general_attrs['tableWidth'] ); ?>;
17 <?php echo ! $isInColumns ? esc_attr( 'min-width:' . $general_attrs['tableWidth'] . 'px' ) : ''; ?>
18 "
19 class="web-main-row nta-row-four-column"
20 id="web<?php echo esc_attr( $id ); ?>"
21 >
22 <tbody>
23 <tr>
24 <td
25 id="web-<?php echo esc_attr( $id ); ?>-four-columns"
26 class="web-four-columns"
27 align="left"
28 style='font-size: 13px; line-height: 22px; word-break: break-word;
29 font-family: <?php echo wp_kses_post( $attrs['family'] ); ?>;
30 <?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>;
31 <?php echo esc_attr( 'max-width: ' . $general_attrs['tableWidth'] ); ?>;
32 <?php echo esc_attr( 'padding: ' . $attrs['paddingTop'] . 'px ' . $attrs['paddingRight'] . 'px ' . $attrs['paddingBottom'] . 'px ' . $attrs['paddingLeft'] . 'px;' ); ?>
33 '
34 >
35 <div class="web-four-columns-row" style="min-height: 10px">
36 <table style="width: 100%">
37 <tr>
38 <td valign="top"
39 class="nta-four-column-items"
40 style="min-width: 25px;position: relative;min-height: 1px;
41 <?php echo esc_attr( 'width: ' . $attrs['widthCol1'] . '%' ); ?>;
42 "
43 >
44 <?php
45 foreach ( $attrs['column1'] as $key => $el ) {
46 do_action( 'Yaymail' . $el['type'], $args, $el['settingRow'], $general_attrs, $el['id'], '', $isInColumns = true );
47 }
48 ?>
49 </td>
50 <td valign="top"
51 class="nta-four-column-items"
52 style="min-width: 25px;position: relative;min-height: 1px;
53 <?php echo esc_attr( 'width: ' . $attrs['widthCol2'] . '%' ); ?>
54 "
55 >
56 <?php
57 foreach ( $attrs['column2'] as $key => $el ) {
58 do_action( 'Yaymail' . $el['type'], $args, $el['settingRow'], $general_attrs, $el['id'], '', $isInColumns = true );
59 }
60 ?>
61 </td>
62 <td valign="top"
63 class="nta-four-column-items"
64 style="min-width: 25px;position: relative;min-height: 1px;
65 <?php echo esc_attr( 'width: ' . $attrs['widthCol3'] . '%' ); ?>
66 "
67 >
68 <?php
69 foreach ( $attrs['column3'] as $key => $el ) {
70 do_action( 'Yaymail' . $el['type'], $args, $el['settingRow'], $general_attrs, $el['id'], '', $isInColumns = true );
71 }
72 ?>
73 </td>
74 <td valign="top"
75 class="nta-four-column-items"
76 style="min-width: 25px;position: relative;min-height: 1px;
77 <?php echo esc_attr( 'width: ' . $attrs['widthCol4'] . '%' ); ?>
78 "
79 >
80 <?php
81 foreach ( $attrs['column4'] as $key => $el ) {
82 do_action( 'Yaymail' . $el['type'], $args, $el['settingRow'], $general_attrs, $el['id'], '', $isInColumns = true );
83 }
84 ?>
85 </td>
86 </tr>
87 </table>
88 </div>
89 </td>
90 </tr>
91 </tbody>
92 </table>
93