mailer project continued:
[mailer.git] / theme / default / theme.php
index fc2a77cc4cbabf2585d9ec1914622217cf37f095..5d99efc8750c5932ec4e5e13dc54135276b1c211 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 12/03/2004 *
- * ===============                              Last change: 12/03/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 12/03/2004 *
+ * ===================                          Last change: 12/03/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : theme.php                                        *
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  :                                                  *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
+ * $Revision::                                                        $ *
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
-       require($INC);
-}
+       exit();
+} // END - if
 
 //
 // Theme definitions
 //
 // The name of your theme
-$THEME_NAME = "Standart-Theme";
+$GLOBALS['theme_data']['name'] = 'Standard-Theme';
 
 // Only your name please!
-$THEME_AUTHOR = "Roland H&auml;der";
+$GLOBALS['theme_data']['author'] = 'Roland H&auml;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://mxchange.org';
 
 // Version number
-$THEME_VERSION = "0.0";
+$GLOBALS['theme_data']['version'] = '0.0.0';
 
 // Switch mode
-if (empty($THEME_MODE)) $THEME_MODE = "load";
+if (empty($GLOBALS['theme_mode'])) $GLOBALS['theme_mode'] = 'load';
 
-switch ($THEME_MODE)
-{
-case "test": // Do stuff while testing the theme: The admin clicked on "Import"
-       break;
+switch ($GLOBALS['theme_mode']) {
+       case 'test': // Do stuff while testing the theme: The admin clicked on 'Import'
+               break;
 
-case "load": // Do stuff while theme is loaded normally
-       break;
-}
-//
+       case 'load': // Do stuff while theme is loaded normally
+               break;
+} // END - switch
+
+// [EOF]
 ?>