diff --git a/lib/Resources/Contacts/Grandstream.tpl b/lib/Resources/Contacts/Grandstream.tpl index 58cf367..47b9e28 100644 --- a/lib/Resources/Contacts/Grandstream.tpl +++ b/lib/Resources/Contacts/Grandstream.tpl @@ -1,13 +1,13 @@ {{ section reiterate start }} -{% if(isset($dido)): %} +{% if(isset($data)): %} - {{ $dido->Name->Last }} - {{ $dido->Name->First }} + {{ $data->Name->Last }} + {{ $data->Name->First }} 0 - {% foreach ($dido->Phone as $entry): %} + {% foreach ($data->Phone as $entry): %} {% if($entry->Type == 'WORK' && $entry->SubType == 'VOICE' && !empty($entry->Number)): %} {{ $entry->Number }} diff --git a/lib/Resources/Contacts/Polycom5x.tpl b/lib/Resources/Contacts/Polycom5x.tpl index 4817bf9..3ebd825 100644 --- a/lib/Resources/Contacts/Polycom5x.tpl +++ b/lib/Resources/Contacts/Polycom5x.tpl @@ -2,12 +2,12 @@ {{ section reiterate start }} -{% if(isset($dido)): %} +{% if(isset($data)): %} - {{ $dido->Name->First }} - {{ $dido->Name->Last }} - {{ $dido->Occupation->Organization }} - {% foreach ($dido->Phone as $entry): %} + {{ $data->Name->First }} + {{ $data->Name->Last }} + {{ $data->Occupation->Organization }} + {% foreach ($data->Phone as $entry): %} {% if($entry->Type == 'WORK' && $entry->SubType == 'VOICE' && !empty($entry->Number)): %} {{ $entry->Number }} {% elseif($entry->Type == 'CELL' && !empty($entry->Number)): %} diff --git a/lib/Resources/Contacts/SnomV2.tpl b/lib/Resources/Contacts/SnomV2.tpl index 29be3c0..1bbd64b 100644 --- a/lib/Resources/Contacts/SnomV2.tpl +++ b/lib/Resources/Contacts/SnomV2.tpl @@ -1,24 +1,24 @@ {{ section reiterate start }} -{% if(isset($dido)): %} +{% if(isset($data)): %} - {{ $dido->Name->First }} - {{ $dido->Name->Last }} - {{ $dido->Name->Aliases }} - {{ $dido->Occupation->Title }} - {{ $dido->Occupation->Organization }} - {% if(count($dido->Email) > 0): %} - {{ $dido->Email[0]->Address }} + {{ $data->Name->First }} + {{ $data->Name->Last }} + {{ $data->Name->Aliases }} + {{ $data->Occupation->Title }} + {{ $data->Occupation->Organization }} + {% if(count($data->Email) > 0): %} + {{ $data->Email[0]->Address }} {% else: %} {% endif; %} - {{ $dido->Notes }} + {{ $data->Notes }} 2 - {% foreach ($dido->Phone as $entry): %} + {% foreach ($data->Phone as $entry): %} {% if($entry->Type == 'WORK' && $entry->SubType == 'VOICE' && !empty($entry->Number)): %} {% elseif($entry->Type == 'HOME' && $entry->SubType == 'VOICE' && !empty($entry->Number)): %} diff --git a/lib/Resources/Contacts/Yealink.tpl b/lib/Resources/Contacts/Yealink.tpl index 2efc6a4..eee9707 100644 --- a/lib/Resources/Contacts/Yealink.tpl +++ b/lib/Resources/Contacts/Yealink.tpl @@ -1,10 +1,10 @@ {{ section reiterate start }} -{% if(isset($dido)): %} +{% if(isset($data)): %} - {{ $dido->Name->First }} - {% foreach ($dido->Phone as $entry): %} + {{ $data->Name->First }} + {% foreach ($data->Phone as $entry): %} {% if(!empty($entry->Number)): %} {{ $entry->Number }} {% endif; %} diff --git a/lib/Resources/Contacts/Zoiper5x.tpl b/lib/Resources/Contacts/Zoiper5x.tpl index 79f62fa..3d6a42c 100644 --- a/lib/Resources/Contacts/Zoiper5x.tpl +++ b/lib/Resources/Contacts/Zoiper5x.tpl @@ -1,18 +1,18 @@ {{ section reiterate start }} -{% if(isset($dido)): %} +{% if(isset($data)): %} - {{ $dido->Name->First }} - {{ $dido->Name->Other }} - {{ $dido->Name->Last }} - {{ $dido->Name->Label }} + {{ $data->Name->First }} + {{ $data->Name->Other }} + {{ $data->Name->Last }} + {{ $data->Name->Label }} - {{ $dido->Occupation->Organization }} + {{ $data->Occupation->Organization }} - {% foreach ($dido->Phone as $entry): %} + {% foreach ($data->Phone as $entry): %} {% if(!empty($entry->Number)): %} {% if($entry->Type == 'WORK' && $entry->SubType == 'VOICE'): %}