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

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

56 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 <table
3 width="<?php esc_attr_e( $general_attrs['tableWidth'], 'woocommerce' ); ?>"
4 cellspacing="0"
5 cellpadding="0"
6 border="0"
7 align="center"
8 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%' ); ?>"
9 class="web-main-row"
10 id="web<?php echo esc_attr( $id ); ?>"
11 >
12 <tbody>
13 <tr>
14 <td
15 id="web-<?php echo esc_attr( $id ); ?>-order-item"
16 class="web-order-item"
17 align="left"
18 style='font-size: 13px; line-height: 22px; word-break: break-word;
19 <?php echo 'font-family: ' . wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>;
20 <?php echo esc_attr( 'padding: ' . $attrs['paddingTop'] . 'px ' . $attrs['paddingRight'] . 'px ' . $attrs['paddingBottom'] . 'px ' . $attrs['paddingLeft'] . 'px;' ); ?>
21 '
22 >
23 <div
24 style="min-height: 10px; <?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>;"
25 >
26 <?php echo wp_kses_post( $attrs['contentBefore'] ); ?>
27 <h2
28 class="yaymail_builder_order"
29 style="font-size: 18px; font-weight: 700; <?php echo esc_attr( 'color: ' . $attrs['titleColor'] ); ?>"
30 >
31 <div class="yaymail_builder_order_title" style='<?php echo 'font-family: ' . wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>;'>
32 <?php echo wp_kses_post( $attrs['contentTitle'] ); ?>
33 </div>
34 </h2>
35 <div>
36 <table
37 class="yaymail_builder_table_items_content yaymail_order_items_content yaymail_element_order_item"
38 cellspacing="0"
39 cellpadding="6"
40 border="1"
41 width="100%"
42 style='border-collapse: separate;
43 <?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>;
44 <?php echo esc_attr( 'border: 1px solid ' . $attrs['borderColor'] ); ?>;
45 <?php echo 'font-family: ' . wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>;'
46 >
47 <?php echo wp_kses_post( $attrs['content'] ); ?>
48 </table>
49 </div>
50 <?php echo wp_kses_post( $attrs['contentAfter'] ); ?>
51 </div>
52 </td>
53 </tr>
54 </tbody>
55 </table>
56