<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<ali:Get ID="Type" Object="Type" InnerID="Request.QueryString['ID']" />
<table border="0" cellpadding="4" cellspacing="1">
	<thead>
		<tr>
			<th width="40">移动</th>
			<th>名称</th>
			<th width="100">控件</th>
			<th width="40">修改</th>
			<th width="40">选项</th>
			<th width="40">编辑</th>
			<th width="40">删除</th>
		</tr>
	</thead>
	<tbody>
		<ali:List Object="Type.Property" Condition="TypeID=Type[ID]" Validate="True">
			<ali:Record>
				<tr id="Row<%=InnerID%>" ItemID="<%=InnerID%>" ParentID="" data-id="<%=InnerID%>">
					<form>
						<td><img name="<%=Name%>" sort="<%=InnerID%>" class="Move" src="<%=ImagePath%>move.gif" /></td>
						<td><input type="text" name="Name" value="<%=Name%>" class="Text <%=ContentLang%>Font" /></td>
						<td>
							<%If String.Equals(Control, "TextArea")%>
								多行文本框
							<%ElseIf String.Equals(Control, "Select")%>
								下拉菜单
							<%ElseIf String.Equals(Control, "List")%>
								下拉列表
							<%ElseIf String.Equals(Control, "CheckBox")%>
								复选框
							<%ElseIf String.Equals(Control, "Radio")%>
								单选框
							<%Else%>
								单行文本框
							<%EndIf%>
						</td>
						<td><input type="image" src="<%=ImagePath%>modify.gif" /></td>
						<td>
							<%If !String.Equals(Control, "Text") && !String.Equals(Control, "TextArea")%>
								<a href="../../type/property/option/list.aspx?Lang=<%=ContentLang%>&TypeID=<%=Request.QueryString["ID"]%>&ID=<%=InnerID%>">选项</a>
							<%EndIf%>
						</td>
						<td><a href="../../type/property/edit.aspx?Lang=<%=ContentLang%>&TypeID=<%=Request.QueryString["ID"]%>&ID=<%=InnerID%>">编辑</a></td>
						<td><a href="">删除</a></td>
					</form>
				</tr>
			</ali:Record>
		</ali:List>
	</tbody>
</table>