]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_bonus.php
New extension added, more EL-rewrites, naming-convention applied:
[mailer.git] / inc / modules / admin / what-config_bonus.php
index fc320e7d81dad06f071dd8acf4fc98bfd9d0d160..b6750d4f71e8a31feae45dd461f4efd3a3a30220 100644 (file)
@@ -70,9 +70,9 @@ if (isFormSent()) {
        adminSaveSettingsFromPostData();
 
        // Remember new settings
-       setConfigEntry('bonus_active'   , postRequestParameter('bonus_active'));
-       setConfigEntry('bonus_en_notify', postRequestParameter('bonus_en_notify'));
-       setConfigEntry('bonus_di_notify', postRequestParameter('bonus_di_notify'));
+       setConfigEntry('bonus_active'        , postRequestParameter('bonus_active'));
+       setConfigEntry('bonus_enable_notify' , postRequestParameter('bonus_enable_notify'));
+       setConfigEntry('bonus_disable_notify', postRequestParameter('bonus_disable_notify'));
 } else {
        // Prepare contants for the template
        $content['login']  = translateComma(getConfig('login_bonus')        , false);
@@ -119,7 +119,7 @@ if (isFormSent()) {
        $content['wait_selection']          = createTimeSelections(getConfig('bonus_notify_wait'), 'bonus_notify_wait', 'ms' );
 
        // Init Y/N selections
-       foreach (array('active','login_yn','stats_yn','order_yn','ref_yn','click_yn','en_notify','di_notify','new_mem_notify','include_own') as $entry) {
+       foreach (array('active','login_yn','stats_yn','order_yn','ref_yn','click_yn','enable_notify','disable_notify','new_member_notify','include_own') as $entry) {
                $content[$entry . '_y'] = '';
                $content[$entry . '_n'] = '';
                $content[$entry . '_' . strtolower(getConfig('bonus_' . $entry))] = ' checked="checked"';