1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/">
<head>
<title>Help</title>
</head>
<body>
<h1>Help</h1>
<div id="ivle_padding">
<py:def function="show_toc(helptree)">
<py:for each="item in helptree.values()">
<py:if test="isinstance(item, HelpTree)">
<li><strong>${item.name}</strong>
<ul>
${show_toc(item)}
</ul>
</li>
</py:if>
<py:if test="isinstance(item, HelpEntry)">
<li><a href="${req.publisher.generate(item)}">${item.name}</a></li>
</py:if>
</py:for>
</py:def>
<ul>
${show_toc(context)}
<li><a href="/+tos">Terms of Service</a></li>
</ul>
</div>
</body>
</html>
|