{cycle values="light,lucid" print=false} {if $customernodes.total > 0} {section name=customernodes loop=$customernodes} {if $customernodes[customernodes].id} {/if} {/section} {else} {/if}
{t 0=$customernodes.total|default:"0"}Customer Nodes ($0):{/t}
[ {if ! $customernodes[customernodes].access}{t}Connect{/t}{else}{t}Disconnect{/t}{/if} ] [ {if ! $customernodes[customernodes].warning}Ostrzegaj{else}Nie ostrzegaj{/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:45:"..."}
({$customernodes[customernodes].id|string_format:"%04d"}) [ {t}Delete{/t} ] [ {t}Edit{/t} ] [ {t}Info{/t} ]

 

{if $customerinfo.deleted}{t}That customer has been deleted.{/t}{else}{t}That customer hasn't got any node.{/t}{/if}

 

{t}Connect All{/t}
{t}Disconnect All{/t}
{t}Enable Warnings for All{/t}
{t}Disable Warnings for All{/t}
{if $customerinfo.status eq "3" and ! $customerinfo.deleted}{t}New{/t} {else}{t}New{/t} {/if}