]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_beg.php
Fixed name inconsistency
[mailer.git] / inc / modules / admin / what-config_beg.php
index 84062756e2c508246bc9724fda9619a6cdcceb76..b720966c23b19dec3c9fdbbfc35df579580c4bec 100644 (file)
@@ -56,13 +56,10 @@ if (isFormSent()) {
        setConfigEntry('beg_rallye_disable_notify', postRequestParameter('beg_rallye_disable_notify'));
 } else {
        // Prepare constants for the template
-       $content['points']           = translateComma(getBegPoints()             , false);
-       $content['points_max']       = translateComma(getBegPointsMax()          , false);
-       $content['notify_bonus']     = translateComma(getBegNotifyBonus()        , false);
-       $content['timeout']          = createTimeSelections(getBegTimeout()      , 'beg_timeout'       , 'Dhm');
-       $content['userid_timeout']   = createTimeSelections(getBegUseridTimeout(), 'beg_userid_timeout', 'Dhm');
-       $content['ip_timeout']       = createTimeSelections(getBegIpTimeout()    , 'beg_ip_timeout'    , 'Dhm');
-       $content['wait_selection']   = createTimeSelections(getBegNotifyWait()   , 'beg_notify_wait'   , 'ms' );
+       $content['timeout']          = createConfigurationTimeSelections('beg_timeout'       , 'Dhm');
+       $content['userid_timeout']   = createConfigurationTimeSelections('beg_userid_timeout', 'Dhm');
+       $content['beg_ip_timeout']   = createConfigurationTimeSelections('beg_ip_timeout'    , 'Dhm');
+       $content['wait_selection']   = createConfigurationTimeSelections('beg_notify_wait'   , 'ms' );
 
        // Init all Y/N selections
        foreach (array('rallye', 'active', 'mode', 'rallye_enable_notify', 'rallye_disable_notify', 'new_member_notify', 'include_own') as $entry) {
@@ -88,7 +85,7 @@ if (isFormSent()) {
        $content['beg_mode_' . strtolower(getBegMode())] = ' checked="checked"';
 
        // Member selection box
-       $content['form_selection'] = addMemberSelectionBox(getBegUserid(), false, true, true, 'beg_userid');
+       $content['beg_userid'] = addMemberSelectionBox(getBegUserid(), false, true, true, 'beg_userid');
 
        // Load form template
        loadTemplate('admin_config_beg', false, $content);