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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
[% PROCESS 'html-incblocks.txt' %]
[% thepath=path(token) %]
[% INCLUDE htmlstart title=thepath printpath=1 %]
<H1>[% xmlnorm(nodeParam(token,'comment')) %]</H1>
[% INCLUDE legend %]
<P>Directories you can jump to:</P>
<DIV CLASS="Listing">
[% hasLeaves = 0; hasSubtrees = 0;
childCounter = 0;
evenRow = 0;
FOREACH child = sortTokens(children(token));
hidden = 0;
IF nodeParam(child,'hidden') == 'yes';
hidden = 1;
END;
comment = nodeParam(child,'comment',1);
IF not hidden or variables.SHOWHIDDEN;
childCounter = childCounter + 1;
evenRow = childCounter % 2 == 0;
IF isLeaf(child);
hasLeaves = hasLeaves + 1;
ELSE;
hasSubtrees = 1;
urlTitle = '';
END;
%]
<DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
<SPAN CLASS="NodeName">
[% IF displayHealth and nodeParam(child,'has-health-status',1) == 'yes' %]
<IMG CLASS="Health" SRC="[%url(child,healthView)%]">
[% END %]
[% hidden ? '<EM CLASS="ShowHidden">':'' %]
<A HREF="[%url(child)%]"[%urlTitle%]>[% nodeName(child) %]</A>
[% hidden ? '</EM>':'' %]
</SPAN>
[% IF comment %]
<SPAN CLASS="NodeDescr">
[% hidden ? '<EM CLASS="ShowHidden">':'' %]
[% xmlnorm(comment) %]
[% hidden ? '</EM>':'' %]
</SPAN>
[% END %]
</DIV>
[% END %]
[% END %]
</DIV>
<DIV CLASS="BottomShortcuts">
[% IF hasLeaves > 1;
INCLUDE shortcut url=url(token, 'expanded-dir-html')
text="Expand leaves"
title="Show all leaf graphs in one page";
END;
IF hasSubtrees and nodeParam(token,'show-recursive',1) == 'yes';
INCLUDE shortcut url=url(token, 'recursive-dir-html')
text="Recursive view"
title="Show all subtrees and leaves in one page";
END;
INCLUDE overviewShortcuts %]
</DIV>
[% INCLUDE bottomline %]
[% INCLUDE htmlend %]
|