{********************************************************* @author:Julien George @ email: j.george@esia-sa.com **********************************************************} {if isset($errors) && !empty($errors)}

{$errors}

{/if} {if $tab eq ''} {include file='overall_header.html'}
{include file='overall_node_control_header.html' node=$node status=$node_status idListService='ListService' jsCloseDialog="Utils.reload_active_tabs('#tabs')"}
{include file='overall_node_control_footer.html'} {include file='overall_footer.html'} {elseif $tab =='servicestate'} {*Onglet par défaut*}
  • {$lang.UPS_LINE} 1

    {$lang.UPS_INFO_GAUGE}
  • {$lang.UPS_LINE} 2

    {$lang.UPS_INFO_GAUGE}
  • {$lang.UPS_LINE} 3

    {$lang.UPS_INFO_GAUGE}

{$lang.UPS_SYSTEM}

{if isset($error_snmp)}

{$error_snmp}

{else} {if $manufacturer_logo != "none"} {$manufacturer_logo} {/if}
{$lang.UPS_SYSNAME} : {$sysname|escape:'html'}
{$lang.UPS_SYSLOCATION} : {$syslocation|escape:'html'}
{$lang.UPS_SYSCONTACT} : {$syscontact|escape:'html'}
{$lang.UPS_SYSDESCRIPTION} : {$sysdescr|escape:'html'}
{/if}

{$lang.UPS_VISUAL}

{if isset($array['timeBattery'])} {$array['timeBattery']} {/if} {if isset($array['levelBattery'])} {$lang.UPS_BATTERY_LOAD} {$array['levelBattery']} {$lang.UPS_BATTERY_TEMP} {$array['tempBattery']} {/if} {if isset($array['in_Line1']['Volt'])} L1: {$array['in_Line1']['Volt']} Volts {else} {/if} {if isset($array['in_Line2']['Volt'])} L2: {$array['in_Line2']['Volt']} Volts {/if} {if isset($array['in_Line3']['Volt'])} L3: {$array['in_Line3']['Volt']} Volts {/if} {if isset($array['in_Line1']['Volt']) || isset($array['in_Line2']['Volt']) || isset($array['in_Line3']['Volt'])} {else} {/if} {if isset($array['Line1']['Volt'])} L1: {$array['Line1']['Volt']}V, {$array['Line1']['Line']}% load {else} {/if} {if isset($array['Line3']['Volt'])} L2: {$array['Line2']['Volt']}V, {$array['Line2']['Line']}% load {/if} {if isset($array['Line3']['Volt'])} L3: {$array['Line3']['Volt']}V, {$array['Line3']['Line']}% load {/if}
{elseif $tab =='ups_Line'} {if isset($arrayLine)}
{foreach name=outer item=service from=$arrayLine } {if $service.volt==0} {elseif $service.state eq 'OK'} {/if} {/foreach} {foreach name=outer item=service from=$arrayInputLine } {if $service.volt==0} {elseif $service.state eq 'OK'} {/if} {/foreach}
{$lang.UPS_SERVICENAME} {$lang.UPS_STATE} Volt Watt
{if $service.active==0 && $service.volt !=0} {/if} {$lang.UPS_LINE_OUTPUT} {$service.id}{$lang.UPS_NOT_CONNECTE}{$service.state}{$service.volt} V {$service.watt|number_format:0:",":" "} WATT
{if $service.active==0 && $service.volt !=0} {/if} {$lang.UPS_LINE_INPUT} {$service.id}{$lang.UPS_NOT_CONNECTE}{$service.state}{$service.volt} V {$service.va|number_format:0:",":" "} VA
{/literal} {/if} {/if}