]> git.mxchange.org Git - mailer.git/blobdiff - theme/default/theme.php
A lot CSS classes rewritten, please update all your themes.
[mailer.git] / theme / default / theme.php
index be4895b935481c5ed9debb7f77b4719f09422c08..3dedcd1d797617a4276736fb374a897655028db5 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                                        *
@@ -17,7 +17,8 @@
  * 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                           *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -38,9 +39,8 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
-       require($INC);
-}
+       die();
+} // END - if
 
 //
 // Theme definitions
@@ -63,13 +63,13 @@ $GLOBALS['theme_data']['version'] = '0.0';
 // Switch mode
 if (empty($GLOBALS['theme_mode'])) $GLOBALS['theme_mode'] = 'load';
 
-switch ($GLOBALS['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]
 ?>