|
| 1 | +<?php switch ($data["modifier"]): |
| 2 | +case "qualified": ?> |
| 3 | +<?php $this->Subject = "User Activated"; ?> |
| 4 | +<p>Hello,</p> |
| 5 | +<p>Your account on the Unity cluster has been activated. Your account details are below:</p> |
| 6 | +<p> |
| 7 | +<strong>Username</strong> <?php echo $data["user"]; ?> |
| 8 | +<br> |
| 9 | +<strong>Organization</strong> <?php echo $data["org"]; ?> |
| 10 | +</p> |
| 11 | +<p> |
| 12 | +Please login to the web portal to access Unity. |
| 13 | +If you need console access, you will need to set your SSH keys in the |
| 14 | +<a href="<?php echo $this->MSG_LINKREF; ?>/panel/account.php">account settings</a> |
| 15 | +page. |
| 16 | +</p> |
| 17 | +<p>If you believe this to be a mistake, please reply to this email as soon as possible.</p> |
| 18 | +<?php break; ?> |
| 19 | + |
| 20 | +<?php /////////////////////////////////////////////////////////////////////////////////////////// ?> |
| 21 | +<?php case "ghost": ?> |
| 22 | +<?php $this->Subject = "User Deleted"; ?> |
| 23 | +<p>Hello,</p> |
| 24 | +<p>Your account on the Unity cluster has been deleted.</p> |
| 25 | +<p>If you believe this to be a mistake, please reply to this email as soon as possible.</p> |
| 26 | +<?php break; ?> |
| 27 | + |
| 28 | +<?php /////////////////////////////////////////////////////////////////////////////////////////// ?> |
| 29 | +<?php case "locked": ?> |
| 30 | +<?php $this->Subject = "User Locked"; ?> |
| 31 | +<p>Hello,</p> |
| 32 | +<p>Your account on the Unity cluster has been locked.</p> |
| 33 | +<p>If you believe this to be a mistake, please reply to this email as soon as possible.</p> |
| 34 | +<?php break; ?> |
| 35 | + |
| 36 | +<?php /////////////////////////////////////////////////////////////////////////////////////////// ?> |
| 37 | +<?php case "idlelocked": ?> |
| 38 | +<?php $this->Subject = "User Locked"; ?> |
| 39 | +<p>Hello,</p> |
| 40 | +<p>Your account on the Unity cluster has been locked due to inactivity.</p> |
| 41 | +<p>If you believe this to be a mistake, please reply to this email as soon as possible.</p> |
| 42 | +<?php break; ?> |
| 43 | + |
| 44 | +<?php /////////////////////////////////////////////////////////////////////////////////////////// ?> |
| 45 | +<?php case "admin": ?> |
| 46 | +<?php $this->Subject = "User Promoted"; ?> |
| 47 | +<p>Hello,</p> |
| 48 | +<p>Your account on the Unity cluster has been promoted to admin.</p> |
| 49 | +<p>If you believe this to be a mistake, please reply to this email as soon as possible.</p> |
| 50 | +<?php break; ?> |
| 51 | + |
| 52 | +<?php /////////////////////////////////////////////////////////////////////////////////////////// ?> |
| 53 | +<?php default: ?> |
| 54 | +<?php throw new \Exception("unknown modifier: " . $data["modifier"]) ?> |
| 55 | +<?php endswitch; ?> |
0 commit comments