Changeset 10607
- Timestamp:
- 02/17/2016 10:57:54 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.php
r10535 r10607 6 6 * 1.618 = golden mean. 7 7 * 1.35 = default body_text_size multipler. Gives default heading of 20px. 8 * 8 9 * @since 2.5.0 9 10 * … … 98 99 99 100 /* What it does: Uses a better rendering method when resizing images in IE. */ 100 /* & manages img max widths to ensure content body images don't exceed template width*/101 /* & manages img max widths to ensure content body images don't exceed template width. */ 101 102 img { 102 103 -ms-interpolation-mode:bicubic; … … 139 140 <tr> 140 141 <td style="text-align: center; padding: 15px 0; font-family: sans-serif; mso-height-rule: exactly; font-weight: bold; color: <?php echo esc_attr( $settings['header_text_color'] ); ?>; font-size: <?php echo esc_attr( $settings['header_text_size'] . 'px' ); ?>" class="header_text_color header_text_size"> 141 <?php echo bp_get_option( 'blogname' ); ?> 142 <?php 143 /** 144 * Fires before the display of the email template header. 145 * 146 * @since 2.5.0 147 */ 148 do_action( 'bp_before_email_header' ); 149 150 echo bp_get_option( 'blogname' ); 151 152 /** 153 * Fires after the display of the email template header. 154 * 155 * @since 2.5.0 156 */ 157 do_action( 'bp_after_email_header' ); 158 ?> 142 159 </td> 143 160 </tr> … … 172 189 <tr> 173 190 <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: left; color: <?php echo esc_attr( $settings['footer_text_color'] ); ?>;" class="footer_text_color footer_text_size"> 191 <?php 192 /** 193 * Fires before the display of the email template footer. 194 * 195 * @since 2.5.0 196 */ 197 do_action( 'bp_before_email_footer' ); 198 ?> 199 174 200 <span class="footer_text"><?php echo nl2br( stripslashes( $settings['footer_text'] ) ); ?></span> 175 201 <br><br> 176 202 <a href="{{{unsubscribe}}}" style="text-decoration: underline;"><?php _ex( 'unsubscribe', 'email', 'buddypress' ); ?></a> 203 204 <?php 205 /** 206 * Fires after the display of the email template footer. 207 * 208 * @since 2.5.0 209 */ 210 do_action( 'bp_after_email_footer' ); 211 ?> 177 212 </td> 178 213 </tr>
Note: See TracChangeset
for help on using the changeset viewer.