update: now you cannot write the values [message] or [/message] in your message + fix addressbook

This commit is contained in:
unknown
2012-06-10 19:37:42 +03:00
parent 72b8ddf9c2
commit 57eaa07638
5 changed files with 99 additions and 89 deletions
+4
View File
@@ -27,6 +27,10 @@ if(isset($_GET['t'])) {
header("Location: ".$_SERVER['PHP_SELF']);
}
}
if(isset($_GET['delfriend']) && is_numeric($_GET['delfriend'])){
$database->deleteFriend($session->uid,"friend".$_GET['delfriend']);
header("Location: ".$_SERVER['PHP_SELF']."?t=1");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>