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

BillingAddress.php in YayMail – WooCommerce Email Customizer 3.4.2, at includes/Templates/Elements/YayMail/BillingAddress.php

58 lines 2.2 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 ); ?>-billing-address"
15 class="web-billing-address"
16 align="left"
17 style='font-size: 13px; line-height: 22px; word-break: break-word;
18 <?php echo 'font-family: ' . wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>;
19 <?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>;
20 <?php echo esc_attr( 'padding: ' . $attrs['paddingTop'] . 'px ' . $attrs['paddingRight'] . 'px ' . $attrs['paddingBottom'] . 'px ' . $attrs['paddingLeft'] . 'px;' ); ?>
21 '
22 >
23 <div style="min-height: 10px;height: 100%;display: inline-block;width: 100%;">
24 <div
25 style="<?php echo esc_attr( 'color: ' . $attrs['titleColor'] ); ?>"
26 >
27 <?php if ( 'BillingShippingAddress' === $attrs['nameColumn'] ) : ?>
28 <div>
29 <table
30 style='width: 100%; color: inherit;
31 <?php echo esc_attr( 'color: ' . $attrs['titleColor'] ); ?>;
32 <?php echo esc_attr( 'font-family: ' . str_replace( '"', '', $attrs['family'] ) ); ?>;
33 '
34 >
35 <?php echo wp_kses_post( $attrs['contentTitle'] ); ?>
36 </table>
37 </div>
38 <?php else : ?>
39 <h2 style="color: inherit; display: block; font-size: 18px; font-weight: bold; line-height: 130%; margin: 0 0 18px;">
40 <?php echo wp_kses_post( $attrs['titleBilling'] ); ?>
41 </h2>
42 </div>
43 <?php endif; ?>
44 </div>
45 <?php if ( 'BillingShippingAddress' === $attrs['nameColumn'] ) : ?>
46 <div class="billing-shipping-address-container" style="<?php echo esc_attr( 'border-color: ' . $attrs['borderColor'] ); ?>" >
47 <?php echo wp_kses_post( $attrs['content'] ); ?>
48 </div>
49 <?php else : ?>
50 <div style="<?php echo esc_attr( 'border: 1px solid ' . $attrs['borderColor'] ); ?>">
51 <?php echo wp_kses_post( $attrs['content'] ); ?>
52 </div>
53 <?php endif; ?>
54 </td>
55 </tr>
56 </tbody>
57 </table>
58