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