diff options
author | Andrew Dolgov <[email protected]> | 2011-12-11 23:59:25 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-11 23:59:25 +0400 |
commit | 107d0cf39e3801547a9a86b32762b772b25f6953 (patch) | |
tree | c76a639f2b4b77f14c0942aec7cd0117144ff24c /register.php | |
parent | 31303c6bbdaeed42a5cc72bc01f610ed7ca99663 (diff) |
overall directory tree cleanup
Diffstat (limited to 'register.php')
-rw-r--r-- | register.php | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/register.php b/register.php index cc453c0f2..3694a5e75 100644 --- a/register.php +++ b/register.php @@ -4,6 +4,8 @@ // 1) templates/register_notice.txt - displayed above the registration form // 2) register_expire_do.php - contains user expiration queries when necessary + set_include_path(get_include_path() . PATH_SEPARATOR . "include"); + require_once 'lib/phpmailer/class.phpmailer.php'; $action = $_REQUEST["action"]; @@ -93,7 +95,7 @@ <title>Create new account</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="utility.css"> -<script type="text/javascript" src="functions.js"></script> +<script type="text/javascript" src="js/functions.js"></script> <script type="text/javascript" src="lib/prototype.js"></script> <script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script> </head> @@ -232,7 +234,7 @@ </table> </form> - <?php print "<p><form method=\"GET\" action=\"tt-rss.php\"> + <?php print "<p><form method=\"GET\" action=\"index.php\"> <input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\"> </form>"; ?> @@ -245,7 +247,7 @@ if (!$login || !$email || !$test) { print_error(__("Your registration information is incomplete.")); - print "<p><form method=\"GET\" action=\"tt-rss.php\"> + print "<p><form method=\"GET\" action=\"index.php\"> <input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\"> </form>"; return; @@ -260,7 +262,7 @@ if ($is_registered) { print_error(__('Sorry, this username is already taken.')); - print "<p><form method=\"GET\" action=\"tt-rss.php\"> + print "<p><form method=\"GET\" action=\"index.php\"> <input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\"> </form>"; } else { @@ -278,7 +280,7 @@ if (db_num_rows($result) != 1) { print_error(__('Registration failed.')); - print "<p><form method=\"GET\" action=\"tt-rss.php\"> + print "<p><form method=\"GET\" action=\"index.php\"> <input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\"> </form>"; } else { @@ -363,7 +365,7 @@ print_notice(__("Account created successfully.")); - print "<p><form method=\"GET\" action=\"tt-rss.php\"> + print "<p><form method=\"GET\" action=\"index.php\"> <input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\"> </form>"; @@ -373,7 +375,7 @@ } else { print_error('Plese check the form again, you have failed the robot test.'); - print "<p><form method=\"GET\" action=\"tt-rss.php\"> + print "<p><form method=\"GET\" action=\"index.php\"> <input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\"> </form>"; @@ -385,7 +387,7 @@ <?php print_notice(__('New user registrations are currently closed.')) ?> - <?php print "<p><form method=\"GET\" action=\"tt-rss.php\"> + <?php print "<p><form method=\"GET\" action=\"index.php\"> <input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\"> </form>"; ?> |