Files
wp-multisite-waas/views/emails/customer/site-published.php
David Stone d88e50df38 Prep Plugin for release on WordPress.org (#23)
* Update translation text domain
* Escape everything that should be escaped.
* Add nonce checks where needed.
* Sanitize all inputs.
* Apply Code style changes across the codebase.
* Correct many deprecation notices.
* Optimize load order of many filters.
* Add Proper Build script
* Use emojii flags
* Fix i18n deprecation  notice for translating too early
* Put all scripts in footer and load async
2025-04-14 11:36:46 -06:00

37 lines
1.8 KiB
PHP

<?php
/**
* Site Published Email Template - Customer
*
* @since 2.0.0
*/
?>
<?php // translators: %s: Customer Name ?>
<p><?php printf(esc_html__('Hey %s,', 'wp-multisite-waas'), '{{customer_name}}'); ?></p>
<?php // translators: %1$s: Site Title, %2$s: Site Url ?>
<p><?php echo wp_kses(sprintf(__('We have great news! The site <b>%1$s</b> (%2$s) was created successfully and is ready!', 'wp-multisite-waas'), '{{site_title}}', '<a href="{{site_url}}" style="text-decoration: none;" rel="nofollow">{{site_url}}</a>'), 'pre_user_description'); ?></p>
<h2><b><?php esc_html_e('Your Site', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Title', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee; border: 1px solid #eee;">
{{site_title}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('URL', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{site_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Visit Site →', 'wp-multisite-waas'); ?></a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{site_admin_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Visit Admin Panel →', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>
</table>