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;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему