diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
commit | 5e1980becf69a4c65489bed6f94fa730ec8ef4bf (patch) | |
tree | 2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/api_timeline_xml.tpl | |
parent | c753fa19d289e936131aad706cf31bcfe111b4c1 (diff) | |
download | volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.gz volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.bz2 volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.zip |
remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
Diffstat (limited to 'view/tpl/api_timeline_xml.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/api_timeline_xml.tpl | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/view/tpl/api_timeline_xml.tpl b/view/tpl/api_timeline_xml.tpl index 4a32b411b..84148d17f 100644..100755 --- a/view/tpl/api_timeline_xml.tpl +++ b/view/tpl/api_timeline_xml.tpl @@ -1,20 +1,25 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} <statuses type="array" xmlns:statusnet="http://status.net/schema/api/1/"> -{{ for $statuses as $status }} <status> - <text>$status.text</text> - <truncated>$status.truncated</truncated> - <created_at>$status.created_at</created_at> - <in_reply_to_status_id>$status.in_reply_to_status_id</in_reply_to_status_id> - <source>$status.source</source> - <id>$status.id</id> - <in_reply_to_user_id>$status.in_reply_to_user_id</in_reply_to_user_id> - <in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name> - <geo>$status.geo</geo> - <favorited>$status.favorited</favorited> -{{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }} <statusnet:html>$status.statusnet_html</statusnet:html> - <statusnet:conversation_id>$status.statusnet_conversation_id</statusnet:conversation_id> - <url>$status.url</url> - <coordinates>$status.coordinates</coordinates> - <place>$status.place</place> - <contributors>$status.contributors</contributors> +{{foreach $statuses as $status}} <status> + <text>{{$status.text}}</text> + <truncated>{{$status.truncated}}</truncated> + <created_at>{{$status.created_at}}</created_at> + <in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id> + <source>{{$status.source}}</source> + <id>{{$status.id}}</id> + <in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id> + <in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name> + <geo>{{$status.geo}}</geo> + <favorited>{{$status.favorited}}</favorited> +{{include file="api_user_xml.tpl" user=$status.user}} <statusnet:html>{{$status.statusnet_html}}</statusnet:html> + <statusnet:conversation_id>{{$status.statusnet_conversation_id}}</statusnet:conversation_id> + <url>{{$status.url}}</url> + <coordinates>{{$status.coordinates}}</coordinates> + <place>{{$status.place}}</place> + <contributors>{{$status.contributors}}</contributors> </status> -{{ endfor }}</statuses> +{{/foreach}}</statuses> |