- if (isPostRequestParameterSet('theme')) {
- $newTheme = postRequestParameter('theme');
- } elseif (isGetRequestParameterSet('theme')) {
- $newTheme = getRequestParameter('theme');
+ if (isPostRequestElementSet('theme')) {
+ $newTheme = postRequestElement('theme');
+ } elseif (isGetRequestElementSet('theme')) {
+ $newTheme = getRequestElement('theme');