1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml-transitional.dtd"> |
---|
4 | |
---|
5 | <!-- categories-begin.tt needs structure with the following fields: |
---|
6 | version : IDLdoc version |
---|
7 | date : string containing date of file creation |
---|
8 | embed : 0 for link to CSS, 1 for embed CSS |
---|
9 | css_location : if embed then string filename of CSS file location, o/w href to CSS file |
---|
10 | navbar_filename : filename of navbar template |
---|
11 | Plus fields needed by the templates: navbar, tagline |
---|
12 | --> |
---|
13 | |
---|
14 | <!-- categories-tag.tt needs structure with the following fields: |
---|
15 | tag : tag name |
---|
16 | tag_id : tag name with spaces converted to underscores |
---|
17 | routines : array of structures with fields name, url |
---|
18 | --> |
---|
19 | |
---|
20 | <!-- categories-end.tt needs structure with the following fields: |
---|
21 | footer : filename of footer file to include |
---|
22 | tagline_filename : filename of tagline template |
---|
23 | --> |
---|
24 | |
---|
25 | |
---|
26 | <!-- Generated by IDLdoc [% version %] on [% date %] --> |
---|
27 | |
---|
28 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
29 | <head> |
---|
30 | <title>Categories ([% title %])</title> |
---|
31 | [% IF embed %] |
---|
32 | <style type="text/css"> |
---|
33 | [% INCLUDE css_location %] |
---|
34 | </style> |
---|
35 | [% ELSE %] |
---|
36 | <link rel="stylesheet" type="text/css" href="[% css_location %]" /> |
---|
37 | [% END %] |
---|
38 | |
---|
39 | <script type="text/javascript" src="./tree.js" /> |
---|
40 | <script type="text/javascript"> |
---|
41 | function setTitle() { |
---|
42 | parent.document.title="Categories ([% title %])"; |
---|
43 | } |
---|
44 | </script> |
---|
45 | </head> |
---|
46 | |
---|
47 | |
---|
48 | <body onload="setTitle();"> |
---|
49 | |
---|
50 | [% INCLUDE_TEMPLATE navbar_filename %] |
---|
51 | |
---|
52 | <div id="container"> |
---|
53 | |
---|
54 | <h1>Categories</h1> |
---|
55 | |
---|
56 | |
---|
57 | [% IF ntags eq 0 %] |
---|
58 | <p>No categories in library.</p> |
---|
59 | [% ELSE %] |
---|
60 | <p>The following categories were found in the library.</p> |
---|
61 | <ul id="tree"> |
---|
62 | [% END %] |
---|
63 | |
---|
64 | <li id="idldoc-[% tag_id %]">[% tag %] |
---|
65 | <ul> |
---|
66 | [% FOREACH r IN routines %] |
---|
67 | <li><a href="[% r.url %]">[% r.name %]</a></li> |
---|
68 | [% END %] |
---|
69 | </ul> |
---|
70 | </li> |
---|
71 | |
---|
72 | [% IF ntags gt 0 %] |
---|
73 | </ul> |
---|
74 | <script type="text/javascript"> |
---|
75 | // This must be placed immediately after the menu in order to |
---|
76 | // format it properly. |
---|
77 | initiate(); |
---|
78 | </script> |
---|
79 | [% END %] |
---|
80 | |
---|
81 | [% IF footer NE '' %]<div id="footer">[% INCLUDE footer %]</div>[% END %] |
---|
82 | |
---|
83 | [% INCLUDE_TEMPLATE tagline_filename %] |
---|
84 | |
---|
85 | </div> |
---|
86 | |
---|
87 | </body> |
---|
88 | </html> |
---|