{include file="google-maps.html"}
{box_container id="netdev"} {box_header icon="img/netdev.gif" label="Name:"}
{/box_header} {box_contents} {box_panel} {box_row icon="img/producer.gif" label="Status:"}
{foreach $_NETELEMENTSTATUSES as $idx => $status}
{$status}
{/foreach}
{/box_row} {box_row icon="img/producer.gif" label="Manufacturer:"}
{foreach $producers as $producer}
{$producer.name}
{/foreach}
{/box_row} {box_row icon="img/netdev_model.gif" label="Model:"}
{/box_row} {box_row icon="img/serialnumber.gif" label="Serial number:"}
{/box_row} {box_row icon="img/port.gif" label="Number of ports:"}
{/box_row} {box_row icon="img/customer.gif" label="Owner:"} {if isset($customer.id)} {customerlist form="netdev" customers=$customers selected=$customer.id selectname="customer" inputname="netdev[ownerid]" select_id="ownerid_select" input_id="ownerid_input" customOnChange="customerChanged()"} {else} {customerlist form="netdev" customers=$customers selected=$netdev.ownerid selectname="customer" inputname="netdev[ownerid]" select_id="ownerid_select" input_id="ownerid_input" customOnChange="customerChanged()"} {/if} {/box_row} {box_row id="location_select" icon="img/home.gif" label="Location:"}
{/box_row} {box_row id="location_box" icon="img/home.gif" 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}
{trans("Determine GPS coordinates automatically")}
{/box_row} {box_row icon="img/home.gif" label="GPS longitude:"}
»»»
{/box_row} {box_row icon="img/home.gif" label="GPS latitude:"}
»»»
{/box_row} {if ConfigHelper::checkConfig('phpui.radius')} {box_row icon="img/radius.gif" label="Shortname:"}
{/box_row} {box_row icon="img/radius.gif" label="Type:"}
{foreach $nastypes as $key => $item}
{$item.name}
{/foreach}
{/box_row} {box_row icon="img/radius.gif" label="Max clients:"}
{/box_row} {box_row icon="img/radius.gif" label="Secret:"}
{/box_row} {box_row icon="img/radius.gif" label="Community:"}
{/box_row} {/if} {if isset($channels)} {box_row icon="img/channel.gif" label="Channel:"}
- {trans("none")} -
{foreach from=$channels item=item}
{$item.name}
{/foreach}
{/box_row} {/if} {/box_panel} {box_panel} {box_row icon="img/calendar.gif" label="Purchase date:"}
{/box_row} {box_row icon="img/guarantee.png" label="Guarantee period:"}
{foreach from=$_GUARANTEEPERIODS key=key item=period}
{$period}
{/foreach}
{/box_row} {box_row icon="img/desc.gif" label="Description:"}
{$netdev.description}
{/box_row} {box_row icon="img/money.gif" label="Investment project:"}
- {trans("none")} -
{trans("From root device")}
{foreach $NNprojects as $project}
{$project.name}
{/foreach}
{/box_row} {box_row icon="img/netnode.png" 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}