message('error', 'You need to set manual base URL or choose type \'none\'.'); $err = TRUE; } if ($err) { show_manual_form($vals); } else { $_SESSION['configuration'] = array_merge($_SESSION['configuration'], $vals); message('notice', 'Configuration changed'); $show_info = TRUE; } } else { $show_info = TRUE; } break; case 'feat_manual': show_manual_form($_SESSION['configuration']); break; case 'feat_charset_real': if (isset($_POST['submit_save'])) { $vals = grab_values('AllowAnywhereRecoding:bool;DefaultCharset;RecodingEngine;IconvExtraParams'); $err = FALSE; if ($err) { show_charset_form($vals); } else { $_SESSION['configuration'] = array_merge($_SESSION['configuration'], $vals); message('notice', 'Configuration changed'); $show_info = TRUE; } } else { $show_info = TRUE; }
message('error', 'You need to set manual base URL or choose type \'none\'.'); $err = TRUE; } if ($err) { show_manual_form($vals); } else { $configuration = array_merge($configuration, $vals); message('notice', 'Configuration changed'); $show_info = TRUE; } } else { $show_info = TRUE; } break; case 'feat_manual': show_manual_form($configuration); break; case 'feat_charset_real': if (isset($_POST['submit_save'])) { $vals = grab_values('AllowAnywhereRecoding:bool;DefaultCharset;RecodingEngine;IconvExtraParams'); $err = FALSE; if ($err) { show_charset_form($vals); } else { $configuration = array_merge($configuration, $vals); message('notice', 'Configuration changed'); $show_info = TRUE; } } else { $show_info = TRUE; }