You are here

function phptemplate_templates in Drupal 4

Same name and namespace in other branches
  1. 5 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 system_listing('^page\\.tpl\\.php$', $directory, 'filename');
}