diff -r c4ae0d8e260f -r 4e5985fffc4d includes/template.php --- a/includes/template.php Mon Jul 07 02:37:12 2008 -0400 +++ b/includes/template.php Mon Jul 07 02:41:50 2008 -0400 @@ -1008,6 +1008,9 @@ $this->tpl_bool['stupid_mode'] = false; $this->tpl_bool['in_admin'] = ( ( $local_page_id == 'Administration' && $local_namespace == 'Special' ) || $local_namespace == 'Admin' ); + // allows conditional testing of the theme ID (a bit crude, came from my NSIS days) + $this->tpl_bool["theme_is_{$this->theme}"] = true; + $p = ( isset($_GET['printable']) ) ? '/printable' : ''; // Add the e-mail address client code to the header