Commit 8b328b3e authored by natrak's avatar natrak
Browse files

more fixes

parent 133dfdfd
......@@ -96,7 +96,7 @@ function makePassword($min_length=6) {
case "logout":
session_start();
session_destroy();
unset $user;
unset($user);
break;
case "Register":
if ($rval = validateUser($new)) { newUser($new, "<B>Error: $rval</B>"); }
......
......@@ -147,7 +147,7 @@ function displayUserblock($theme) {
global $user;
dbconnect();
if ($user->ublockon) {
$content .= "<P ALIGN=\"right\">[ <A HREF=\"account.php?op=edithome\"><FONT COLOR=\"$theme->hlcolor2\">edit</FONT></A> | <A HREF=\"account.php?op=logout\"><FONT COLOR=\"$theme->hlcolor2\">logout</FONT></A> ]</P>";
$content .= "<P ALIGN=\"right\">[ <A HREF=\"account.php?act=edithome\"><FONT COLOR=\"$theme->hlcolor2\">edit</FONT></A> | <A HREF=\"account.php?act=logout\"><FONT COLOR=\"$theme->hlcolor2\">logout</FONT></A> ]</P>";
$theme->box("$user->userid's box", $user->content);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment