Location: PHPKode > projects > Network Management Center > modules/network/forms/level0/ip/add.xml
<form>
	<title>{PRIVATE.FORM_ACTION_TITLE} IP/Gateway</title>
	<action>index.php?mod=network&sub=ip&action=store</action>
	<name>edit</name>
	<width>580</width>

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

		<return onclick="" button="return">
			<location>{PRIVATE.FORM_PREVIOUS_PAGE}</location>
		</return>

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

	</buttons>


	<redirect>index.php?mod=network&sub=accounts</redirect>

	<fields>
		<ip_id type="hidden" hidden="true"/>
		<ip_device type="hidden" default="$_GET[ip_device]" action="eval"/>

		<ip_ip type="textbox" size="20" required="true" validate="A:2:200">			
			<title>IP</title>			
		</ip_ip>

		<ip_gw type="textbox" size="20" required="true" validate="A:2:200">			
			<title>Gateway</title>			
		</ip_gw>

		<ip_nm type="textbox" size="20">			
			<title>Netmask</title>			
		</ip_nm>

		<ip_ports type="textarea" size="60:3">
			<title>Ports</title>			
		</ip_ports>

	</fields>
</form>
Return current item: Network Management Center