- define('LEAST_CATS_VALUE' , round($_CONFIG['least_cats']));
- define('__CFG_SHOW_REFID' , ADD_SELECTION("yn", $_CONFIG['display_refid'] , "display_refid"));
- define('__TIMEOUT_SELECTION', CREATE_TIME_SELECTIONS($_CONFIG['ip_timeout'] , "ip_timeout", "Dhm"));
- define('__CFG_DBL_EMAIL' , ADD_SELECTION("yn", $_CONFIG['check_double_email'] , "check_double_email"));
- define('__CFG_DBL_PASS' , ADD_SELECTION("yn", $_CONFIG['check_double_pass'] , "check_double_pass"));
- define('__CFG_CAT_DEFAULT' , ADD_SELECTION("yn", $_CONFIG['register_default'], "register_default"));
+ $content['display_refid'] = addSelectionBox('yn', getDisplayRefid() , 'display_refid');
+ $content['ip_timeout'] = createConfigurationTimeSelections('ip_timeout', 'Dhm');
+ $content['check_double_email'] = addSelectionBox('yn', getCheckDoubleEmail() , 'check_double_email');
+ $content['register_default'] = addSelectionBox('yn', getRegisterDefault() , 'register_default');
+ $content['register_generate_password_empty'] = addSelectionBox('yn', getRegisterGeneratePasswordEmpty(), 'register_generate_password_empty');