diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-02 03:57:22 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-02 03:57:22 +0000 |
commit | db081c14483f54577bbb82aad11ff43a4aafb2b0 (patch) | |
tree | 525596198ff80e3539ffc0fb7aa91cb7bf70e011 /themes | |
parent | 39c302eec0a64183207bbbf7cc6bb7adfae16ef7 (diff) | |
download | brdo-db081c14483f54577bbb82aad11ff43a4aafb2b0.tar.gz brdo-db081c14483f54577bbb82aad11ff43a4aafb2b0.tar.bz2 |
#422116 by JohnAlbin: Kill off theme_engine_name prefix for theme functions to assist with theme inheritance and TX (Themer eXperience).
Diffstat (limited to 'themes')
-rw-r--r-- | themes/engines/phptemplate/phptemplate.engine | 3 | ||||
-rw-r--r-- | themes/garland/template.php | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine index e0feb580d..23d86854e 100644 --- a/themes/engines/phptemplate/phptemplate.engine +++ b/themes/engines/phptemplate/phptemplate.engine @@ -20,8 +20,7 @@ function phptemplate_init($template) { * we need to. */ function phptemplate_theme($existing, $type, $theme, $path) { - $templates = drupal_find_theme_functions($existing, array('phptemplate', $theme)); + $templates = drupal_find_theme_functions($existing, array($theme)); $templates += drupal_find_theme_templates($existing, '.tpl.php', $path); return $templates; } - diff --git a/themes/garland/template.php b/themes/garland/template.php index cce7c2659..24d1e64e3 100644 --- a/themes/garland/template.php +++ b/themes/garland/template.php @@ -66,7 +66,7 @@ function garland_menu_local_tasks() { /** * Format the "Submitted by username on date/time" for each comment. */ -function phptemplate_comment_submitted($comment) { +function garland_comment_submitted($comment) { return t('!datetime — !username', array( '!username' => theme('username', $comment), |