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 / TextList / ColEl.php

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

75 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <table
2 cellspacing="0"
3 cellpadding="0"
4 border="0"
5 align="left"
6 style="display: table; margin: 0px; width: 100%; padding: 0px;
7 <?php echo esc_attr( 'background-color: ' . $attrs['backgroundColor'] ); ?>
8 "
9 id="web-<?php echo esc_attr( $id ); ?>-col-<?php echo esc_attr( $col ); ?>"
10 class="'web-col-<?php echo esc_attr( $col ); ?>-wrap'"
11 >
12 <tbody>
13 <tr
14 class="web-row-text"
15 >
16 <td
17 align="left"
18 style='line-height: 22px; word-break: break-word;
19 <?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>;
20 font-family: <?php echo wp_kses_post( $attrs[ 'col' . $col . 'TtFamily' ] ); ?>;
21 <?php echo esc_attr( 'padding: ' . $attrs[ 'col' . $col . 'TtPaddingTop' ] . 'px ' . $attrs[ 'col' . $col . 'TtPaddingRight' ] . 'px ' . $attrs[ 'col' . $col . 'TtPaddingBottom' ] . 'px ' . $attrs[ 'col' . $col . 'TtPaddingLeft' ] . 'px;' ); ?>
22 '
23 >
24 <div style="min-height: 15px">
25 <?php echo wp_kses_post( $attrs[ 'col' . $col . 'TtContent' ] ); ?>
26 </div>
27 </td>
28 </tr>
29 <?php
30 if ( 'show' === $attrs[ 'buttonCol' . $col ] ) :
31 ;
32 ?>
33 <tr
34 class="web-row-button"
35 >
36 <td
37 style="
38 <?php echo esc_attr( 'padding: ' . $attrs[ 'col' . $col . 'BtPaddingTop' ] . 'px ' . $attrs[ 'col' . $col . 'BtPaddingRight' ] . 'px ' . $attrs[ 'col' . $col . 'BtPaddingBottom' ] . 'px ' . $attrs[ 'col' . $col . 'BtPaddingLeft' ] . 'px;' ); ?>
39 "
40 >
41 <table
42 align="<?php echo esc_attr( $attrs[ 'col' . $col . 'BtAlign' ] ); ?>"
43 cellspacing="0"
44 cellpadding="0"
45 border="0"
46 width="<?php echo esc_attr( $attrs[ 'col' . $col . 'BtWidthButton' ] . '%' ); ?>"
47 >
48 <tbody>
49 <tr>
50 <td
51 style="margin: 10px; word-break: break-word;"
52 class="web-button-wrap"
53 >
54 <a
55 href="<?php echo esc_attr( $attrs[ 'col' . $col . 'BtPathUrl' ] ); ?>"
56 class="web-button"
57 style='line-height: 21px; border-radius: 6px; text-align: center; text-decoration: none; display: block; margin: 0px; padding: 12px 20px;
58 font-family: <?php echo wp_kses_post( $attrs[ 'col' . $col . 'BtFamily' ] ); ?>;
59 <?php echo esc_attr( 'background-color: ' . $attrs[ 'col' . $col . 'BtBgColor' ] ); ?>;
60 <?php echo esc_attr( 'font-size: ' . $attrs[ 'col' . $col . 'BtFontSize' ] . 'px' ); ?>;
61 <?php echo esc_attr( 'color: ' . $attrs[ 'col' . $col . 'BtTextColor' ] ); ?>;
62 <?php echo esc_attr( 'font-weight: ' . $attrs[ 'col' . $col . 'BtWeight' ] ); ?>
63 '
64 ><?php echo wp_kses_post( $attrs[ 'col' . $col . 'BtText' ] ); ?></a>
65 </td>
66 </tr>
67 </tbody>
68 </table>
69 </td>
70 </tr>
71 <?php endif; ?>
72 </tbody>
73 </table>
74
75