/[webpac2]/trunk/conf/output/tt/html.tt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/conf/output/tt/html.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16 - (show annotations)
Sun Jul 17 11:37:07 2005 UTC (18 years, 9 months ago) by dpavlin
File size: 521 byte(s)
Added Output::WebPAC::TT to produce Template Toolkit output.

1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
4 <title>[% headline %]</title>
5 </head>
6 <body>
7 <table>
8 [%
9 FOREACH d IN data ;
10 IF d.display
11 -%]
12 <tr class="[% d.tag %]">
13 <td>
14 [% d.name %]
15 </td>
16 <td>
17 [%
18 IF (d.tag == 'BroaderTerm' || d.tag == 'NarrowerTerm' || d.tag == 'RelatedTerm') ; '<ul><li>' ; d.display.sort.join("</li><li>") | CROVOC_img ; '</li></ul>' ;
19 ELSE ; d.display.join(" ") | CROVOC_img ; END
20 -%]
21 </td>
22 </tr>
23 [% END ;
24 END ;
25 -%]
26 </table>
27 </body>
28 </html>

  ViewVC Help
Powered by ViewVC 1.1.26