source:
trunk/packages/sipb-xen-www/code/templates/help.tmpl
@
422
Last change on this file since 422 was 422, checked in by price, 17 years ago | |
---|---|
File size: 518 bytes |
Rev | Line | |
---|---|---|
[139] | 1 | #from skeleton import skeleton |
2 | #extends skeleton | |
3 | ||
4 | #def title | |
[187] | 5 | #if len($subjects) == 1 |
6 | Help on $subjects[0] | |
7 | #else | |
[139] | 8 | Help |
[187] | 9 | #end if |
[139] | 10 | #end def |
11 | ||
12 | ||
13 | #def body | |
14 | #if not $simple | |
[187] | 15 | <p>Topics: |
16 | #for $key in sorted($mapping) | |
17 | <a href="help?subject=$key">$key</a> | |
18 | #end for | |
19 | </p> | |
[139] | 20 | #end if |
21 | #for $subject in $subjects | |
[187] | 22 | #if $subject in $mapping |
23 | #if not $simple | |
24 | <h2>$subject</h2> | |
25 | #end if | |
[139] | 26 | <p>$mapping[$subject]</p> |
[187] | 27 | #else |
28 | <p>Unknown subject '$subject'.</p> | |
29 | #end if | |
[139] | 30 | #end for |
[187] | 31 | #if $simple |
32 | <a href="javascript:window.close();">Close</a> | |
33 | #end if | |
[139] | 34 | #end def |
Note: See TracBrowser
for help on using the repository browser.