Skip to:
Content

BuddyPress.org

Ticket #8168: 8168.patch

File 8168.patch, 3.3 KB (added by imath, 5 years ago)
  • src/bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.php

    diff --git src/bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.php src/bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.php
    index a75f1190a..31fb8c870 100644
    $settings = bp_email_get_appearance_settings(); 
    205205                        <br>
    206206                        <table role="presentation" cellspacing="0" cellpadding="0" border="0" align="<?php echo esc_attr( $settings['direction'] ); ?>" width="100%" style="max-width: 600px; border-radius: 5px;" bgcolor="<?php echo esc_attr( $settings['footer_bg'] ); ?>" class="footer_bg">
    207207                                <tr>
    208                                         <td style="padding: 20px; width: 100%; font-size: <?php echo esc_attr( $settings['footer_text_size'] . 'px' ); ?>; font-family: sans-serif; mso-height-rule: exactly; line-height: <?php echo esc_attr( floor( $settings['footer_text_size'] * 1.618 ) . 'px' ) ?>; text-align: <?php echo esc_attr( $settings['direction'] ); ?>; color: <?php echo esc_attr( $settings['footer_text_color'] ); ?>;" class="footer_text_color footer_text_size">
     208                                        <td style="padding: 20px; width: 100%; font-size: <?php echo esc_attr( $settings['footer_text_size'] . 'px' ); ?>; font-family: sans-serif; mso-height-rule: exactly; line-height: <?php echo esc_attr( floor( $settings['footer_text_size'] * 1.618 ) . 'px' ) ?>; text-align: <?php echo esc_attr( $settings['direction'] ); ?>; color: <?php echo esc_attr( $settings['footer_text_color'] ); ?>; word-break: break-all;" class="footer_text_color footer_text_size">
    209209                                                <?php
    210210                                                /**
    211211                                                 * Fires before the display of the email template footer.
  • src/bp-templates/bp-nouveau/buddypress/assets/emails/single-bp-email.php

    diff --git src/bp-templates/bp-nouveau/buddypress/assets/emails/single-bp-email.php src/bp-templates/bp-nouveau/buddypress/assets/emails/single-bp-email.php
    index 9b9cd784d..049939122 100644
    $settings = bp_email_get_appearance_settings(); 
    205205                        <br>
    206206                        <table role="presentation" cellspacing="0" cellpadding="0" border="0" align="<?php echo esc_attr( $settings['direction'] ); ?>" width="100%" style="max-width: 600px; border-radius: 5px;" bgcolor="<?php echo esc_attr( $settings['footer_bg'] ); ?>" class="footer_bg">
    207207                                <tr>
    208                                         <td style="padding: 20px; width: 100%; font-size: <?php echo esc_attr( $settings['footer_text_size'] . 'px' ); ?>; font-family: sans-serif; mso-height-rule: exactly; line-height: <?php echo esc_attr( floor( $settings['footer_text_size'] * 1.618 ) . 'px' ); ?>; text-align: <?php echo esc_attr( $settings['direction'] ); ?>; color: <?php echo esc_attr( $settings['footer_text_color'] ); ?>;" class="footer_text_color footer_text_size">
     208                                        <td style="padding: 20px; width: 100%; font-size: <?php echo esc_attr( $settings['footer_text_size'] . 'px' ); ?>; font-family: sans-serif; mso-height-rule: exactly; line-height: <?php echo esc_attr( floor( $settings['footer_text_size'] * 1.618 ) . 'px' ); ?>; text-align: <?php echo esc_attr( $settings['direction'] ); ?>; color: <?php echo esc_attr( $settings['footer_text_color'] ); ?>; word-break: break-all;" class="footer_text_color footer_text_size">
    209209                                                <?php
    210210                                                /**
    211211                                                 * Fires before the display of the email template footer.