Current release doesn't work with latest Drupal.
Smarty based theme are not listed.

See fix below.

--- smarty/smarty.engine        2004-12-02 17:38:37.000000000 +0100
+++ /var/www/drupal/htdoc/themes/engines/smarty/smarty.engine   2005-02-15 14:51:02.125099608 +0100
@@ -42,8 +42,8 @@
 }


-function smarty_templates($directory) {
-  $templates = file_scan_directory($directory, 'page.tpl$');
+function smarty_templates() {
+  $templates = system_listing('^page\.tpl$', 'themes', 'filename');

   $extra = variable_get('smarty_extra_templates', array());
   $engine_code = variable_get('smarty_extra_logic', array());

Comments

lobo’s picture

Assigned: Unassigned » lobo

i changed the code as recommended by tacker. I have not tested it.

Anonymous’s picture