{include file="header.html"} {if $unlockedit} {/if} {title value=$layout.pagetitle link="{fontimg src='list'} {trans('List of IP pools')}"} {box class="noshadow"} {if $unlockedit}
{/if} {heading class="noborder noshadow"} {if !$unlockedit} {$network.name} ({$network.id|string_format:"%04d"}) {else} {trans("Name:")} ({$network.id|string_format:"%04d"}) {/if} {/heading} {body}
{if !$unlockedit} {/if} {if $network.wins || $unlockedit} {/if} {if $network.notes || $unlockedit} {/if}
{trans("Address/prefix:")} {if $unlockedit} / {else}{$network.address}/{$network.prefix}{/if}
{trans("Network size:")} {t a=$network.size}$a addresses{/t}
{trans("Interface:")} {if $unlockedit}{else}{$network.interface}{/if}
{trans("Gateway:")} {if $unlockedit} {else}{$network.gateway}{/if}
{trans("WINS server:")} {if $unlockedit}{else}{$network.wins}{/if}
{trans("Host:")} {if $unlockedit} {else} {$network.hostname} {/if}
{trans('Notes:')} {if $unlockedit} {else} {$network.notes|replace:"\n":"
"}
{/if}
{if $network.dns || $unlockedit} {/if} {if $network.domain || $unlockedit} {/if} {if $network.ipnat || $unlockedit} {/if} {if $network.pppoe_profile || $unlockedit} {/if}
{trans("DHCP range:")} {if $unlockedit}
{else}{$network.dhcpstart}
{$network.dhcpend}{/if}
{trans("DNS servers:")} {if $unlockedit}
{else}{$network.dns}
{$network.dns2}{/if}
{trans("Domain:")} {if $unlockedit}{else}{$network.domain}{/if}
IP Nat {if $unlockedit} {else} {$network.ipnat} {/if}
{trans('PPPoE Profiles')} {if $unlockedit} {else} {$network.pppoe_profile} {/if}
{/body} {if $unlockedit}
{/if} {footer} {if $unlockedit}
{trans("Put in order")} {if $netlistsize > 1} {trans("Reassign to network:")} {/if} {fontimg src="save"} {trans("Submit")} {fontimg src="delete"} {trans("Remove")} {fontimg src="cancel"} {trans("Cancel")}
{else} {fontimg src="edit"} {trans("Edit")} {fontimg src="delete"} {trans("Remove")} {/if} {/footer} {/box} {if $network.page} {/if}
{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}
{cycle values="lucid,light" 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}
{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 $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})
{include file="footer.html"}