// 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"];
<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>
</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>"; ?>
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;
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 {
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 {
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>";
} 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>";
<?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>"; ?>