<%@ page contentType="text/html; charset=GBK" session="false"%>
<%@ taglib uri="/cmsTag" prefix="cms"%>
<%@ page contentType="text/html; charset=GBK"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
		<link href="../style/blue/css/main.css" type="text/css" rel="stylesheet" />
		<link href="../style/blue/css/reset-min.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="../common/js/jquery-1.7.gzjs"></script>
		<script type="text/javascript" src="../javascript/commonUtil_src.js"></script>
		<script>
	
      </script>
	</head>
	<body>
	
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="form-table">
						<tr>
							<td width="17%" class="input-title">
								<strong>版本描叙</strong>
							</td>
							<td class="td-input">
								<textarea id="editDesc" name="editDesc" class="form-textarea" style="width:320px; height:70px;"></textarea>
							</td>
						</tr>
						</table>

				     	<div style="height:15px;"></div>
				     	<div class="breadnavTab"  >
						<table width="100%" border="0" cellspacing="0" cellpadding="0" >
							<tr class="btnbg100">
								<td width="71%" class="input-title"></td>
								<td  class="td-input">
									<a href="javascript:gotoFormat();"  class="btnwithico"><img src="../style/icons/tick.png" width="16" height="16" /><b>确认&nbsp;</b> </a>
									<a href="javascript:close();"  class="btnwithico" onclick=""><img src="../style/icon/close.png" width="16" height="16"/><b>取消&nbsp;</b> </a>
								</td>
							</tr>
						</table>
						</div>

		</table>
		<!--[if lt IE 7]>
        <script type="text/javascript" src="js/unitpngfix.js"></script>
<![endif]-->
	</body>
</html>
<script>  

var api = frameElement.api, W = api.opener; 
 
function gotoFormat()
{  
    W.document.getElementById('content').value = W.editor.getValue();
    
    W.document.getElementById('editDesc').value = document.getElementById('editDesc').value;
   
	var form = W.document.getElementById('editTextForm');
	
	if('utf-8' == '${param.mode}')
	{
		form.action = '<cms:BasePath/>resources/writeUTF8TextFile.cmd?etId=${param.etId}';
	}
	else
	{
		form.action = '<cms:BasePath/>resources/writeTextFile.cmd?etId=${param.etId}';
	}
	
	form.submit();
}

function close()
{
 	var api = frameElement.api, W = api.opener; 
     api.close();
}



  
</script>
