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_status_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_status_xml.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/api_status_xml.tpl | 89 |
1 files changed, 47 insertions, 42 deletions
diff --git a/view/tpl/api_status_xml.tpl b/view/tpl/api_status_xml.tpl index f6cd9c2c0..e3e80d2b1 100644..100755 --- a/view/tpl/api_status_xml.tpl +++ b/view/tpl/api_status_xml.tpl @@ -1,46 +1,51 @@ -<status>{{ if $status }} - <created_at>$status.created_at</created_at> - <id>$status.id</id> - <text>$status.text</text> - <source>$status.source</source> - <truncated>$status.truncated</truncated> - <in_reply_to_status_id>$status.in_reply_to_status_id</in_reply_to_status_id> - <in_reply_to_user_id>$status.in_reply_to_user_id</in_reply_to_user_id> - <favorited>$status.favorited</favorited> - <in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name> - <geo>$status.geo</geo> - <coordinates>$status.coordinates</coordinates> - <place>$status.place</place> - <contributors>$status.contributors</contributors> +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +<status>{{if $status}} + <created_at>{{$status.created_at}}</created_at> + <id>{{$status.id}}</id> + <text>{{$status.text}}</text> + <source>{{$status.source}}</source> + <truncated>{{$status.truncated}}</truncated> + <in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id> + <in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id> + <favorited>{{$status.favorited}}</favorited> + <in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name> + <geo>{{$status.geo}}</geo> + <coordinates>{{$status.coordinates}}</coordinates> + <place>{{$status.place}}</place> + <contributors>{{$status.contributors}}</contributors> <user> - <id>$status.user.id</id> - <name>$status.user.name</name> - <screen_name>$status.user.screen_name</screen_name> - <location>$status.user.location</location> - <description>$status.user.description</description> - <profile_image_url>$status.user.profile_image_url</profile_image_url> - <url>$status.user.url</url> - <protected>$status.user.protected</protected> - <followers_count>$status.user.followers</followers_count> - <profile_background_color>$status.user.profile_background_color</profile_background_color> - <profile_text_color>$status.user.profile_text_color</profile_text_color> - <profile_link_color>$status.user.profile_link_color</profile_link_color> - <profile_sidebar_fill_color>$status.user.profile_sidebar_fill_color</profile_sidebar_fill_color> - <profile_sidebar_border_color>$status.user.profile_sidebar_border_color</profile_sidebar_border_color> - <friends_count>$status.user.friends_count</friends_count> - <created_at>$status.user.created_at</created_at> - <favourites_count>$status.user.favourites_count</favourites_count> - <utc_offset>$status.user.utc_offset</utc_offset> - <time_zone>$status.user.time_zone</time_zone> - <profile_background_image_url>$status.user.profile_background_image_url</profile_background_image_url> - <profile_background_tile>$status.user.profile_background_tile</profile_background_tile> - <profile_use_background_image>$status.user.profile_use_background_image</profile_use_background_image> + <id>{{$status.user.id}}</id> + <name>{{$status.user.name}}</name> + <screen_name>{{$status.user.screen_name}}</screen_name> + <location>{{$status.user.location}}</location> + <description>{{$status.user.description}}</description> + <profile_image_url>{{$status.user.profile_image_url}}</profile_image_url> + <url>{{$status.user.url}}</url> + <protected>{{$status.user.protected}}</protected> + <followers_count>{{$status.user.followers}}</followers_count> + <profile_background_color>{{$status.user.profile_background_color}}</profile_background_color> + <profile_text_color>{{$status.user.profile_text_color}}</profile_text_color> + <profile_link_color>{{$status.user.profile_link_color}}</profile_link_color> + <profile_sidebar_fill_color>{{$status.user.profile_sidebar_fill_color}}</profile_sidebar_fill_color> + <profile_sidebar_border_color>{{$status.user.profile_sidebar_border_color}}</profile_sidebar_border_color> + <friends_count>{{$status.user.friends_count}}</friends_count> + <created_at>{{$status.user.created_at}}</created_at> + <favourites_count>{{$status.user.favourites_count}}</favourites_count> + <utc_offset>{{$status.user.utc_offset}}</utc_offset> + <time_zone>{{$status.user.time_zone}}</time_zone> + <profile_background_image_url>{{$status.user.profile_background_image_url}}</profile_background_image_url> + <profile_background_tile>{{$status.user.profile_background_tile}}</profile_background_tile> + <profile_use_background_image>{{$status.user.profile_use_background_image}}</profile_use_background_image> <notifications></notifications> - <geo_enabled>$status.user.geo_enabled</geo_enabled> - <verified>$status.user.verified</verified> + <geo_enabled>{{$status.user.geo_enabled}}</geo_enabled> + <verified>{{$status.user.verified}}</verified> <following></following> - <statuses_count>$status.user.statuses_count</statuses_count> - <lang>$status.user.lang</lang> - <contributors_enabled>$status.user.contributors_enabled</contributors_enabled> + <statuses_count>{{$status.user.statuses_count}}</statuses_count> + <lang>{{$status.user.lang}}</lang> + <contributors_enabled>{{$status.user.contributors_enabled}}</contributors_enabled> </user> -{{ endif }}</status> +{{/if}}</status> |