mirror of
https://github.com/friendica/friendica
synced 2024-12-23 20:00:16 +00:00
d98ab84d76
api_user_xml.tpl lost his root element. Includer templates must provide it. This allow to use same data structure under different root tag.
6 lines
212 B
Smarty
6 lines
212 B
Smarty
{{* used in include/api.php 'api_statuses_friends' and 'api_statuses_followers' *}}
|
|
<users type="array">
|
|
{{foreach $users as $u}}
|
|
<user>{{include file="api_user_xml.tpl" user=$u}}</user>
|
|
{{/foreach}}
|
|
</users>
|