".$varvalue."
";
	return $echoeditor;
}
//返回加载JS文件
function ECMS_ShowEditorJS($basepath=''){
	if(empty($basepath))
	{
		$basepath='ecmseditor/infoeditor/';
	}
	$addcs=ECMS_ReturnEditorCx();
	$loadjs=' ';
	return $loadjs;
}
//附加参数
function ECMS_ReturnEditorCx(){
	global $classid,$filepass,$id,$r,$enews,$ecms_hashur;
	if($enews=='AddClass'||$enews=='EditClass')
	{
		$modtype=1;
	}
	elseif($enews=='AddZt'||$enews=='EditZt')
	{
		$modtype=2;
	}
	else
	{
		$modtype=0;
	}
	$classid=(int)$classid;
	$filepass=(int)$filepass;
	$id=(int)$id;
	$modtype=(int)$modtype;
	$str="&classid=$classid&filepass=$filepass&infoid=$id&modtype=$modtype&sinfo=1".$ecms_hashur['ehref'];
	return $str;
}
//上传提示
function ECMS_PTEditorShowError($type,$error,$showstr,$add,$ecms=0){
?>