]> git.mxchange.org Git - mailer.git/blobdiff - theme/ship-simu/theme.php
Introduced some wrapper functions, the extension for cache files is now .cache.php...
[mailer.git] / theme / ship-simu / theme.php
index ebb9ac4ab9ab7db3b5fae05d617026b683cae70a..da0565299468ea54d7dc282a6cef2d07855d4cf3 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -37,7 +37,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } // END - if
 
 //
@@ -53,7 +53,7 @@ $GLOBALS['theme_data']['author'] = 'Roland Häder';
 $GLOBALS['theme_data']['email'] = 'webmaster@ship-simu.org';
 
 // URL where you have uploaded it
-$GLOBALS['theme_data']['url'] = 'http://www.ship-simu.org';
+$GLOBALS['theme_data']['url'] = 'http://ship-simu.org';
 
 // Version number
 $GLOBALS['theme_data']['version'] = '0.0.0';
@@ -61,14 +61,13 @@ $GLOBALS['theme_data']['version'] = '0.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]
 ?>