{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content} {$xajax} {include file="google-maps.html"}

{$layout.pagetitle}

{box_container id="netnode"} {box_header icon="img/netnode.png" label="Name:"} {/box_header} {box_contents} {box_panel} {if $divisions} {box_row icon="img/division.gif" label="Division:"} {/box_row} {/if} {box_row icon="img/producer.gif" label="Type:"} {/box_row} {box_row icon="img/producer.gif" label="Status:"} {/box_row} {box_row icon="img/producer.gif" label="Project:"} {/box_row} {box_row icon="img/producer.gif" label="Ownership:"} {/box_row} {box_row id="ownername" icon="img/division.gif" label="Owner identifier:"} {/box_row} {box_row id="customer" icon="img/customer.gif" label="Owner:"} {if isset($nodenode.id)} {customerlist form="netnode" customers=$customers selected=$customer.id version=2 selectname="customer" inputname="netnode[ownerid]" select_id="ownerid_select" input_id="ownerid_input" customOnChange="customerChanged()"} {else} {customerlist form="netnode" customers=$customers selected=$netnode.ownerid version=2 selectname="customer" inputname="netnode[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 $netnode.ownerid && $netnode.address_id > 0} {$selected_address_id = $netnode.address_id} {else} {$selected_address_id = null} {/if} {include file="customer/customeraddresses.html" id="customer_addresses" name="netnode[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 = "netnode" address_id = "{$netnode.address_id}" location_name = "{$netnode.location_name}" location_state_name = "{$netnode.location_state_name}" location_state = "{$netnode.location_state}" location_city_name = "{$netnode.location_city_name}" location_city = "{$netnode.location_city}" location_postoffice = "{$netnode.location_postoffice}" location_street_name = "{$netnode.location_street_name}" location_street = "{$netnode.location_street}" location_house = "{$netnode.location_house}" location_flat = "{$netnode.location_flat}" location_zip = "{$netnode.location_zip}" location_country_id = "{$netnode.location_country}" teryt = "{$netnode.teryt}" } {/box_row} {/box_panel} {box_panel} {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} {box_row icon="img/producer.gif" label="Sharing surface"} {/box_row} {box_row icon="img/producer.gif" label="Antennas installation"} {/box_row} {box_row icon="img/note.gif" label="Note"} {/box_row} {box_row icon="img/calendar.gif" label="Last inspection:"} {/box_row} {box_row icon="img/phone.gif" label="Administrative contact:"} {/box_row} {/box_panel} {/box_contents} {box_buttons} {button type="submit" icon="save" accesskey="s" label="Submit"} {button icon="cancel" onclick="location.href='?m=netnodeinfo&id={$netnode.id}';" label="Cancel"} {/box_buttons} {/box_container} {/block}