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 / OneColumn.php

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

48 lines 1.8 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-one-column"
20 id="web<?php echo esc_attr( $id ); ?>"
21 >
22 <tbody>
23 <tr>
24 <td
25 id="web-<?php echo esc_attr( $id ); ?>-one-columns"
26 class="web-one-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-one-columns-row" style="min-height: 10px">
36 <div class="nta-one-column-items nta-one-column-left" style="min-width: 25px;position: relative;min-height: 1px;">
37 <?php
38 foreach ( $attrs['column1'] as $key => $el ) {
39 do_action( 'Yaymail' . $el['type'], $args, $el['settingRow'], $general_attrs, $el['id'], '', $isInColumns = true );
40 }
41 ?>
42 </div>
43 </div>
44 </td>
45 </tr>
46 </tbody>
47 </table>
48