PluginProbe
Friends / 4.3.1
Friends v4.3.1
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
friends / templates / email / lost-follower.php

lost-follower.php in Friends 4.3.1, at templates/email/lost-follower.php

53 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * This template contains the HTML for the New Follower notification e-mail.
4 *
5 * @version 1.0
6 * @package Friends
7 */
8
9 ?>
10 <p>
11 <?php
12 // translators: %s is a user display name.
13 echo esc_html( sprintf( __( 'Hi %s!', 'friends' ), $args['user']->display_name ) );
14 ?>
15 </p>
16
17 <p>
18 <?php
19 esc_html_e( 'Sorry to inform you that you lost a follower:', 'friends' );
20 ?>
21 </p>
22
23 <table>
24 <tr>
25 <td style="vertical-align: top">
26 <a href="<?php echo esc_url( $args['follower']->get_url() ); ?>" style="float: left; margin-right: 1em;">
27 <img src="<?php echo esc_url( $args['icon_url'] ); /* phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage */ ?>" alt="<?php echo esc_attr( $args['follower']->get_name() ); ?>" width="64" height="64">
28 </a>
29 </td>
30 <td>
31
32 <a href="<?php echo esc_url( $args['follower']->get_url() ); ?>">
33 <strong><?php echo esc_html( $args['follower']->get_name() ); ?></strong> (<?php echo esc_html( $args['follower']->get_preferred_username() . '@' . $args['server'] ); ?>)
34 </a>
35 <br>
36 <?php
37 if ( $args['follower']->get_summary() ) {
38 echo wp_kses_post( nl2br( $args['follower']->get_summary() ) );
39 }
40 ?>
41 </td>
42 </tr>
43 </table>
44
45 <p>
46 <?php
47 // translators: %s is a time duration.
48 echo esc_html( sprintf( __( 'They have been following you for: %s', 'friends' ), $args['duration'] ) );
49 ?>
50 </p>
51
52
53