diff -r 7906fb190fc1 -r bc4b58034f4d includes/template.php --- a/includes/template.php Sat Mar 01 23:02:05 2008 -0500 +++ b/includes/template.php Sun Mar 02 19:32:19 2008 -0500 @@ -111,6 +111,8 @@ { if ( !$theme['group_list'] ) continue; + if ( $theme['theme_id'] === getConfig('theme_default') ) + continue; switch ( $theme['group_policy'] ) { case 'allow_all': @@ -1088,7 +1090,7 @@ if ( !is_file($tpl_file_fullpath) ) { die_semicritical('Cannot find template file', - '

The template parser was asked to load the file "' . htmlspecialchars($filename) . '", but that file couldn\'t be found in the directory for + '

The template parser was asked to load the file "' . htmlspecialchars($tpl_file_fullpath) . '", but that file couldn\'t be found in the directory for the current theme.

Additional debugging information:
Theme currently in use: ' . $this->theme . '
@@ -1845,7 +1847,7 @@ break; case BLOCK_PLUGIN: $parser = $this->makeParserText('{CONTENT}'); - $c = (gettype($this->fetch_block($row['block_content'])) == 'string') ? $this->fetch_block($row['block_content']) : 'Can\'t find plugin block'; + $c = (gettype($this->fetch_block($row['block_content'])) == 'string') ? $this->fetch_block($row['block_content']) : /* This used to say "can't find plugin block" but I think it's more friendly to just silently hide it. */ ''; break; } $parser->assign_vars(Array( 'TITLE'=>$this->tplWikiFormat($row['block_name']), 'CONTENT'=>$c ));