Update phonebook.xml
This commit is contained in:
parent
ec3e73a9ab
commit
a8ffecd96f
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<AddressBook>
|
<AddressBook>
|
||||||
|
|
||||||
<pbgroup>
|
<pbgroup>
|
||||||
<id>6</id>
|
<id>6</id>
|
||||||
<name>Users</name>
|
<name>Users</name>
|
||||||
|
|
@ -12,10 +12,10 @@
|
||||||
<name>Extensions</name>
|
<name>Extensions</name>
|
||||||
<ringtones>system</ringtones>
|
<ringtones>system</ringtones>
|
||||||
</pbgroup>
|
</pbgroup>
|
||||||
|
|
||||||
{foreach $contacts as $row}
|
{foreach $contacts as $row}
|
||||||
{if $row.category == "users"}
|
{if $row.category == "users"}
|
||||||
{$start_id=1}
|
{$start_id=1}
|
||||||
<Contact>
|
<Contact>
|
||||||
<id>{$start_id}</id>
|
<id>{$start_id}</id>
|
||||||
{if $row.contact_name_given != ""}
|
{if $row.contact_name_given != ""}
|
||||||
|
|
@ -46,9 +46,9 @@
|
||||||
<Department></Department>
|
<Department></Department>
|
||||||
<Job></Job>
|
<Job></Job>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
{/if}
|
</Contact>
|
||||||
{if $row.category == "groups"}
|
{elseif $row.category == "groups"}
|
||||||
{$start_id=1}
|
{$start_id=1}
|
||||||
<Contact>
|
<Contact>
|
||||||
<id>{$start_id}</id>
|
<id>{$start_id}</id>
|
||||||
{if $row.contact_name_given != ""}
|
{if $row.contact_name_given != ""}
|
||||||
|
|
@ -79,9 +79,9 @@
|
||||||
<Department></Department>
|
<Department></Department>
|
||||||
<Job></Job>
|
<Job></Job>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
{/if}
|
</Contact>
|
||||||
{if $row.category == "extensions"}
|
{elseif $row.category == "extensions"}
|
||||||
{$start_id=1}
|
{$start_id=1}
|
||||||
<Contact>
|
<Contact>
|
||||||
<id>{$start_id}</id>
|
<id>{$start_id}</id>
|
||||||
{if $row.contact_name_given != ""}
|
{if $row.contact_name_given != ""}
|
||||||
|
|
@ -112,12 +112,8 @@
|
||||||
<Department></Department>
|
<Department></Department>
|
||||||
<Job></Job>
|
<Job></Job>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
|
</Contact>
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</Contact>
|
|
||||||
{/if}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</AddressBook>
|
</AddressBook>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue