diff options
Diffstat (limited to 'view/tpl/poco_entry_xml.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/poco_entry_xml.tpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/view/tpl/poco_entry_xml.tpl b/view/tpl/poco_entry_xml.tpl index 4d84cee41..869894852 100644..100755 --- a/view/tpl/poco_entry_xml.tpl +++ b/view/tpl/poco_entry_xml.tpl @@ -1,7 +1,7 @@ <entry> -{{ if $entry.id }}<id>$entry.id</id>{{ endif }} -{{ if $entry.displayName }}<displayName>$entry.displayName</displayName>{{ endif }} -{{ if $entry.preferredUsername }}<preferredUsername>$entry.preferredUsername</preferredUsername>{{ endif }} -{{ if $entry.urls }}{{ for $entry.urls as $url }}<urls><value>$url.value</value><type>$url.type</type></urls>{{ endfor }}{{ endif }} -{{ if $entry.photos }}{{ for $entry.photos as $photo }}<photos><value>$photo.value</value><type>$photo.type</type></photos>{{ endfor }}{{ endif }} +{{if $entry.id}}<id>{{$entry.id}}</id>{{/if}} +{{if $entry.displayName}}<displayName>{{$entry.displayName}}</displayName>{{/if}} +{{if $entry.preferredUsername}}<preferredUsername>{{$entry.preferredUsername}}</preferredUsername>{{/if}} +{{if $entry.urls}}{{foreach $entry.urls as $url}}<urls><value>{{$url.value}}</value><type>{{$url.type}}</type></urls>{{/foreach}}{{/if}} +{{if $entry.photos}}{{foreach $entry.photos as $photo}}<photos><value>{{$photo.value}}</value><type>{{$photo.type}}</type></photos>{{/foreach}}{{/if}} </entry> |