⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 add.xml

📁 基于PHP和MYSQL的计算机辅助设备维修管理系统
💻 XML
字号:
<form>
	<title>Add / Edit Vendor</title>
	<action>index.php?sub=vendors&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=vendors&action=details&vendor_id={VENDOR_ID}</location>
		</return>

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

	</buttons>

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

	<fields>

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

		<vendor_name type="textbox" size="40:100" required="true" validate="A:1:100">
			<title>Name</title>
			<description>Enter the name for this vendor.</description>
		</vendor_name>

		<vendor_address type="textarea" size="40:4">
			<title>Address</title>
			<description>Vendor's address.</description>
		</vendor_address>

		<vendor_phone type="textbox" size="20:30">
			<title>Phone</title>
			<description>Vendor's phone.</description>
		</vendor_phone>

		<vendor_contact type="textbox" size="30:40">
			<title>Contact person</title>
			<description>Enter the name for the contact name.</description>
		</vendor_contact>

		<vendor_site type="textbox" size="30:200" preffix="http://">
			<title>Web Site</title>
			<description>Enter the website for this vendor. Do not add the http:// before address.</description>
		</vendor_site>

		<vendor_date type="date" now="true">
			<title>Update Date</title>
			<description>Select the last update date.</description>

			<fields>
				<month format="int" default="now" />
				<day format="int" default="now" />
				<year from="2004" to="2010" default="now"/>
			</fields>
		</vendor_date>


	</fields>
</form>

⌨️ 快捷键说明

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