]> git.mxchange.org Git - mailer.git/blobdiff - theme/desert/theme.php
Some typos
[mailer.git] / theme / desert / theme.php
index 55aaa018369b9922d001e2ccff8391d27a3921ce..4665c6323e485060141a673688caf896c134172d 100644 (file)
@@ -17,7 +17,7 @@
  * 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                           *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
 
 // 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
 //
 // The name of your theme
-$GLOBALS['theme_data']['name'] = "Desert-Storm";
+$GLOBALS['theme_data']['name'] = 'Desert-Storm';
 
 // Only your name please!
-$GLOBALS['theme_data']['author'] = "Roland Häder";
+$GLOBALS['theme_data']['author'] = 'Roland Häder';
 
 // Your email address
-$GLOBALS['theme_data']['email'] = "webmaster@mxchange.org";
+$GLOBALS['theme_data']['email'] = 'webmaster@mxchange.org';
 
 // URL where you have uploaded it
-$GLOBALS['theme_data']['url'] = "http://www.mxchange.org";
+$GLOBALS['theme_data']['url'] = 'http://www.mxchange.org';
 
 // Version number
-$GLOBALS['theme_data']['version'] = "0.0.1";
+$GLOBALS['theme_data']['version'] = '0.0.1';
 
 // Switch mode
-if (empty($GLOBALS['theme_mode'])) $GLOBALS['theme_mode'] = "load";
+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]
 ?>