{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content}

{$layout.pagetitle}

{icon name="network"} {trans("Network name")}
{icon name="network"} {trans("Address/prefix")} / {icon name="hosting"} {trans("DHCP range")}
{icon name="hardware"} {trans("Interface")}
{icon name="vlan"} {trans("VLAN")}
{icon name="routing"} {trans("Gateway")} {icon name="hosting"} {trans("DNS servers")}
{icon name="hosting"} {trans("WINS server")} {icon name="node"} {trans("Domain")}
{icon name="customer"} {trans("Customer")} {customerlist form="netadd" customers=$customers selected=$netadd.ownerid version=2 selectname="netadd[customerid]" inputname="netadd[ownerid]" selecttip="Assign network to customer" inputtip="Enter customer ID (optional)" form="netadd"}
{icon name="network"} {trans("Public network")}
{icon name="hosting"} {trans("Host")} {* if only one host was created then select him *} {if !empty($hostlist) && count($hostlist) == 1} {$netadd.hostid = $hostlist[0]['id']} {/if}
{icon name="node"} {trans("SNAT IP")}
{icon name="netdev"} {trans("Type")} {foreach $_SESSIONTYPES as $idx => $sessiontype} {/foreach}
{hint content="Check if network and broadcast addresses are assignable"}
{icon name="info"}
{button accesskey="S" onclick="document.netadd.submit();" icon="save" label="Submit"} {button href="?m=netlist" icon="cancel" label="Cancel"}
{/block}