}
// Switch to testing mode
-$THEME_MODE = "test";
+$GLOBALS['theme_mode'] = "test";
// Generate output lines for the template
$OUT = ""; $SW = 2;
'link' => $LINK,
'name' => $content['theme_name'],
'is_act' => TRANSLATE_YESNO($content['theme_active']),
- 'email' => "<a href=\"mailto:".$THEME_EMAIL."?Subject=[Theme:] ".$THEME_NAME." (".$content['theme_path'].")"."\">".$THEME_AUTHOR."</a>",
- 'url_link' => DEREFERER($THEME_URL),
- 'url_title' => $THEME_URL,
+ 'email' => "<a href=\"mailto:".$GLOBALS['theme_data']['email']."?Subject=[Theme:] ".$GLOBALS['theme_data']['name']." (".$content['theme_path'].")"."\">".$GLOBALS['theme_data']['author']."</a>",
+ 'url_link' => DEREFERER($GLOBALS['theme_data']['url']),
+ 'url_title' => $GLOBALS['theme_data']['url'],
'ver' => $content['theme_ver'],
);