{include file="google-maps.html"}
{box_container id="netdev"} {box_header icon="netdev" icon_class="fa-fw" label="Name"}
{/box_header} {box_contents} {box_panel} {box_row icon="status" icon_class="fa-fw" label="Status"}
{foreach $_NETELEMENTSTATUSES as $idx => $status}
{$status}
{/foreach}
{/box_row} {box_row icon="hardware" icon_class="fa-fw" label="Manufacturer"}
{foreach $producers as $producer}
{$producer.name}
{/foreach}
{/box_row} {box_row icon="hardware" icon_class="fa-fw" label="Model"}
{/box_row} {box_row icon="sn" icon_class="fa-fw" label="Serial number"}
{/box_row} {box_row icon="port" icon_class="fa-fw" label="Number of ports"}
{/box_row} {box_row icon="customer" icon_class="fa-fw" label="Owner"} {if isset($customer.id)} {customerlist form="netdev" customers=$customers selected=$customer.id version=2 selectname="customer" inputname="netdev[ownerid]" select_id="ownerid_select" input_id="ownerid_input" customOnChange="customerChanged()"} {else} {customerlist form="netdev" customers=$customers selected=$netdev.ownerid version=2 selectname="customer" inputname="netdev[ownerid]" select_id="ownerid_select" input_id="ownerid_input" customOnChange="customerChanged()"} {/if} {/box_row} {box_row id="location_select" icon="home" icon_class="fa-fw" label="Location"} {if $netdev.address_id > 0 && $netdev.ownerid} {$selected_address_id = $netdev.address_id} {else} {$selected_address_id = null} {/if} {include file="customer/customeraddresses.html" id="customer_addresses" name="netdev[customer_address_id]" trigger="address_id" selected_address_id=$selected_address_id} {/box_row} {box_row id="location_box" icon="home" icon_class="fa-fw" label="Location"} {location_box prefix="netdev" address_id="{$netdev.address_id}" location_name="{$netdev.location_name}" location_state_name="{$netdev.location_state_name}" location_state="{$netdev.location_state}" location_city_name="{$netdev.location_city_name}" location_city="{$netdev.location_city}" location_postoffice="{$netdev.location_postoffice}" location_street_name="{$netdev.location_street_name}" location_street="{$netdev.location_street}" location_house="{$netdev.location_house}" location_flat="{$netdev.location_flat}" location_zip="{$netdev.location_zip}" location_country_id="{$netdev.location_country_id}" teryt="{$netdev.teryt}"} {/box_row} {box_row} {icon name="network"}
{trans("Determine GPS coordinates automatically")}
{/box_row} {box_row icon="location" icon_class="fa-fw" label="GPS longitude"}
{button type="link" icon="map" tip="Click to select gps coordinates from map" onClick="return gpscoordschoosewin(document.netdev.elements['netdev[longitude]'], document.netdev.elements['netdev[latitude]']);"} {/box_row} {box_row icon="location" icon_class="fa-fw" label="GPS latitude"}
{button type="link" icon="map" tip="Click to select gps coordinates from map" onClick="return gpscoordschoosewin(document.netdev.elements['netdev[longitude]'], document.netdev.elements['netdev[latitude]']);"} {/box_row} {if ConfigHelper::checkConfig('phpui.radius')} {box_row icon="radius" icon_class="fa-fw" label="Shortname"}
{/box_row} {box_row icon="radius" icon_class="fa-fw" label="Type"}
{foreach $nastypes as $key => $item}
{$item.name}
{/foreach}
{/box_row} {box_row icon="radius" icon_class="fa-fw" label="Max clients"}
{/box_row} {box_row icon="radius" icon_class="fa-fw" label="Login"}
{/box_row} {box_row icon="radius" icon_class="fa-fw" label="Secret"}
{/box_row} {box_row icon="radius" icon_class="fa-fw" label="Community"}
{/box_row} {/if} {if isset($channels)} {box_row icon="img/channel.gif" label="Channel:"}
- {trans("none")} -
{foreach $channels as $item}
{$item.name}
{/foreach}
{/box_row} {/if} {/box_panel} {box_panel} {box_row icon="calendar" icon_class="fa-fw" label="Purchase date"}
{/box_row} {box_row icon="warranty" icon_class="fa-fw" label="Warranty"}
{foreach $_GUARANTEEPERIODS as $key => $period}
{$period}
{/foreach}
{/box_row} {box_row icon="description" icon_class="fa-fw" label="Description"}
{$netdev.description|escape}
{/box_row} {box_row icon="invproject" icon_class="fa-fw" label="Investment project"}
- {trans("none")} -
{trans("From root device")}
{foreach $NNprojects as $project}
{$project.name}
{/foreach}
{/box_row} {box_row icon="netnode" icon_class="fa-fw" label="Network Node"}
{trans("None")}
{foreach $NNnodes as $node}
{$node.name}
{/foreach}
{/box_row} {/box_panel} {/box_contents} {box_buttons} {block name="netdevmodify-buttons"} {button type="submit" id="submit_button" icon="save" accesskey="s" label="Submit"} {button icon="cancel" onclick="location.href = '?m=netdevlist';" label="Cancel"} {/block} {/box_buttons} {/box_container}