diff options
| author | franck cuny <franck@lumberjaph.net> | 2009-04-05 13:30:27 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2009-04-05 13:30:27 +0200 |
| commit | 9bb42b768ff2369af0a066a538e96ae4e3b5c380 (patch) | |
| tree | 939fce46770f034f9cebfa162607a712be50c99b /root/cloud/lastcloud.tt | |
| parent | update scripts (diff) | |
| download | intention-cloud-9bb42b768ff2369af0a066a538e96ae4e3b5c380.tar.gz | |
add root files
Diffstat (limited to '')
| -rw-r--r-- | root/cloud/lastcloud.tt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/root/cloud/lastcloud.tt b/root/cloud/lastcloud.tt new file mode 100644 index 0000000..c02e2b1 --- /dev/null +++ b/root/cloud/lastcloud.tt @@ -0,0 +1,12 @@ +[% i = 1 %] +[% USE table_class = Class('WillCloud::Model::CDBI::Engine') %] +[% FOREACH cloud IN last_cloud %] + [% i %]. <a href="[% base _ cloud.permalink %]" onClick="window.open('[% base _ cloud.permalink %]','cloud for [% cloud.keyword %]', 'width=400,height=200,resizable=yes,scrollbars=yes');return false;" title="[% cloud.id %]">[% cloud.keyword FILTER truncate(30) %] + [% IF cloud.truncation == 1 %] + [truncation] + [% END %] + [% object = table_class.search(engine_id => cloud.engine_id) %] + ([% object.name %]) + </a><br /> + [% i = i +1 %] +[% END %]
\ No newline at end of file |
