Rewritten all THEME_FOO variables to GLOBALS
[mailer.git] / inc / modules / admin / what-theme_edit.php
index ae1e64d4d6059851565892e24c3e541cdb2a50c4..1aab5bbd916219c730a7c70f3da8fd842730fcbb 100644 (file)
@@ -98,7 +98,7 @@ if ($SEL > 0) {
 }
 
 // Switch to testing mode
-$THEME_MODE = "test";
+$GLOBALS['theme_mode'] = "test";
 
 // Generate output lines for the template
 $OUT = ""; $SW = 2;
@@ -123,9 +123,9 @@ if (SQL_NUMROWS($result) > 0) {
                        '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'],
                );