/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 71 - (hide annotations)
Sun Nov 20 01:50:42 2005 UTC (18 years, 6 months ago) by dpavlin
File size: 533 byte(s)
 r8983@llin:  dpavlin | 2005-11-20 01:28:12 +0100
 fix templates

1 dpavlin 16 <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 dpavlin 70 FOREACH key IN data.keys ;
10 dpavlin 71 d = data.$key ;
11 dpavlin 16 IF d.display
12     -%]
13     <tr class="[% d.tag %]">
14     <td>
15     [% d.name %]
16     </td>
17     <td>
18     [%
19     IF (d.tag == 'BroaderTerm' || d.tag == 'NarrowerTerm' || d.tag == 'RelatedTerm') ; '<ul><li>' ; d.display.sort.join("</li><li>") | CROVOC_img ; '</li></ul>' ;
20 dpavlin 33 ELSE ; d.display.join(" ") ; END
21 dpavlin 16 -%]
22     </td>
23     </tr>
24     [% END ;
25     END ;
26     -%]
27     </table>
28     </body>
29     </html>

  ViewVC Help
Powered by ViewVC 1.1.26