X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Ftheme_functions.php;h=c114071e338b70312b23c466278f16550e91a16f;hb=4cf6094cc3cbebfda691fa797e00fe674bbb329c;hp=3fc35343e46d93a35058465cba7cad01b01b6abc;hpb=0f3a135204757cc8750262871c8e62c42300acb4;p=mailer.git diff --git a/inc/libs/theme_functions.php b/inc/libs/theme_functions.php index 3fc35343e4..c114071e33 100644 --- a/inc/libs/theme_functions.php +++ b/inc/libs/theme_functions.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * 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 * @@ -240,17 +240,17 @@ function getActualTheme () { // Fix it to default $ret = 'default'; } // END - if - } elseif ((!isInstalled()) && ((isInstalling()) || (isHtmlOutputMode())) && ((isGetRequestParameterSet('theme')) || (isPostRequestParameterSet('theme')))) { + } elseif ((!isInstalled()) && ((isInstalling()) || (isHtmlOutputMode())) && ((isGetRequestElementSet('theme')) || (isPostRequestElementSet('theme')))) { // Prepare filename for checking - $themeFile = sprintf("theme/%s/theme.php", getRequestParameter('theme')); + $themeFile = sprintf("theme/%s/theme.php", getRequestElement('theme')); // Installation mode active - if ((isGetRequestParameterSet('theme')) && (isIncludeReadable($theme))) { + if ((isGetRequestElementSet('theme')) && (isIncludeReadable($theme))) { // Set cookie from URL data - setTheme(getRequestParameter('theme')); - } elseif (isIncludeReadable(sprintf("theme/%s/theme.php", postRequestParameter('theme')))) { + setTheme(getRequestElement('theme')); + } elseif (isIncludeReadable(sprintf("theme/%s/theme.php", postRequestElement('theme')))) { // Set cookie from posted data - setTheme(postRequestParameter('theme')); + setTheme(postRequestElement('theme')); } // Set return value