<%@ Page CodeFileBaseClass="IlgharCMS.Lib.AdminPageBase" %>
<ilghar: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>
		<ilghar:List Object="Type.Property" Condition="TypeID=Type[ID]" Validate="True">
			<ilghar:Record>
				<tr 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="option/list.aspx?Lang=<%=ContentLang%>&amp;TypeID=<%=Request.QueryString["ID"]%>&amp;ID=<%=InnerID%>">选项</a>
							<%EndIf%>
						</td>
						<td><a href="edit.aspx?Lang=<%=ContentLang%>&amp;TypeID=<%=Request.QueryString["ID"]%>&amp;ID=<%=InnerID%>">编辑</a></td>
						<td><a href="">删除</a></td>
					</form>
				</tr>
			</ilghar:Record>
		</ilghar:List>
	</tbody>
</table>