phptemplate_theme
themes/engines/phptemplate/phptemplate.engine, строка 21
- Версии
- 6
phptemplate_theme($existing, $type, $theme, $path)
Implementation of hook_theme to tell Drupal what templates the engine
and the current theme use. The $existing
argument will contain hooks
pre-defined by Drupal so that we can use that information if
we need to.
Код
<?php
function phptemplate_theme($existing, $type, $theme, $path) {
$templates = drupal_find_theme_functions($existing, array('phptemplate', $theme));
$templates += drupal_find_theme_templates($existing, '.tpl.php', $path);
return $templates;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии