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

{$layout.pagetitle}

{if $unlockedit}
{/if} {if $unlockedit}{/if} {if !$unlockedit} {else} {/if} {if !$unlockedit} {/if} {if $network.ownerid || $unlockedit} {/if} {if $network.hostid || $unlockedit} {/if} {if $network.authtype || $unlockedit} {/if} {if $network.notes || $unlockedit} {/if} {if $unlockedit}{/if} {if $unlockedit && $netlistsize > 1} {/if} {if $network.page} {/if}
{$network.name} ({$network.id|string_format:"%04d"}) {trans("Name:")} ({$network.id|string_format:"%04d"})
{trans("Address/prefix:")} {if $unlockedit} / {else} {$network.address}/{$network.prefix} {/if} {trans("DHCP range:")} {if $unlockedit}
{else} {$network.dhcpstart}
{$network.dhcpend} {/if}
{trans("Network size:")} {t a=$network.size}$a addresses{/t}
{trans("Interface:")} {if $unlockedit} {else} {$network.interface} {/if}
{icon name="vlan" label="VLAN"} {if $unlockedit} {else} {$network.vlanid} {/if}
{trans("Gateway:")} {if $unlockedit} {else} {$network.gateway} {/if} {trans("DNS servers:")} {if $unlockedit}
{else} {$network.dns}
{$network.dns2} {/if}
{trans("WINS server:")} {if $unlockedit} {else} {$network.wins} {/if} {trans("Domain:")} {if $unlockedit} {else} {$network.domain} {/if}
{trans("Customer:")} {if $unlockedit} {customerlist form="netedit" customers=$customers selected=$network.ownerid version=2 selectname="networkdata[customerid]" inputname="networkdata[ownerid]" selecttip="Assign network to customer" inputtip="Enter customer ID (optional)"} {else} {$network.customername} {/if}
{trans("Public network:")} {if $unlockedit} {elseif $network.pubnetid} {$network.pubnet.name} ({$network.pubnet.address}/{$network.pubnet.prefix}) {else} {trans("- none -")} {/if}
{trans("Host:")} {if $unlockedit} {else} {$network.hostname} {/if}
{trans("SNAT IP:")} {if $unlockedit} {else} {$network.snat} {/if}
{trans("Type:")} {$first = true} {foreach $_SESSIONTYPES as $idx => $sessiontype} {if $unlockedit} {else} {if $network.authtype & $idx} {if !$first} / {/if}{$sessiontype.label}{$first = false}{/if} {/if} {/foreach}
{if $unlockedit} {else}
{$network.notes|replace:"\n":"
"}
{/if}
{trans("Reassign to network:")}  
{if $unlockedit} {trans("Put in order")} {trans( {trans("Submit")} {trans( {trans("Remove")} {trans( {trans("Cancel")} {trans( {else} {trans("Edit")} {trans( {trans("Remove")} {trans( {/if}
{cycle values="light,lucid" print=false} {section name=network loop=$network.nodes.id max=$network.rows} {section name=subnetwork loop=$network.nodes.address start=$smarty.section.network.index step=$network.rows} {/section} {/section}
{trans("IP addresses status:")} {if $network.page > 1}«««{else}«««{/if} {t a=$network.page b=$network.pages}Page $a of $b{/t} {if $network.page < $network.pages}»»»{else}»»»{/if}
{if $network.page > 1}«««{else}«««{/if} {t a=$network.page b=$network.pages}Page $a of $b{/t} {if $network.page < $network.pages}»»»{else}»»»{/if} {t a=$network.assigned}Total: $a{/t} ({trans("this page:")} {$network.pageassigned|default:"0"}, {trans("free:")} {$network.free})
{if !$network.nodes.ownerid[subnetwork] && $network.nodes.netdev[subnetwork]} {$network.nodes.name[subnetwork]} {else} {if $network.nodes.id[subnetwork]} {$network.nodes.name[subnetwork]} {else} {if $network.nodes.name[subnetwork]} {$network.nodes.name[subnetwork]} {else} {$network.nodes.address[subnetwork]} {/if} {/if} {/if}
{if $unlockedit} {/if} {/block}