Work in progress on template_add.php.