replaceConstants($_POST['ajax_scfile']); $shortcodes = e107::getScParser()->parse_scbatch($file); } if(vartrue($_POST['ajax_sc']) && e_AJAX_REQUEST) { // temporary fix global $register_sc; if(isset($register_sc) && is_array($register_sc)) // Fix for missing THEME shortcodes. { // parse errror fix from the previous commit e107::getScParser()->loadThemeShortcodes(); } list($fld,$parm) = explode("=", $_POST['ajax_sc'], 2); $prm = ($parm) ? "=".rawurldecode($parm) : ""; //var_dump($_GET); echo e107::getParser()->parseTemplate("{".strtoupper($fld).$prm."}", true, $shortcodes); exit; } ?>