{$lastonline_limit = get_conf('phpui.lastonline_limit')}
{if $layout.module == 'ewxnodelist'}
{t a=$customernodes|@count|default:"0"}Channel Nodes ($a):{/t}
{else}
{t a=$customernodes|@count|default:"0"}Customer Nodes ($a):{/t}
{/if}
{cycle values="light,lucid" print=false} {section name=customernodes loop=$customernodes}
{if $customernodes[customernodes].lastonline} {if ($smarty.now-$customernodes[customernodes].lastonline) > $lastonline_limit}
{else}
{/if} {else}
{/if}
{$customernodes[customernodes].name}
{$customernodes[customernodes].ip} {if $customernodes[customernodes].ip_pub!="0.0.0.0"} ({$customernodes[customernodes].ip_pub}) {/if} / {$customernodes[customernodes].mac}
{$customernodes[customernodes].info|truncate:40:"...":true}
{sectionelse}
{trans("No nodes found in database.")}
{/section}