| @@ -1,20 +1,22 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Email Footer |
| 4 | 4 | * |
| 5 | - * @package Give/Templates/Emails | |
| 5 | + * @package Give/Templates/Emails | |
| 6 | 6 | * @version 1.0 |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly. | |
| 9 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 10 | + exit; // Exit if accessed directly. | |
| 11 | +} | |
| 10 | 12 | |
| 11 | 13 | |
| 12 | 14 | // For gmail compatibility, including CSS styles in head/body are stripped out therefore styles need to be inline. These variables contain rules which are added to the template inline. |
| 13 | -$template_footer = " | |
| 15 | +$template_footer = ' | |
| 14 | 16 | border-top:0; |
| 15 | 17 | -webkit-border-radius:3px; |
| 16 | -"; | |
| 18 | +'; | |
| 17 | 19 | |
| 18 | 20 | $credit = " |
| 19 | 21 | border:0; |
| 20 | 22 | color: #000000; |
| @@ -25,39 +27,39 @@ | ||
| 25 | 27 | "; |
| 26 | 28 | ?> |
| 27 | 29 | </div> |
| 28 | 30 | </td> |
| 29 | - </tr> | |
| 30 | - </table> | |
| 31 | - <!-- End Content --> | |
| 32 | - </td> | |
| 33 | - </tr> | |
| 34 | - </table> | |
| 35 | - <!-- End Body --> | |
| 36 | - </td> | |
| 37 | - </tr> | |
| 38 | - <tr> | |
| 39 | - <td align="center" valign="top"> | |
| 40 | - <!-- Footer --> | |
| 41 | - <table border="0" cellpadding="10" cellspacing="0" width="600" id="template_footer" style="<?php echo $template_footer; ?>"> | |
| 42 | - <tr> | |
| 43 | - <td valign="top"> | |
| 44 | - <table border="0" cellpadding="10" cellspacing="0" width="100%"> | |
| 45 | - <tr> | |
| 46 | - <td colspan="2" valign="middle" id="credit" style="<?php echo $credit; ?>"> | |
| 47 | - <?php echo wpautop( wp_kses_post( wptexturize( apply_filters( 'give_email_footer_text', '<a href="' . esc_url( home_url() ) . '">' . get_bloginfo( 'name' ) . '</a>' ) ) ) ); ?> | |
| 48 | - </td> | |
| 49 | - </tr> | |
| 50 | - </table> | |
| 51 | - </td> | |
| 52 | - </tr> | |
| 53 | - </table> | |
| 54 | - <!-- End Footer --> | |
| 55 | - </td> | |
| 56 | - </tr> | |
| 57 | - </table> | |
| 58 | - </td> | |
| 59 | - </tr> | |
| 60 | - </table> | |
| 61 | - </div> | |
| 62 | - </body> | |
| 63 | -</html> | |
| 31 | + </tr> | |
| 32 | + </table> | |
| 33 | + <!-- End Content --> | |
| 34 | + </td> | |
| 35 | + </tr> | |
| 36 | + </table> | |
| 37 | + <!-- End Body --> | |
| 38 | + </td> | |
| 39 | + </tr> | |
| 40 | + <tr> | |
| 41 | + <td align="center" valign="top"> | |
| 42 | + <!-- Footer --> | |
| 43 | + <table border="0" cellpadding="10" cellspacing="0" width="600" id="template_footer" style="<?php echo $template_footer; ?>"> | |
| 44 | + <tr> | |
| 45 | + <td valign="top"> | |
| 46 | + <table border="0" cellpadding="10" cellspacing="0" width="100%"> | |
| 47 | + <tr> | |
| 48 | + <td colspan="2" valign="middle" id="credit" style="<?php echo $credit; ?>"> | |
| 49 | + <?php echo wpautop( wp_kses_post( wptexturize( apply_filters( 'give_email_footer_text', '<a href="' . esc_url( home_url() ) . '">' . get_bloginfo( 'name' ) . '</a>' ) ) ) ); ?> | |
| 50 | + </td> | |
| 51 | + </tr> | |
| 52 | + </table> | |
| 53 | + </td> | |
| 54 | + </tr> | |
| 55 | + </table> | |
| 56 | + <!-- End Footer --> | |
| 57 | + </td> | |
| 58 | + </tr> | |
| 59 | + </table> | |
| 60 | + </td> | |
| 61 | + </tr> | |
| 62 | + </table> | |
| 63 | + </div> | |
| 64 | + </body> | |
| 65 | +</html> | |