From 89d0fc20856406c7d11c6c22e77bdf095980ca32 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 5 Apr 2009 16:36:55 +0200 Subject: add engine, remote hack for last cloud --- root/cloud/search.tt | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) diff --git a/root/cloud/search.tt b/root/cloud/search.tt index 95fa52c..3e8538b 100644 --- a/root/cloud/search.tt +++ b/root/cloud/search.tt @@ -10,7 +10,9 @@
- + [% c.localize('truncation') %] @@ -37,51 +39,35 @@ [% c.localize('shortexplain') %] +
[% c.localize('fluffier') %] :
+ > [% c.localize('random') %]
 
+
[% c.localize('last_clouds') %] :
-
- - [% IF last_cloud %] - - [% USE table_class = Class('WillCloud::Model::CDBI::Engine') %] - [% i = 1 %] - [% FOREACH cloud IN last_cloud %] - [% i %]. [% cloud.keyword FILTER truncate(30) %] - [% IF cloud.truncation == 1 %] - [truncation] - [% END %] - [% object = table_class.search(engine_id => cloud.engine_id) %] - ([% object.name %]) -
- [% i = i +1 %] - [% END %] - [% END %] + [% FOREACH cloud IN last_clouds %] + [% cloud.query %] + [% END %]
 
+
[% c.localize('latest_news') %] :
- [% message %] - [% i = 1 %] - [% FOREACH feed IN rss_blog %] - [% i %]. [% feed %]
- [% i = i + 1 %] - [% END %]
 
-- cgit 1.4.1