add.xml

来自「基于PHP和MYSQL的计算机辅助设备维修管理系统」· XML 代码 · 共 39 行

XML
39
字号
<form>
	<title>Add / Edit Task Type</title>
	<action>index.php?sub=tasktype&action=store</action>
	<name>edit</name>
	<width>540</width>

	<formtag>true</formtag>
	<border>true</border>
	
	<buttons>		
		<set>
			<footer>true</footer>
			<header>true</header>
		</set>

		<return onclick="" button="return" >
			<location>index.php?sub=tasktype</location>
		</return>

		<save onclick="" button="saveall">
			<location>javascript:document.forms[0].submit();</location>
		</save>

	</buttons>

	<redirect>index.php?sub=tasktype</redirect>

	<fields>

		<type_id type="hidden" hidden="true"/>

		<type_name type="textbox" size="40:100" unique="true" required="true" validate="A:1:100">
			<title>Task Name</title>
			<description>Enter an unique name for this task type.</description>
		</type_name>

	</fields>
</form>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?