diff options
author | Andrew Dolgov <[email protected]> | 2009-01-19 08:19:05 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-19 08:19:05 +0100 |
commit | c46a4a050d658f853f296332abd0c6a6dc838a6a (patch) | |
tree | d9c310e6aac03e2131fc77ccda94a901eab4b72e | |
parent | 1da195e277239b5ed4f93a17635535b44c165314 (diff) |
registration script UI tweak
-rw-r--r-- | register.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/register.php b/register.php index 95833b9e5..558561356 100644 --- a/register.php +++ b/register.php @@ -197,16 +197,16 @@ <? } else if ($action == "do_register") { ?> - <p><?php echo __('Processing registration...') ?></p> - <? $login = mb_strtolower(trim(db_escape_string($_REQUEST["login"]))); $email = trim(db_escape_string($_REQUEST["email"])); $test = trim(db_escape_string($_REQUEST["turing_test"])); if (!$login || !$email || !$test) { - print "<div class='error'>Please fill in the form.</div>"; - print "<p><a href='register.php'>Return to registration form</a></p>"; + print_error(__("Your registration information is incomplete.")); + print "<p><form method=\"GET\" action=\"tt-rss.php\"> + <input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\"> + </form>"; return; } |