summaryrefslogtreecommitdiff
path: root/register.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-27 10:59:26 +0400
committerAndrew Dolgov <[email protected]>2013-03-27 10:59:26 +0400
commit884d16505e2c4502ec4438a7e987855683a2d75d (patch)
tree507d12e0a52af1fe408371488f12fee53c1caf45 /register.php
parent88a41b64a26c4814004a849a328f9af7770430fa (diff)
tweak how utility.css-based stuff looks
Diffstat (limited to 'register.php')
-rw-r--r--register.php14
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>