{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:"} {/box_row} {box_row icon="img/producer.gif" label="Manufacturer:"} {/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:"} {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="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:"} {/box_row} {box_row icon="img/radius.gif" label="Max clients:"} {/box_row} {box_row icon="img/radius.gif" label="Login:"} {/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:"} {/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:"} {/box_row} {box_row icon="img/desc.gif" label="Description:"} {/box_row} {box_row icon="img/money.gif" label="Investment project:"} {/box_row} {box_row icon="img/netnode.png" label="Network node:"} {/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}