Rewritten all THEME_FOO variables to GLOBALS
[mailer.git] / theme / default / theme.php
index 4621a4002b0bb0f32068f64ef56b135c6157be7f..b42cb8ada3f347898318ee9d5dcba0495ff136e1 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  :                                                  *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
@@ -46,24 +46,24 @@ if (!defined('__SECURITY')) {
 // Theme definitions
 //
 // The name of your theme
-$THEME_NAME = "Standart-Theme";
+$GLOBALS['theme_data']['name'] = "Standart-Theme";
 
 // Only your name please!
-$THEME_AUTHOR = "Roland Häder";
+$GLOBALS['theme_data']['author'] = "Roland Häder";
 
 // Your email address
-$THEME_EMAIL = "webmaster@mxchange.org";
+$GLOBALS['theme_data']['email'] = "webmaster@mxchange.org";
 
 // URL where you have uploaded it
-$THEME_URL = "http://www.mxchange.org";
+$GLOBALS['theme_data']['url'] = "http://www.mxchange.org";
 
 // Version number
-$THEME_VERSION = "0.0";
+$GLOBALS['theme_data']['version'] = "0.0";
 
 // Switch mode
-if (empty($THEME_MODE)) $THEME_MODE = "load";
+if (empty($GLOBALS['theme_mode'])) $GLOBALS['theme_mode'] = "load";
 
-switch ($THEME_MODE)
+switch ($GLOBALS['theme_mode'])
 {
 case "test": // Do stuff while testing the theme: The admin clicked on "Import"
        break;