blob: eed6493225978e688368eb973eeee39d8780f66f (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
[% PROCESS 'html-incblocks.txt' %]
[% thepath=path(token) %]
[% INCLUDE htmlstart title=thepath printpath=1 %]
<H1>[% xmlnorm(nodeParam(token,'comment')) %]</H1>
[% INCLUDE legend %]
[%# ########### Recursively print the children ################ %]
[% BLOCK recursiveChildren;
FOREACH child = sortTokens(children(token));
hidden = 0;
IF nodeParam(child,'hidden') == 'yes';
hidden = 1;
END;
IF isAlias(child);
thisIsAlias = 1;
urlTitle = 'Symbolic link to ' _ path(isAlias(child));
ELSE;
urlTitle = nodeParam(child,'comment',1);
END;
IF not hidden or variables.SHOWHIDDEN; %]
<DIV CLASS="RecursiveListRow">
<SPAN CLASS="NodeName">
[% thisIsAlias ? '<EM CLASS="Alias">':'';
hidden ? '<EM CLASS="ShowHidden">':'' %]
<A HREF="[%url(child)%]"
TITLE="[%urlTitle%]">[% nodeName(child) %]</A>
[% hidden ? '</EM>':''; thisIsAlias ? '</EM>':''; %]
</SPAN>
[% INCLUDE recursiveChildren token=child %]
</DIV>
[% END;
END;
END %]
<P>Directories you can jump to:</P>
<DIV CLASS="Listing">
[% INCLUDE recursiveChildren token=token %]
</DIV>
<DIV CLASS="BottomShortcuts">
[% INCLUDE shortcut url=url(token) text="Default view"
title="Restore default subtree view";
INCLUDE overviewShortcuts
%]
</DIV>
[% INCLUDE bottomline %]
[% INCLUDE htmlend %]
|