|
@@ -38,25 +38,25 @@ class WelcomeMessage extends Notification implements ShouldQueue
|
|
|
return ['database'];
|
|
|
}
|
|
|
public function AdditionalLines()
|
|
|
- {
|
|
|
-
|
|
|
- $AdditionalLine = "";
|
|
|
- if(Settings::getValueByKey('SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
|
|
- $AdditionalLine .= "Verifying your e-mail address will grant you ".Settings::getValueByKey('SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_EMAIL')." additional " . Settings::getValueByKey('SETTINGS::SYSTEM:CREDITS_DISPLAY_NAME') . ". <br />";
|
|
|
- }
|
|
|
- if(Settings::getValueByKey('SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
|
|
- $AdditionalLine .= "Verifying your e-mail will also increase your Server Limit by " . Settings::getValueByKey('SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') . ". <br />";
|
|
|
- }
|
|
|
- $AdditionalLine .="<br />";
|
|
|
- if(Settings::getValueByKey('SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_DISCORD') != 0) {
|
|
|
- $AdditionalLine .= "You can also verify your discord account to get another " . Settings::getValueByKey('SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_DISCORD') . " " . Settings::getValueByKey('SETTINGS::SYSTEM:CREDITS_DISPLAY_NAME') . ". <br />";
|
|
|
- }
|
|
|
- if(Settings::getValueByKey('SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD') != 0) {
|
|
|
- $AdditionalLine .= "Verifying your Discord account will also increase your Server Limit by " . Settings::getValueByKey('SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD') . ". <br />";
|
|
|
- }
|
|
|
+ {
|
|
|
|
|
|
- return $AdditionalLine;
|
|
|
+ $AdditionalLine = "";
|
|
|
+ if (config('SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
|
|
+ $AdditionalLine .= "Verifying your e-mail address will grant you " . config('SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_EMAIL') . " additional " . config('SETTINGS::SYSTEM:CREDITS_DISPLAY_NAME') . ". <br />";
|
|
|
+ }
|
|
|
+ if (config('SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
|
|
+ $AdditionalLine .= "Verifying your e-mail will also increase your Server Limit by " . config('SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') . ". <br />";
|
|
|
+ }
|
|
|
+ $AdditionalLine .= "<br />";
|
|
|
+ if (config('SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_DISCORD') != 0) {
|
|
|
+ $AdditionalLine .= "You can also verify your discord account to get another " . config('SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_DISCORD') . " " . config('SETTINGS::SYSTEM:CREDITS_DISPLAY_NAME') . ". <br />";
|
|
|
}
|
|
|
+ if (config('SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD') != 0) {
|
|
|
+ $AdditionalLine .= "Verifying your Discord account will also increase your Server Limit by " . config('SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD') . ". <br />";
|
|
|
+ }
|
|
|
+
|
|
|
+ return $AdditionalLine;
|
|
|
+ }
|
|
|
/**
|
|
|
* Get the array representation of the notification.
|
|
|
*
|
|
@@ -72,7 +72,7 @@ class WelcomeMessage extends Notification implements ShouldQueue
|
|
|
<h5>Verification</h5>
|
|
|
<p>You can verify your e-mail address and link/verify your Discord account.</p>
|
|
|
<p>
|
|
|
- ".$this->AdditionalLines()."
|
|
|
+ " . $this->AdditionalLines() . "
|
|
|
</p>
|
|
|
<h5>Information</h5>
|
|
|
<p>This dashboard can be used to create and delete servers.<br /> These servers can be used and managed on our pterodactyl panel.<br /> If you have any questions, please join our Discord server and #create-a-ticket.</p>
|