From 66b36031781a1b4b00a14a294232c1b4606e62b3 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 4 Feb 2013 18:50:55 -0800 Subject: make preview work again after search/new template change --- view/tpl/smarty3/threaded_conversation.tpl | 4 +--- view/tpl/threaded_conversation.tpl | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'view') diff --git a/view/tpl/smarty3/threaded_conversation.tpl b/view/tpl/smarty3/threaded_conversation.tpl index 23a2564b7..a2885ddc3 100644 --- a/view/tpl/smarty3/threaded_conversation.tpl +++ b/view/tpl/smarty3/threaded_conversation.tpl @@ -3,11 +3,9 @@ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN * *}} -{{foreach $threads as $thread}} -{{foreach $thread.items as $thread_item}} +{{foreach $threads as $thread_item}} {{include file="{{$thread_item.template}}" item=$thread_item}} {{/foreach}} -{{/foreach}}
diff --git a/view/tpl/threaded_conversation.tpl b/view/tpl/threaded_conversation.tpl index 0f949265c..098e399b7 100644 --- a/view/tpl/threaded_conversation.tpl +++ b/view/tpl/threaded_conversation.tpl @@ -1,8 +1,6 @@ -{{ for $threads as $thread }} -{{ for $thread.items as $thread_item }} +{{ for $threads as $thread_item }} {{ inc $thread_item.template with $item=$thread_item }}{{ endinc }} {{ endfor }} -{{ endfor }}
-- cgit v1.2.3