admin_email_tmpl.php
5 days ago
cancellation_email_tmpl.php
5 days ago
customer_email_tmpl.php
5 days ago
employee_email_tmpl.php
5 days ago
index.html
5 days ago
packages_email_tmpl.php
5 days ago
stock_email_tmpl.php
5 days ago
waitlist_email_tmpl.php
5 days ago
waitlist_email_tmpl.php
104 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package VikAppointments |
| 4 | * @subpackage core |
| 5 | * @author E4J s.r.l. |
| 6 | * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved. |
| 7 | * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL |
| 8 | * @link https://vikwp.com |
| 9 | */ |
| 10 | |
| 11 | // No direct access |
| 12 | defined('ABSPATH') or die('No script kiddies please!'); |
| 13 | |
| 14 | /** |
| 15 | * VikAppointments - Waiting List E-Mail Template |
| 16 | * @see the bottom of the page to check the available TAGS to use. |
| 17 | */ |
| 18 | |
| 19 | ?> |
| 20 | |
| 21 | <style> |
| 22 | @media print { |
| 23 | .no-printable { |
| 24 | display: none; |
| 25 | } |
| 26 | } |
| 27 | </style> |
| 28 | |
| 29 | <div style="background:#fff; color: #666; width: 100%; table-layout: fixed;"> |
| 30 | <div style="max-width: 600px; margin:0 auto;"> |
| 31 | |
| 32 | <!--[if (gte mso 9)|(IE)]> |
| 33 | <table width="800" align="center"> |
| 34 | <tr> |
| 35 | <td> |
| 36 | <![endif]--> |
| 37 | |
| 38 | <table align="center" style="margin: 0 auto; width: 100%; max-width: 600px; border-spacing: 0; font-family: sans-serif;"> |
| 39 | |
| 40 | <!-- LOGO AND WAITING LIST MESSAGE --> |
| 41 | |
| 42 | <tr> |
| 43 | <td style="padding: 0; text-align: center;"> |
| 44 | <div style="text-align: center;">{logo}</div> |
| 45 | <h3 style="text-align: center; font-size: .9em;"><?php echo JText::translate('VAPWAITLISTMAILCONTENT'); ?></h3> |
| 46 | </td> |
| 47 | </tr> |
| 48 | |
| 49 | <!-- SERVICE DETAILS LINK --> |
| 50 | |
| 51 | <tr class="no-printable"> |
| 52 | <td style="padding: 0; text-align: center;"> |
| 53 | <table width="100%" style="border-spacing: 0; margin: 10px auto 0; padding: 0; font-size: 14px; background: #f2f3f7;"> |
| 54 | <tr> |
| 55 | <td style="padding: 0; line-height: 1.4em; text-align: left;"> |
| 56 | <div style="background: #eee; border-bottom: 1px solid #ddd; padding: 10px;"><?php echo JText::translate('VAPDETAILSLINK'); ?></div> |
| 57 | <div style="padding: 10px; background-color: #f2f3f7;"> |
| 58 | <a href="{details_link}" target="_blank" style="word-break: break-word;">{details_link}</a> |
| 59 | </div> |
| 60 | </td> |
| 61 | </tr> |
| 62 | </table> |
| 63 | </td> |
| 64 | </tr> |
| 65 | |
| 66 | <!-- UNSUBSCRIBE LINK --> |
| 67 | |
| 68 | <tr class="no-printable"> |
| 69 | <td style="padding: 0; text-align: center;"> |
| 70 | <table width="100%" style="border-spacing: 0; margin: 10px auto 0; padding: 0; font-size: 14px; background: #f2f3f7;"> |
| 71 | <tr> |
| 72 | <td style="padding: 0; line-height: 1.4em; text-align: left;"> |
| 73 | <div style="background: #eee; border-bottom: 1px solid #ddd; padding: 10px;"><?php echo JText::translate('VAPUNSUBSCRLINK'); ?></div> |
| 74 | <div style="padding: 10px; background-color: #f2f3f7;"> |
| 75 | <a href="{unsubscribe_link}" target="_blank" style="word-break: break-word;">{unsubscribe_link}</a> |
| 76 | </div> |
| 77 | </td> |
| 78 | </tr> |
| 79 | </table> |
| 80 | </td> |
| 81 | </tr> |
| 82 | |
| 83 | </table> |
| 84 | |
| 85 | <!--[if (gte mso 9)|(IE)]> |
| 86 | </td> |
| 87 | </tr> |
| 88 | </table> |
| 89 | <![endif]--> |
| 90 | |
| 91 | </div> |
| 92 | </div> |
| 93 | |
| 94 | <?php |
| 95 | /** |
| 96 | * @var string|null {company_name} The name of the company. |
| 97 | * @var string|null {logo} The logo image of your company. |
| 98 | * @var string {service} The name of the service requested. |
| 99 | * @var string {checkin_day} The checkin day of the appointment. |
| 100 | * @var string {checkin_time} The checkin time of the first free slot. |
| 101 | * @var string {details_link} The direct url to the details page of the service requested. |
| 102 | * @var string {unsubscribe_link} The direct url to remove the subscription from the waiting list. |
| 103 | */ |
| 104 |