X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=theme%2Fdesert%2Ftheme.php;h=4665c6323e485060141a673688caf896c134172d;hb=10570955d1813975b534da2eccd72fd04e2fa585;hp=adcf7f2de3adf94a90e3c863d599d49ea6aa3cd2;hpb=fb7120ffa230b62b54895bcf95952e1cf30f8594;p=mailer.git diff --git a/theme/desert/theme.php b/theme/desert/theme.php index adcf7f2de3..4665c6323e 100644 --- a/theme/desert/theme.php +++ b/theme/desert/theme.php @@ -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 * @@ -38,38 +38,37 @@ // 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 -$THEME_NAME = "Desert-Storm"; +$GLOBALS['theme_data']['name'] = 'Desert-Storm'; // 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.1"; +$GLOBALS['theme_data']['version'] = '0.0.1'; // 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] ?>