{include file="google-maps.html"}
{block name="nodeaddbox-tablebody"}
{block name="nodeaddbox-leftcolumn"}
{trans("- automatic selection -")}
{foreach $networks as $net}
{$net.name|truncate:20:"":true}: {$net.address}/{$net.prefix}
{/foreach}
{if (ConfigHelper::checkConfig('phpui.show_assigned_networks_only')) && ConfigHelper::checkValue(ConfigHelper::checkConfig('phpui.public_ip', 'true'))} {/if}
{trans("the whole network")}
»»»
{trans("Select first free address")}
{if ConfigHelper::checkValue(ConfigHelper::checkConfig('phpui.public_ip', 'true'))}
»»»
{/if}
{mac_address_selection form="nodedata" macs=$nodedata.macs}
»»»
{if $netdevices}
»»»
{trans("- select device -")}
{section name=netdevices loop=$netdevices}
{$netdevices[netdevices].name} {$netdevices[netdevices].producer}{if $netdevices[netdevices].location} / {$netdevices[netdevices].location}{/if}
{/section}
»»»
{foreach from=$_LINKTYPES item=item key=key}
{$item}
{/foreach}
- {trans("none")} -
{trans("- unknown -")}
{foreach $_LINKTECHNOLOGIES[$nodedata.linktype] as $linktechnologyidx => $linktechnology}
{$linktechnology}
{/foreach}
{foreach from=$_LINKSPEEDS item=item key=key}
{$item}
{/foreach}
{/if}
- {trans("none")} -
{trans("New project")}
{trans("From root device")}
{section name=project loop=$NNprojects}
{$NNprojects[project].name}
{/section}
{customerlist form = "nodeadd" customers = $customers selected = $nodedata.ownerid selectname = "nodedata[customerid]" select_id = "customerid_select" inputname = "nodedata[ownerid]" input_id = "customerid_input" selecttip = "Assign node to customer" required = true customOnChange = "customer_change();" version = 2 }
{if $nodedata.address_id && $nodedata.ownerid} {$selected_address_id = $nodedata.address_id} {else} {$selected_address_id = null} {/if} {include file="customer/customeraddresses.html" id="customer_addresses" name="nodedata[address_id]" trigger="address_id" selected_address_id=$selected_address_id}
{trans("MAC checking")}:
{trans("Half duplex")}:
{foreach $_SESSIONTYPES as $idx => $sessiontype}
{$sessiontype.label}
{/foreach}
{/block}
{block name="nodeaddbox-rightcolumn"}
{trans("Determine GPS coordinates automatically")}
{trans("GPS longitude:")}
»»»
{trans("GPS latitude:")}
»»»
{$nodedata.info}
{trans("connected")}
{trans("disconnected")}
{trans("enabled")}
{trans("disabled")}
{/block}
{/block}
{block name="nodeaddbox-options"} {button id="scan-button" icon="search" label="Scan" onclick="location.href = '?m=nodescan{if $customerinfo.id}&ownerid={$customerinfo.id}{/if}';"} {button type="submit" id="save-button" icon="save" label="Submit"} {button id="cancel-button" icon="cancel" label="Cancel" onclick="location.href = '?m={if $customerinfo.id}customerinfo&id={$customerinfo.id}{else}nodelist{/if}';"}
{trans("Display this form again, when this node is saved")}
{/block}