]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_wernis.php
Extension ext-funcoins continued, template helper function added:
[mailer.git] / inc / modules / admin / what-config_wernis.php
index 7d5a3ece21568cf7795fa176cf85e81c800ad938..437d1b23196e4d45a378386a5988ab8f3c8eddd7 100644 (file)
@@ -65,21 +65,8 @@ if (isFormSent()) {
                displayMessage(GET_WERNIS_ERROR_MESSAGE());
        }
 }  else {
-       // Prepare data for template output
-       $content = array(
-               'wernis_payout_active_y'   => '',
-               'wernis_payout_active_n'   => '',
-               'wernis_withdraw_active_y' => '',
-               'wernis_withdraw_active_n' => '',
-       );
-
-       // Prepare payout Y/N selection
-       foreach (array('wernis_payout_active', 'wernis_withdraw_active') as $entry) {
-               $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"';
-       } // END - foreach
-
        // Load template
-       loadTemplate('admin_config_wernis', false, $content);
+       loadTemplate('admin_config_wernis');
 }
 
 // [EOF]