Added edit and Delete links to gallery.php and fixed typo