X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fpoco_xml.tpl;h=9549b695d1966450827081777daf2b3911fc4c39;hb=69776fc54e01aa416eac5eac172771e8d44449cb;hp=59b8e8a958bc90001a853263c3c718008eac4c43;hpb=31502207bd8361a5fa27cb10ea037e4cca5a5678;p=friendica.git diff --git a/view/poco_xml.tpl b/view/poco_xml.tpl index 59b8e8a958..9549b695d1 100644 --- a/view/poco_xml.tpl +++ b/view/poco_xml.tpl @@ -1,21 +1,18 @@ - {{ if $response.sorted }}$response.sorted{{ endif }} {{ if $response.filtered }}$response.filtered{{ endif }} {{ if $response.updatedSince }}$response.updatedSince{{ endif }} -{{ if $response.startIndex }}$response.startIndex{{ endif }} -{{ if $response.itemsPerPage }}$response.itemsPerPage{{ endif }} -{{ if $response.totalResults }}$response.totalResults{{ endif }} +$response.startIndex +$response.itemsPerPage +$response.totalResults -{{ for $response.entry as $ent }} - -{{ if $ent.id }}$ent.id{{ endif }} -{{ if $ent.displayName }}$ent.displayName{{ endif }} -{{ if $ent.preferredName }}$ent.preferredName{{ endif }} -{{ if $ent.urls }}$ent.urls.value$ent.urls.type{{ endif }} -{{ if $ent.photos }}$ent.photos.value<$ent.photos.type>{{ endif }} - -{{ endfor }} +{{ if $response.totalResults }} +{{ for $response.entry as $entry }} +{{ inc poco_entry_xml.tpl }}{{ endinc }} +{{ endfor }} +{{ else }} + +{{ endif }}