<?php
/**
 * Email Template (Plain Text): Suspicious Session Activity (Admin)
 *
 * This template can be overridden by copying it to:
 * your-theme/guard-dog/emails/plain/suspicious-activity-admin-plain.php
 *
 * Available variables:
 * @var WP_User $user    The affected user object
 * @var string $type    The activity type (ip_shift, geo_anomaly, ip_reputation, etc.)
 * @var string $details Preformatted details about the activity
 * @var string $site_name The site name
 *
 * @package GuardDog
 * @since 1.9.1
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// Translators: %s is the site name.
echo esc_html( sprintf( __( '[%s] Suspicious Session Activity', 'guard-dog' ), $site_name ) );
echo "\n";
echo esc_html( str_repeat( '=', 60 ) );
echo "\n\n";

echo esc_html__( 'Admin,', 'guard-dog' );
echo "\n\n";

/* translators: %s is the username */
echo esc_html( sprintf( __( "The following suspicious session activity was detected on your site for user '%s':", 'guard-dog' ), $user->user_login ) );
echo "\n\n";

echo esc_html( $details );
echo "\n\n";

echo esc_html( str_repeat( '-', 60 ) );
echo "\n";
/* translators: %s is the site name */
echo esc_html( sprintf( __( 'This email was sent by %s', 'guard-dog' ), $site_name ) );
echo "\n";
