ERROR: You don\'t have administrator rights to modify registration options.
','dregister'); die; endif; // -- Cancella opzioni ---// if(empty($_POST['fields']) ): delete_option('dr_fields'); die; endif; // -- Aggiorna opzioni ---// foreach ($_POST['fields'] as $k=>$v){ if (empty($v['name'])): echo __('ERROR: You cannot leave any blank field name.
','dregister'); die; endif; $_POST['fields'][$k]['field_name'] = 'dr_'.ereg_replace("[^a-z0-9_]", "", strtolower($v['name'])); } update_option('dr_fields', $_POST['fields']); update_option('dr_force_first_name',$_POST['dr_force_first_name']); update_option('dr_force_last_name',$_POST['dr_force_last_name']); ?>