Update syntax for DSS buttons to use correct structure for X6 phone.
This commit is contained in:
parent
689a9a9dae
commit
8bb0346eb6
|
|
@ -1778,8 +1778,8 @@
|
|||
{foreach $keys["memory"] as $row}
|
||||
{if $row.device_key_id <= 12}
|
||||
<Fkey index="{$row.device_key_id}">
|
||||
<Type>1</Type>
|
||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
||||
<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>
|
||||
|
|
@ -1788,10 +1788,10 @@
|
|||
</internal>
|
||||
<internal index="2">
|
||||
{foreach $keys["memory"] as $row}
|
||||
{if $row.device_key_id > 12 && $row.device_key_id < 24}
|
||||
<Fkey index="{$row.device_key_id}">
|
||||
<Type>1</Type>
|
||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
||||
{if $row.device_key_id > 12 && $row.device_key_id <= 24}
|
||||
<Fkey index="{$row.device_key_id-12}">
|
||||
<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>
|
||||
|
|
@ -1800,10 +1800,10 @@
|
|||
</internal>
|
||||
<internal index="3">
|
||||
{foreach $keys["memory"] as $row}
|
||||
{if $row.device_key_id > 24 && $row.device_key_id < 36}
|
||||
<Fkey index="{$row.device_key_id}">
|
||||
<Type>1</Type>
|
||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
||||
{if $row.device_key_id > 24 && $row.device_key_id <= 36}
|
||||
<Fkey index="{$row.device_key_id-24}">
|
||||
<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>
|
||||
|
|
@ -1812,10 +1812,10 @@
|
|||
</internal>
|
||||
<internal index="4">
|
||||
{foreach $keys["memory"] as $row}
|
||||
{if $row.device_key_id > 35 && $row.device_key_id < 48}
|
||||
<Fkey index="{$row.device_key_id}">
|
||||
<Type>1</Type>
|
||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
||||
{if $row.device_key_id > 36 && $row.device_key_id <= 48}
|
||||
<Fkey index="{$row.device_key_id-36}">
|
||||
<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>
|
||||
|
|
@ -1824,10 +1824,10 @@
|
|||
</internal>
|
||||
<internal index="5">
|
||||
{foreach $keys["memory"] as $row}
|
||||
{if $row.device_key_id > 47 && $row.device_key_id < 61}
|
||||
<Fkey index="{$row.device_key_id}">
|
||||
<Type>1</Type>
|
||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
||||
{if $row.device_key_id > 48 && $row.device_key_id <= 62}
|
||||
<Fkey index="{$row.device_key_id-48}">
|
||||
<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>
|
||||
|
|
@ -1836,8 +1836,8 @@
|
|||
</internal>
|
||||
{foreach $keys["programmable"] as $row}
|
||||
<dssSoft index="{$row.device_key_id}">
|
||||
<Type>1</Type>
|
||||
<Value>{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}</Value>
|
||||
<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>
|
||||
</dssSoft>
|
||||
{/foreach}
|
||||
|
|
|
|||
Loading…
Reference in New Issue