Example #1
0
        $modconfig = make_array_to_urlstring($MOD_VAR);
    } elseif (!$resetmod) {
        $modconfig = $modul['config'];
    }
}
$reset = '';
$list['id'][] = '';
$s_default = array(NULL);
if ($sess->is_registered('s_default')) {
    $sess->unregister('s_default');
}
mip_forms_ob_start();
eval(' ?>' . $default);
$default_arr = mip_forms_get_array();
$default_arr = array_merge($cms_mod, $default_arr);
mip_forms_ob_end();
$trans_html = get_html_translation_table(HTML_ENTITIES);
$trans_html = array_flip($trans_html);
if (is_array($default_arr)) {
    foreach ($default_arr as $test_key => $test_var) {
        if ($test_key == 'value') {
            foreach ($test_var as $val_key => $val_var) {
                if (!is_array($val_var)) {
                    $s_default[$val_key] = $val_var != '' ? strtr($val_var, $trans_html) : '';
                }
            }
            continue;
        }
        preg_match("/MOD_VAR\\[([^\\]]\\d*)\\]/", $test_key, $match_key);
        $s_default[$match_key['1']] = $test_var != '' ? strtr($test_var, $trans_html) : '';
    }
Example #2
0
function mip_formta($in)
{
    mip_forms_ob_start();
    $to_return = mip_formsp($in);
    mip_forms_ob_end();
    return $to_return;
}