add template extension tp.php