PluginProbe
YayMail – WooCommerce Email Customizer / 3.4
YayMail – WooCommerce Email Customizer v3.4
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 / HTML.php

HTML.php in YayMail – WooCommerce Email Customizer 3.4, at includes/Templates/Elements/YayMail/HTML.php

43 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <table
2 width="<?php esc_attr_e( $general_attrs['tableWidth'], 'woocommerce' ); ?>"
3 cellspacing="0"
4 cellpadding="0"
5 border="0"
6 align="center"
7 style="display: table; <?php echo esc_attr( 'background-color: ' . $attrs['backgroundColor'] ); ?>; <?php echo ! $isInColumns ? esc_attr( 'min-width:' . $general_attrs['tableWidth'] . 'px' ) : esc_attr( 'width: 100%' ); ?>"
8 class="web-main-row"
9 id="web<?php echo esc_attr( $id ); ?>"
10 >
11 <tbody>
12 <tr>
13 <td
14 id="web<?php echo esc_attr( $id ); ?>-html"
15 class="web-html-code"
16 :style="{
17 'fontFamily': emailContent.settingRow.family,
18 'fontSize': emailContent.settingRow.fontSize + 'px',
19 'color': emailContent.settingRow.textColor,
20 'padding': emailContent.settingRow.paddingTop + 'px ' + emailContent.settingRow.paddingRight + 'px ' + emailContent.settingRow.paddingBottom + 'px ' + emailContent.settingRow.paddingLeft + 'px'
21 }"
22 style='word-break: break-word;
23 font-family: <?php echo wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>;
24 <?php echo esc_attr( 'font-size: ' . $attrs['fontSize'] . 'px' ); ?>;
25 <?php echo esc_attr( 'padding: ' . $attrs['paddingTop'] . 'px ' . $attrs['paddingRight'] . 'px ' . $attrs['paddingBottom'] . 'px ' . $attrs['paddingLeft'] . 'px;' ); ?>
26 '
27 >
28 <div class="nta-html-code-content-wrap" style="width:100%">
29 <?php if ( '' === $attrs['HTMLContent'] ) : ?>
30 <div class="nta-html-code-no-content">
31 <a-icon type="code" style="color: #c2cbd2;font-size: 22px;display: block;text-align: center;padding: 10px 0;"></a-icon>
32 </div>
33 <?php else : ?>
34 <div class="nta-html-code-content" style="min-height: 10px;width:100%" v-html="emailContent.settingRow.HTMLContent">
35 <?php echo wp_kses_post( $attrs['HTMLContent'] ); ?>
36 </div>
37 <?php endif; ?>
38 </div>
39 </td>
40 </tr>
41 </tbody>
42 </table>
43