diff options
Diffstat (limited to 'register.php')
-rw-r--r-- | register.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/register.php b/register.php index 035a2cd8e..53627d912 100644 --- a/register.php +++ b/register.php @@ -181,10 +181,12 @@ <body> -<div class="floatingLogo"><img src="images/logo_wide.png"></div> +<div class="floatingLogo"><img src="images/logo_small.png"></div> <h1><?php echo __("Create new account") ?></h1> +<div class="content"> + <?php if (!ENABLE_REGISTRATION) { print_error(__("New user registrations are administratively disabled.")); @@ -311,7 +313,7 @@ $rc = $mail->quickMail($email, "", "Registration information for Tiny Tiny RSS", $reg_text, false); if (!$rc) print_error($mail->ErrorInfo); - + unset($reg_text); unset($mail); unset($rc); @@ -321,13 +323,13 @@ "\n". "Login: $login\n". "Email: $email\n"; - - + + $mail = new ttrssMailer(); $mail->IsHTML(false); $rc = $mail->quickMail(REG_NOTIFY_ADDRESS, "", "Registration notice for Tiny Tiny RSS", $reg_text, false); if (!$rc) print_error($mail->ErrorInfo); - + print_notice(__("Account created successfully.")); print "<p><form method=\"GET\" action=\"index.php\"> @@ -358,6 +360,8 @@ <?php } ?> + </div> + </body> </html> |