Index: phptal.engine =================================================================== RCS file: /cvs/drupal-contrib/contributions/theme-engines/phptal/phptal.engine,v retrieving revision 1.7 diff -u -F^f -r1.7 phptal.engine --- phptal.engine 22 Jun 2006 22:54:07 -0000 1.7 +++ phptal.engine 29 Dec 2006 06:13:25 -0000 @@ -54,15 +54,15 @@ function phptal_init($template) { } function phptal_templates($directory = 'themes') { - return system_listing('^page\.tal$', $directory, 'filename'); + return drupal_system_listing('^page\.tal$', $directory, 'filename'); } function phptal_regions() { return phptemplate_regions(); } -function _phptal_callback($hook, $variables = array(), $file = NULL) { - return _phptemplate_callback($hook, $variables, $file); +function _phptal_callback($hook, $variables = array(), $suggestions = array()) { + return _phptemplate_callback($hook, $variables, $suggestions); } function _phptal_default_variables($hook, $variables) { @@ -73,8 +73,8 @@ function phptal_features() { return phptemplate_features(); } -function phptal_page($content) { - return phptemplate_page($content); +function phptal_page($content, $show_blocks = TRUE) { + return phptemplate_page($content, $show_blocks); } function phptal_node($node, $teaser = 0, $page = 0) { @@ -93,8 +93,8 @@ function phptal_box($title, $content, $r return phptemplate_box($title, $content, $region); } -function _phptal_default($hook, $variables, $file = NULL) { - return _phptemplate_default($hook, $variables, $file, '.tal'); +function _phptal_default($hook, $variables, $suggestions = array()) { + return _phptemplate_default($hook, $variables, $suggestions, '.tal'); } function _phptal_render($file, $variables) {