X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-theme_edit.php;h=8b2c80037b2fc963a9b64f032ee93b5bd64017d0;hp=df950f622f59c2e8b6fc237c4166a7ea394bafd8;hb=57227d33e870ec5cd271209c4a978a52b45c2dd6;hpb=039203d5428c9c6a3bed61fb3a9a16958c6fd44c diff --git a/inc/modules/admin/what-theme_edit.php b/inc/modules/admin/what-theme_edit.php index df950f622f..8b2c80037b 100644 --- a/inc/modules/admin/what-theme_edit.php +++ b/inc/modules/admin/what-theme_edit.php @@ -52,18 +52,18 @@ if (!isExtensionActive('theme')) { // Check for selected themes if (countPostSelection() > 0) { $OUT = ''; - foreach (postRequestElement('sel') as $id => $sel) { + foreach (postRequestParameter('sel') as $id => $sel) { $sql = ''; // Shall I de-/activate or delete themes? - if (isPostRequestElementSet(('status'))) { + if (isPostRequestParameterSet(('status'))) { // Change status - if (postRequestElement('active', $id) == 'Y') { + if (postRequestParameter('active', $id) == 'Y') { $sql = "UPDATE `{?_MYSQL_PREFIX?}_themes` SET theme_active='N' WHERE `id`='".$id."' LIMIT 1"; } else { $sql = "UPDATE `{?_MYSQL_PREFIX?}_themes` SET theme_active='Y' WHERE `id`='".$id."' LIMIT 1"; } $OUT = getMessage('ADMIN_THEMES_UPDATED'); - } elseif (isPostRequestElementSet('del')) { + } elseif (isPostRequestParameterSet('del')) { // Delete themes $sql = "DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_themes` WHERE `id`='".$id."' LIMIT 1"; $OUT = getMessage('ADMIN_THEMES_DELETED'); @@ -81,9 +81,9 @@ if (countPostSelection() > 0) { // Output generated? if (empty($OUT)) $OUT = getMessage('ADMIN_THEME_NO_OUTPUT'); -} elseif (isGetRequestElementSet('default_theme')) { +} elseif (isGetRequestParameterSet('default_theme')) { // Escape string from input - $postData['default_theme'] = getRequestElement('default_theme'); + $postData['default_theme'] = getRequestParameter('default_theme'); // Set session setTheme($postData['default_theme']);