Improve the white space handling in the 7940 directory.xml files.

This commit is contained in:
markjcrane 2015-11-28 18:39:38 -07:00
parent e41519478b
commit 93ed392c90
3 changed files with 51 additions and 52 deletions

View File

@ -7,8 +7,7 @@
<Position>1</Position>
</SoftKeyItem>
{assign var=x value=1}
{foreach $contacts as $row}
{if $row.contact_category == "enterprise"}
{foreach $contacts as $row}{if $row.contact_category == "enterprise"}
<MenuItem>
{if $row.contact_name_given != ""}
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
@ -22,6 +21,7 @@
{/if}
</MenuItem>
{/if}
{assign var=x value=$x+1}
{/foreach}
<SoftKeyItem>
<Name>Exit</Name>

View File

@ -7,8 +7,7 @@
<Position>1</Position>
</SoftKeyItem>
{assign var=x value=1}
{foreach $contacts as $row}
{if $row.contact_category == "personal"}
{foreach $contacts as $row}{if $row.contact_category == "personal"}
<MenuItem>
{if $row.contact_name_given != ""}
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
@ -22,6 +21,7 @@
{/if}
</MenuItem>
{/if}
{assign var=x value=$x+1}
{/foreach}
<SoftKeyItem>
<Name>Exit</Name>

View File

@ -7,8 +7,7 @@
<Position>1</Position>
</SoftKeyItem>
{assign var=x value=1}
{foreach $contacts as $row}
{if $row.contact_category == "speed dial"}
{foreach $contacts as $row}{if $row.contact_category == "speed dial"}
<MenuItem>
{if $row.contact_name_given != ""}
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>