| 1 |
<?php |
| 2 |
/** |
| 3 |
* Email Footer |
| 4 |
* |
| 5 |
* @package Give/Templates/Emails |
| 6 |
* @version 1.0 |
| 7 |
*/ |
| 8 |
|
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; // Exit if accessed directly. |
| 11 |
} |
| 12 |
|
| 13 |
|
| 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. |
| 15 |
$template_footer = ' |
| 16 |
border-top:0; |
| 17 |
-webkit-border-radius:3px; |
| 18 |
'; |
| 19 |
|
| 20 |
$credit = " |
| 21 |
border:0; |
| 22 |
color: #000000; |
| 23 |
font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; |
| 24 |
font-size:12px; |
| 25 |
line-height:125%; |
| 26 |
text-align:center; |
| 27 |
"; |
| 28 |
?> |
| 29 |
</div> |
| 30 |
</td> |
| 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> |
| 66 |
|