0bdd2c2730
Move the admin menu under the Settings dropdown Implement: * Vistors can create accounts but administrator approval is required * Email confirmations can be used or not used with above * Welcome email is sent when the user is created * Random password is generated when the user created and this is included in the welcome email.
18 lines
681 B
PHP
18 lines
681 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<html>
|
|
<head>
|
|
<title><?= t("Welcome to Gallery3") ?> </title>
|
|
</head>
|
|
<body>
|
|
<h2><?= t("Welcome") ?> </h2>
|
|
<p>
|
|
<?= t("Hello, %name,", array("name" => $user->full_name ? $user->full_name : $user->name)) ?>
|
|
</p>
|
|
<p>
|
|
<?= t("The user account you requested as been created.<br/>The password to your account is %password. We suggest you change it on your next visit. <br/>You can access the site by <a href=\"%site_url\">clicking this link</a>.",
|
|
array("site_url" => html::mark_clean(url::base(false, "http")),
|
|
"password" => $password)) ?>
|
|
</p>
|
|
</body>
|
|
</html>
|