Update phonebook.xml
This commit is contained in:
parent
534df73ac7
commit
0eeae9894b
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<PhoneDirectory>
|
<PhoneDirectory>
|
||||||
{foreach $contacts as $row}
|
{foreach $contacts as $row}
|
||||||
{if $smarty.get.contacts == "users" && $row.category == "users"}
|
{if $row.category == "users"}
|
||||||
<DirectoryEntry>
|
<DirectoryEntry>
|
||||||
{if $row.contact_name_given != ""}
|
{if $row.contact_name_given != ""}
|
||||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</DirectoryEntry>
|
</DirectoryEntry>
|
||||||
{elseif $smarty.get.contacts == "groups" && $row.category == "groups"}
|
{elseif $row.category == "groups"}
|
||||||
<DirectoryEntry>
|
<DirectoryEntry>
|
||||||
{if $row.contact_name_given != ""}
|
{if $row.contact_name_given != ""}
|
||||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</DirectoryEntry>
|
</DirectoryEntry>
|
||||||
{elseif $smarty.get.contacts == "extensions" && $row.category == "extensions"}
|
{elseif $row.category == "extensions"}
|
||||||
<DirectoryEntry>
|
<DirectoryEntry>
|
||||||
{if $row.contact_name_given != ""}
|
{if $row.contact_name_given != ""}
|
||||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
<Telephone>{$row.phone_extension}</Telephone>
|
<Telephone>{$row.phone_extension}</Telephone>
|
||||||
{/if}
|
{/if}
|
||||||
</DirectoryEntry>
|
</DirectoryEntry>
|
||||||
{elseif $smarty.get.contacts == "all"}
|
{else}
|
||||||
<DirectoryEntry>
|
<DirectoryEntry>
|
||||||
{if $row.contact_name_given != ""}
|
{if $row.contact_name_given != ""}
|
||||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue