From 5e1980becf69a4c65489bed6f94fa730ec8ef4bf Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Wed, 8 May 2013 04:23:17 -0400 Subject: remove "internal" templates, use "tpl/" folder for smarty3 templates, move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates --- view/tpl/api_timeline_xml.tpl | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) mode change 100644 => 100755 view/tpl/api_timeline_xml.tpl (limited to 'view/tpl/api_timeline_xml.tpl') diff --git a/view/tpl/api_timeline_xml.tpl b/view/tpl/api_timeline_xml.tpl old mode 100644 new mode 100755 index 4a32b411b..84148d17f --- 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 + * + *}} -{{ for $statuses as $status }} - $status.text - $status.truncated - $status.created_at - $status.in_reply_to_status_id - $status.source - $status.id - $status.in_reply_to_user_id - $status.in_reply_to_screen_name - $status.geo - $status.favorited -{{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }} $status.statusnet_html - $status.statusnet_conversation_id - $status.url - $status.coordinates - $status.place - $status.contributors +{{foreach $statuses as $status}} + {{$status.text}} + {{$status.truncated}} + {{$status.created_at}} + {{$status.in_reply_to_status_id}} + {{$status.source}} + {{$status.id}} + {{$status.in_reply_to_user_id}} + {{$status.in_reply_to_screen_name}} + {{$status.geo}} + {{$status.favorited}} +{{include file="api_user_xml.tpl" user=$status.user}} {{$status.statusnet_html}} + {{$status.statusnet_conversation_id}} + {{$status.url}} + {{$status.coordinates}} + {{$status.place}} + {{$status.contributors}} -{{ endfor }} +{{/foreach}} -- cgit v1.2.3