#16 Replace name by setting name
This commit is contained in:
parent
c18ce8f443
commit
997fbbf5ef
3 changed files with 6 additions and 19 deletions
|
@ -45,7 +45,7 @@ class ValidateMailAddressJob extends Job
|
||||||
$mail->addBCC($bcc);
|
$mail->addBCC($bcc);
|
||||||
}
|
}
|
||||||
$mail->isHTML(true);
|
$mail->isHTML(true);
|
||||||
$mail->Subject = 'Keks Account E-Mail validation';
|
$mail->Subject = Setting::getSettingValue("name").' E-Mail validation';
|
||||||
$mail->Body = 'Hello,<br>to validate your E-Mail address click on the following link: <a href="'.Setting::getSettingValue('url').'/gui/mailValidation/'.$this->mailObject->id.'/'.$this->mailObject->validation_code.'">Activate Account</a>';
|
$mail->Body = 'Hello,<br>to validate your E-Mail address click on the following link: <a href="'.Setting::getSettingValue('url').'/gui/mailValidation/'.$this->mailObject->id.'/'.$this->mailObject->validation_code.'">Activate Account</a>';
|
||||||
$mail->AltBody = 'Hello,\r\nto validate your E-Mail address click on the following link: '.Setting::getSettingValue('url').'/gui/mailValidation/'.$this->mailObject->id.'/'.$this->mailObject->validation_code;
|
$mail->AltBody = 'Hello,\r\nto validate your E-Mail address click on the following link: '.Setting::getSettingValue('url').'/gui/mailValidation/'.$this->mailObject->id.'/'.$this->mailObject->validation_code;
|
||||||
$mail->send();
|
$mail->send();
|
||||||
|
|
|
@ -2,28 +2,15 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-light" role="alert">
|
<div class="alert alert-light" role="alert">
|
||||||
account.keks.cloud is still in development.
|
<?php echo $settingsArray["name"]; ?> is still in development.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" style="display: none;">
|
|
||||||
<div class="col-md-12">
|
|
||||||
<p>Register to use the keks.cloud services. Keks Account currently works with the following Services:
|
|
||||||
<ul>
|
|
||||||
<li><a href="">Gitea</a></li>
|
|
||||||
<li><del>Wekan</del></li>
|
|
||||||
<li><del>Chat</del></li>
|
|
||||||
<li><del>Webmail / Mail adress</del></li>
|
|
||||||
</ul>
|
|
||||||
You can create your own App using the Keks-Account oAuth Provider too.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<h3>Keks Account</h3>
|
<h3><?php echo $settingsArray["name"]; ?></h3>
|
||||||
<p>
|
<p>
|
||||||
account.keks.cloud is a oAuht Provider to login with a single user to different Services. You just need one Account to use all Services, also other developers can add this Service to there services.
|
<?php echo $settingsArray["name"]; ?> is a oAuht Provider to login with a single user to different Services. You just need one Account to use all Services, also other developers can add this Service to there services.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
In the test phase of the Project you need an Invite-Code to create a new Account.
|
In the test phase of the Project you need an Invite-Code to create a new Account.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Keks Account</title>
|
<title><?php echo $settingsArray["name"]; ?></title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link href="https://bootswatch.com/4/flatly/bootstrap.min.css" type="text/css" rel="stylesheet">
|
<link href="https://bootswatch.com/4/flatly/bootstrap.min.css" type="text/css" rel="stylesheet">
|
||||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js" crossorigin="anonymous"></script>
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js" crossorigin="anonymous"></script>
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div class="container" style="margin-top: 30px;min-height: calc(100vh - 100px);">
|
<div class="container" style="margin-top: 30px;min-height: calc(100vh - 100px);">
|
||||||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary" style="margin-bottom: 20px">
|
<nav class="navbar navbar-expand-lg navbar-dark bg-primary" style="margin-bottom: 20px">
|
||||||
<a class="navbar-brand" href="/">Keks Account</a>
|
<a class="navbar-brand" href="/"><?php echo $settingsArray["name"]; ?></a>
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
Reference in a new issue