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

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

46 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $pathImg = '';
3 if ( '' != $attrs['pathImg'] ) {
4 $pathImg = $attrs['pathImg'];
5 } else {
6 $pathImg = YAYMAIL_PLUGIN_URL . 'assets/dist/images/woocommerce-logo.png';
7 }
8 ?>
9 <table
10 width="<?php esc_attr_e( $general_attrs['tableWidth'], 'woocommerce' ); ?>"
11 cellspacing="0"
12 cellpadding="0"
13 border="0"
14 align="center"
15 style="height:100%; 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%' ); ?>"
16 class="web-main-row"
17 id="web<?php echo esc_attr( $id ); ?>"
18 >
19 <tbody>
20 <tr>
21 <td
22 id="web<?php echo esc_attr( $id ); ?>-img"
23 align="<?php echo esc_attr( $attrs['align'] ); ?>"
24 class="web-img-wrap"
25 style="word-break: break-word;
26 <?php echo esc_attr( 'text-align: ' . $attrs['align'] ); ?>;
27 <?php echo esc_attr( 'padding: ' . $attrs['paddingTop'] . 'px ' . $attrs['paddingRight'] . 'px ' . $attrs['paddingBottom'] . 'px ' . $attrs['paddingLeft'] . 'px;' ); ?> ">
28 <a
29 href="<?php echo esc_attr( $attrs['url'] ); ?>"
30 target="_blank"
31 style="border: none; text-decoration: none;"
32 >
33 <img
34 class="web-img"
35 border="0"
36 tabindex="0"
37 src="<?php echo esc_attr( $pathImg ); ?>"
38 width="<?php echo esc_attr( $attrs['width'] ); ?>"
39 height="auto"
40 />
41 </a>
42 </td>
43 </tr>
44 </tbody>
45 </table>
46