A lot CSS classes rewritten, please update all your themes.
[mailer.git] / inc / modules / admin / what-config_beg.php
index 7d9852c40a6decbdc0f82ca2a60d144f8ddcb775..c714674259b0fa6163de1462073db7dc3507517d 100644 (file)
@@ -55,9 +55,9 @@ if (isFormSent()) {
        adminSaveSettingsFromPostData();
 
        // Remember new settings
-       setConfigEntry('beg_rallye'            , postRequestParameter('beg_rallye'));
-       setConfigEntry('beg_ral_enable_notify' , postRequestParameter('beg_ral_enable_notify'));
-       setConfigEntry('beg_ral_disable_notify', postRequestParameter('beg_ral_disable_notify'));
+       setConfigEntry('beg_rallye'               , postRequestParameter('beg_rallye'));
+       setConfigEntry('beg_rallye_enable_notify' , postRequestParameter('beg_rallye_enable_notify'));
+       setConfigEntry('beg_rallye_disable_notify', postRequestParameter('beg_rallye_disable_notify'));
 } else {
        // Prepare constants for the template
        $content['points']           = translateComma(getConfig('beg_points')      , false);
@@ -69,7 +69,7 @@ if (isFormSent()) {
        $content['wait_selection']   = createTimeSelections(getConfig('beg_notify_wait')   , 'beg_notify_wait'   , 'ms' );
 
        // Init all Y/N selections
-       foreach (array('rallye', 'active', 'mode', 'ral_enable_notify', 'ral_disable_notify', 'new_member_notify', 'include_own') as $entry) {
+       foreach (array('rallye', 'active', 'mode', 'rallye_enable_notify', 'rallye_disable_notify', 'new_member_notify', 'include_own') as $entry) {
                $content[$entry . '_y'] = '';
                $content[$entry . '_n'] = '';
                $content[$entry . '_' . strtolower(getConfig('beg_' . $entry))] = ' checked="checked"';
@@ -92,7 +92,7 @@ if (isFormSent()) {
        $content['beg_mode_' . strtolower(getConfig('beg_mode'))] = ' checked="checked"';
 
        // Member selection box
-       $content['member_selection'] = addMemberSelectionBox(getConfig('beg_userid'), false, true, true, 'beg_userid');
+       $content['form_selection'] = addMemberSelectionBox(getConfig('beg_userid'), false, true, true, 'beg_userid');
 
        // Load form template
        loadTemplate('admin_config_beg', false, $content);