diff options
author | friendica <info@friendica.com> | 2013-05-08 21:31:15 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-08 21:31:15 -0700 |
commit | 735140e8d9f86c5ee0cbc29b50129e1abb73a647 (patch) | |
tree | 60b09d1f96dabfc4175845eeee7142f17af9791f /view/tpl/poco_xml.tpl | |
parent | cb0a90d6281a0fef998bfa342612fe47f91a2099 (diff) | |
parent | cdcbe9772423d5373f6d0d4aa33700446a989340 (diff) | |
download | volse-hubzilla-735140e8d9f86c5ee0cbc29b50129e1abb73a647.tar.gz volse-hubzilla-735140e8d9f86c5ee0cbc29b50129e1abb73a647.tar.bz2 volse-hubzilla-735140e8d9f86c5ee0cbc29b50129e1abb73a647.zip |
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'view/tpl/poco_xml.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/poco_xml.tpl | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/view/tpl/poco_xml.tpl b/view/tpl/poco_xml.tpl index 9549b695d..b8cd8fc08 100644..100755 --- a/view/tpl/poco_xml.tpl +++ b/view/tpl/poco_xml.tpl @@ -1,18 +1,23 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} <?xml version="1.0" encoding="utf-8"?> <response> -{{ if $response.sorted }}<sorted>$response.sorted</sorted>{{ endif }} -{{ if $response.filtered }}<filtered>$response.filtered</filtered>{{ endif }} -{{ if $response.updatedSince }}<updatedSince>$response.updatedSince</updatedSince>{{ endif }} -<startIndex>$response.startIndex</startIndex> -<itemsPerPage>$response.itemsPerPage</itemsPerPage> -<totalResults>$response.totalResults</totalResults> +{{if $response.sorted}}<sorted>{{$response.sorted}}</sorted>{{/if}} +{{if $response.filtered}}<filtered>{{$response.filtered}}</filtered>{{/if}} +{{if $response.updatedSince}}<updatedSince>{{$response.updatedSince}}</updatedSince>{{/if}} +<startIndex>{{$response.startIndex}}</startIndex> +<itemsPerPage>{{$response.itemsPerPage}}</itemsPerPage> +<totalResults>{{$response.totalResults}}</totalResults> -{{ if $response.totalResults }} -{{ for $response.entry as $entry }} -{{ inc poco_entry_xml.tpl }}{{ endinc }} -{{ endfor }} -{{ else }} +{{if $response.totalResults}} +{{foreach $response.entry as $entry}} +{{include file="poco_entry_xml.tpl"}} +{{/foreach}} +{{else}} <entry></entry> -{{ endif }} +{{/if}} </response> |