/[webpac]/trunk2/output_template/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 /trunk2/output_template/html.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 396 - (show annotations)
Thu Jul 22 19:00:27 2004 UTC (19 years, 8 months ago) by dpavlin
File size: 578 byte(s)
JavaScript sucks: re-implemented unescape to produce ISO-8859-2 charset
(and not ISO-8859-2), unac function to remove accented characters from
ISO-8859-2, use l2_unescape, new results output

1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
4 <title>[% d.headline %]</title>
5 <script src="../js/l2_unescape.js" language="Javascript" type="text/javascript"></script>
6 <script src="../js/highlight.js" language="Javascript" type="text/javascript"></script>
7 </head>
8 <body onLoad="init_google();" >
9 <table>
10 [%
11 FOREACH d IN data ;
12 IF d.display
13 -%]
14 <tr[% IF loop.count % 2 == 0 ; ' bgcolor="#e0e0e0"' ; END %]>
15 <td>
16 <!-- [% d.tag %] -->
17 [% d.name %]
18 </td>
19 <td>[% d.display.join(", ") %]</td>
20 </tr>
21 [% END ;
22 END ;
23 -%]
24 </table>

  ViewVC Help
Powered by ViewVC 1.1.26