Change dssSide instead of SidekeyConfig1 (#5446)

This commit is contained in:
chansizzle
2020-09-08 16:09:42 -06:00
committed by GitHub
parent 904c27232a
commit fd1efb83ba

View File

@@ -2626,16 +2626,14 @@
<DSSExtend4IP></DSSExtend4IP>
<DSSExtend5MAC></DSSExtend5MAC>
<DSSExtend5IP></DSSExtend5IP>
<dssSide index="1">
{foreach $keys["line"] as $row}
<Fkey index="{$row.device_key_id}">
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
<Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
<Title>{$row.device_key_label}</Title>
<ICON>{$row.device_key_icon}</ICON>
</Fkey>
{/foreach}
</dssSide>
{foreach $keys["line"] as $row}
<SidekeyConfig1 index="{$row.device_key_id}">
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
<Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
<Title>{$row.device_key_label}</Title>
<ICON>{$row.device_key_icon}</ICON>
</SidekeyConfig1>
{/foreach}
{strip}{*-- Each Internal Index contains 6 keys --*}{/strip}
<internal index="1">