Fixed some errors in links.php