[69] | 1 | |
---|
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
| 3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
| 4 | |
---|
| 5 | <!-- Template needs structure with the following fields: |
---|
| 6 | include_filename : filename of the main content file to be included |
---|
| 7 | version : IDLdoc version |
---|
| 8 | date : string containing date of file creation |
---|
| 9 | embed : 0 for link to CSS, 1 for embed CSS |
---|
| 10 | css_location : if embed then string filename of CSS file location, o/w href to CSS file |
---|
| 11 | navbar_filename : filename of navbar template |
---|
| 12 | footer : filename of footer file to include |
---|
| 13 | tagline_filename : filename of tagline template |
---|
| 14 | Plus fields needed by the templates: navbar, tagline |
---|
| 15 | --> |
---|
| 16 | |
---|
| 17 | <!-- Generated by IDLdoc [% version %] on [% date %] --> |
---|
| 18 | |
---|
| 19 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
| 20 | <head> |
---|
| 21 | <title>Etc ([% title %])</title> |
---|
| 22 | |
---|
| 23 | [% IF embed %] |
---|
| 24 | <style type="text/css" media="all"> |
---|
| 25 | [% INCLUDE css_location %] |
---|
| 26 | </style> |
---|
| 27 | <style type="text/css" media="print"> |
---|
| 28 | [% INCLUDE print_css_location %] |
---|
| 29 | </style> |
---|
| 30 | [% ELSE %] |
---|
| 31 | <link rel="stylesheet" type="text/css" href="[% css_location %]" media="all"/> |
---|
| 32 | <link rel="stylesheet" type="text/css" href="[% print_css_location %]" media="print"/> |
---|
| 33 | [% END %] |
---|
| 34 | |
---|
| 35 | <script type="text/javascript"> |
---|
| 36 | function setTitle() { |
---|
| 37 | parent.document.title="Etc ([% title %])"; |
---|
| 38 | } |
---|
| 39 | </script> |
---|
| 40 | </head> |
---|
| 41 | |
---|
| 42 | <body onload="setTitle();"> |
---|
| 43 | |
---|
| 44 | [% INCLUDE_TEMPLATE navbar_filename %] |
---|
| 45 | |
---|
| 46 | <div id="container"> |
---|
| 47 | |
---|
| 48 | [% INCLUDE include_filename %] |
---|
| 49 | |
---|
| 50 | [% IF footer NE '' %]<div id="footer">[% INCLUDE footer %]</div>[% END %] |
---|
| 51 | |
---|
| 52 | [% INCLUDE_TEMPLATE tagline_filename %] |
---|
| 53 | |
---|
| 54 | </div> |
---|
| 55 | |
---|
| 56 | </body> |
---|
| 57 | </html> |
---|