function phptemplate_templates in Drupal 5
Same name and namespace in other branches
- 4 themes/engines/phptemplate/phptemplate.engine \phptemplate_templates()
File
- themes/
engines/ phptemplate/ phptemplate.engine, line 16 - Handles integration of templates written in pure php with the Drupal theme system.
Code
function phptemplate_templates($directory = 'themes') {
return drupal_system_listing('^page\\.tpl\\.php$', $directory, 'filename');
}