{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content}
{trans("Name:")} {if $listdata.order == "name"}
{trans("Type")} {if $listdata.order == "type"} |
{trans("Location:")} {if $listdata.order == "location"} |
{trans("Network node:")} {if $listdata.order == "netnode"} |
ID: {if $listdata.order == "id"} |
{trans("Number of ports:")} {if $listdata.order == "ports"} {trans("Serial number:")} {if $listdata.order == "serialnumber"} |
{trans("Total:")} {$listdata.total|default:"0"} |
| {include file="scroller.html" loop=$netdevlist adlink="&search=1"} | |||||
|
{if $netdev.lastonline}
{if ($smarty.now-$netdev.lastonline) > $lastonline_limit}
{else}
{/if}
{else}
{/if}
"|default:trans("— no description —")}{if $netdev.filecontainers} {implode(' ', $netdev.filecontainers)}{/if}" >{$netdev.name}
{$netdev.producer} {if $netdev.model}/ {$netdev.model}{/if}
{if !empty($netdev.devtypename)}{strip}
(
{trans($netdev.devtypename)}
-
{if empty($netdev.devtypepassive)}{trans("active")}{else}{trans("passive")}{/if}
)
{/strip}{/if}
|
{if $netdev.location}
{$netdev.location}
{if $netdev.borough_name}
({$netdev.state_name} / {$netdev.district_name} / {$_BOROUGHTYPES[$netdev.borough_type]} {$netdev.borough_name})
{/if}
{elseif $netdev.netnodeid && $netnodes[$netdev.netnodeid].location}
{$netnodeid=$netdev.netnodeid}
{$netnodes[$netnodeid].location} {trans("(from network node)")}
{if $netnodes[$netnodeid].location_borough_name}
({$netnodes[$netnodeid].location_state_name} / {$netnodes[$netnodeid].location_district_name} / {$_BOROUGHTYPES[$netnodes[$netnodeid].location_borough_type]} {$netnodes[$netnodeid].location_borough_name})
{/if}
{/if}
|
{if $netdev.netnode} {$netdev.netnode}{/if}
{if $netdev.customerid} {$netdev.customerid}{/if}
|
({$netdev.id|string_format:"%04d"}) |
{$netdev.ports} ({$netdev.takenports}) {$netdev.serialnumber}
|
|
| {trans("No such devices matching search criteria.")} | |||||
| {include file="scroller.html" loop=$netdevlist adlink="&search=1"} | |||||
| {trans("Total:")} {$listdata.total|default:"0"} | |||||