blob: 3033d6552bcfe0895faef0f3412b7311035ada3e [file] [log] [blame]
matheusfillipef43dd962021-05-13 23:27:01 -03001<?php
2$MAIL_TEMPLATE = (object)[
Marc Kupietzad3ab5d2023-03-04 14:12:46 +01003 "subject" => "[" . $SERVICE_ACRONYM . "] Confirm your email address",
matheusfillipef43dd962021-05-13 23:27:01 -03004 "text" => "To complete your registration please paste this to your browser: {{url}}",
Marc Kupietz9ab8c8f2023-02-23 12:14:33 +01005 "html" => "<html><body>
Marc Kupietzad3ab5d2023-03-04 14:12:46 +01006 <p>Almost there! Click on the confirm button below to confirm your email address and to complete your " . $SERVICE_ACRONYM . " registration</p>
Marc Kupietz9ab8c8f2023-02-23 12:14:33 +01007 <a style='display: inline-block; outline: 0; cursor: pointer;
8 padding: 5px 16px;
9 font-size: 14px;
10 font-weight: bold;
11 text-decoration: none;
12 line-height: 20px;
13 vertical-align: middle;
14 border: 1px solid;
15 border-radius: 6px;
16 color: #ffffff;
17 background-color: #2ea44f;
18 border-color: #1b1f2326;
19 box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px 0px, rgba(255, 255, 255, 0.25) 0px 1px 0px 0px inset;
20 transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);
21 transition-property: color, background-color, border-color;
22 :hover {
23 background-color: #2c974b;
24 border-color: #1b1f2326;
25 transition-duration: 0.1s;
26 }
Marc Kupietzad3ab5d2023-03-04 14:12:46 +010027 ' href='{{url}}'>Confirm " . $SERVICE_ACRONYM . " registration</a>
matheusfillipef43dd962021-05-13 23:27:01 -030028 </body></html>"
29];
30
31
32$RECOVERY_EMAIL_TEMPLATE = (object)[
Marc Kupietzad3ab5d2023-03-04 14:12:46 +010033 "subject" => "[" . $SERVICE_ACRONYM . "] Reset password for your " . $SERVICE_ACRONYM . " account",
Marc Kupietz9ab8c8f2023-02-23 12:14:33 +010034 "text" => "Seems you requested a password reset. If that wasn't you please ignore this message. Otherwise go to this url to change your password: {{url}}",
Marc Kupietzad3ab5d2023-03-04 14:12:46 +010035 "html" => "<html><body><h3>Forgot your " . $SERVICE_ACRONYM . " password?</h3>
Marc Kupietz9ab8c8f2023-02-23 12:14:33 +010036 <p>It seems that you requested a password reset. If that wasn't you please ignore this message. Otherwise click the button below to reset your password</p>
37 <a style='
38 display: inline-block;
39 outline: none;
40 cursor: pointer;
41 font-weight: bold;
42 text-decoration: none;
43 border-radius: 3px;
44 padding: 12px 24px;
45 border: 0;
46 color: #fff;
47 background: #ff5000;
48 line-height: 1.15;
49 font-size: 14px;
50 :hover {
51 transition: all .1s ease;
52 box-shadow: 0 0 0 0 #fff, 0 0 0 3px #1de9b6;
53 }
Marc Kupietzad3ab5d2023-03-04 14:12:46 +010054 ' href='{{url}}'>Reset your " . $SERVICE_ACRONYM . " password</a>
matheusfillipef43dd962021-05-13 23:27:01 -030055 </body></html>"
56];
57
58
59// Add the support email there
60$PASSWORD_CHANGED_EMAIL_TEMPLATE = (object)[
Marc Kupietzad3ab5d2023-03-04 14:12:46 +010061 "subject" => "[" . $SERVICE_ACRONYM . "] Your " . $SERVICE_ACRONYM . " password was changed",
Marc Kupietzb527e642023-02-23 10:04:21 +010062 "text" => "Your password was changed successfully. If this wasn't you please contact support",
matheusfillipef43dd962021-05-13 23:27:01 -030063 "html" => "<html><body>
Marc Kupietzad3ab5d2023-03-04 14:12:46 +010064 <h3>" . $SERVICE_ACRONYM . " password changed</h3><p>Your password was changed successfully. If this wasn't you please contact support.</p>
matheusfillipef43dd962021-05-13 23:27:01 -030065 </body></html>"
66];