All pastes #169272 Raw Edit

Something

public php v1 · immutable
·published 2006-09-13 19:32 UTC
rendered paste body
	$tInfo = get_template_info($target);	if (array_key_exists("submit",$parms["POST"])) {	  if ($parms["POST"]["submit"]=="Preview") {	    // preview changes	  	    $preview = "_temp";	    $page = $target;	    require_once($info["page"]);	  } else {	    require_once($info["edit"]); 	  }	} else {	  require_once($info["edit"]); 	}