blob: 345e06fd9bf2ffee922523a8efa47d5edcb0b4bc (
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
|
[% PROCESS 'html-incblocks.txt' %]
[% INCLUDE setdate %]
[% ovs=variables.OVS; clearVar('OVS'); global.bookmarkVars=['OVS',ovs];
thepath=path(token) %]
[% INCLUDE htmlstart title=thepath printpath=1 %]
<H1>[% p = 'overview-page-title-' _ ovs; nodeParam(token, p, 1) %]</H1>
[% INCLUDE variables %]
[% INCLUDE legend %]
[%
FOREACH child = sortTokens(children(token));
childpath = path(child);
p = 'overview-subleave-name-' _ ovs;
FOREACH childname = nodeParam(token, p,1).split('\s*,\s*');
ovwpath = childpath _ childname;
IF nodeExists(ovwpath);
ovwtoken = pathToken(ovwpath);
urltoken = ovwtoken;
p = 'overview-direct-link-' _ ovs;
IF nodeParam(token, p, 1) == 'yes';
urltoken = child;
p = 'overview-direct-link-view-' _ ovs;
urlview = nodeParam(token, p, 1);
END;
INCLUDE shortgraph
token=ovwtoken
urltoken=urltoken
urlview=urlview
nodename=nodeName(child)
comment=nodeParam(child,'comment',1);
END;
END;
END
%]
<DIV CLASS="BottomShortcuts">
[% INCLUDE shortcut url=url(token) text="Default view"
title="Restore default subtree view" %]
</DIV>
[% INCLUDE bottomline %]
[% INCLUDE htmlend %]
|