]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_coupon.php
Some fixes,re-orders and ext-surfbar actions are now XML-enabled
[mailer.git] / inc / modules / admin / what-config_coupon.php
index 36118680ad409a554b917d4524ce62f56d4d5f33..cfd0aa9bf82fad33edbc968bd0d41c67d74d19aa 100644 (file)
@@ -53,16 +53,6 @@ if (isFormSent()) {
        // Add userid selection
        $content['coupon_userid'] = addMemberSelectionBox(getConfig('coupon_userid'), false, true, true, 'coupon_userid');
 
-       // Init all other template entries
-       foreach (array('payment_method_ref', 'payment_method_direct', 'points_account_order', 'points_account_general', 'locked_points_mode_locked', 'locked_points_mode_unlocked') as $entry) {
-               $content['coupon_' . $entry] = '';
-       } // END - foreach
-
-       // Set current selections
-       foreach (array('payment_method', 'points_account', 'locked_points_mode') as $entry) {
-               $content['coupon_' . $entry . '_' . strtolower(getConfig('coupon_' . $entry))] = ' checked="checked"';
-       } // END - foreach
-
        // Prepare some template data
        $content['coupon_default_time_selection']   = createConfigurationTimeSelections('coupon_default_time'  , 'WDh');
        $content['coupon_autopurge_time_selection'] = createConfigurationTimeSelections('coupon_autopurge_time', 'WDh');