added preview back
found footer in the aftercontent.tpl.php file