X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fpoco_xml.tpl;h=9549b695d1966450827081777daf2b3911fc4c39;hb=c8b4ce9ccad9e710bdc40086368aba1c6ec05f6d;hp=218c97c5cf23817e6fa0f8e5dcc03ea54104597a;hpb=abe96155b42f0f824d05d08126d0ced0d3c5ab38;p=friendica.git
diff --git a/view/poco_xml.tpl b/view/poco_xml.tpl
index 218c97c5cf..9549b695d1 100644
--- a/view/poco_xml.tpl
+++ b/view/poco_xml.tpl
@@ -3,12 +3,16 @@
{{ 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
+
+{{ if $response.totalResults }}
{{ for $response.entry as $entry }}
{{ inc poco_entry_xml.tpl }}{{ endinc }}
{{ endfor }}
-
+{{ else }}
+
+{{ endif }}