X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_bonus.php;h=b6750d4f71e8a31feae45dd461f4efd3a3a30220;hb=648afd5e9ca91e878a755fdb5438ac6103a4ac7e;hp=406cefa1bde07018b6510e02a7e7542466f00118;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git
diff --git a/inc/modules/admin/what-config_bonus.php b/inc/modules/admin/what-config_bonus.php
index 406cefa1bd..b6750d4f71 100644
--- a/inc/modules/admin/what-config_bonus.php
+++ b/inc/modules/admin/what-config_bonus.php
@@ -1,7 +1,7 @@
\n";
- $cnt = 0;
+ $OUT = '
';
+ $cnt = '0';
foreach ($RANKS as $k => $rate) {
- if (!empty($rate)) {
+ if (!empty($rate)) {
// Print only when something is in
- $OUT .= " -
({?POINTS?})
\n";
+ $OUT .= ' -
({?POINTS?})
';
} // END - if
$cnt++;
} // END - foreach
@@ -108,9 +108,9 @@ if (isFormSent()) {
// Add more empty fields
for ($i = $cnt; $i < $max; $i++) {
- $OUT .= " -
({?POINTS?})
\n";
+ $OUT .= ' -
({?POINTS?})
';
} // END - for
- $OUT .= "
\n";
+ $OUT .= '';
$content['trates_list'] = $OUT;
// Selection boxes
@@ -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"';