1 [% PROCESS 'html-incblocks.txt' %]
2 [% thepath=path(token) %]
3 [% INCLUDE htmlstart title=xmlnorm(nodeParam(token,'comment')) printpath=1 %]
7 [% IF matches(thepath,'Interface_Counters/$') %]
8 [% freesideComponent('/elements/init_overlib.html') %]
11 <P>Directories you can jump to:</P>
13 [% hasLeaves = 0; hasSubtrees = 0;
16 FOREACH child = sortTokens(children(token));
18 IF nodeParam(child,'hidden') == 'yes';
21 comment = nodeParam(child,'comment',1);
22 IF not hidden or variables.SHOWHIDDEN;
23 childCounter = childCounter + 1;
24 evenRow = childCounter % 2 == 0;
26 hasLeaves = hasLeaves + 1;
30 urlTitle=' TITLE="Symbolic link to ' _ path(isAlias(child)) _'"';
31 IF isLeaf(isAlias(child));
32 hasLeaves = hasLeaves + 1;
40 <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
41 <SPAN CLASS="NodeName">
42 [% thisIsAlias ? '<EM CLASS="Alias">':'';
43 hidden ? '<EM CLASS="ShowHidden">':'' %]
44 <A HREF="[%url(child)%]"[%urlTitle%]>[% nodeName(child) %]</A>
45 [% hidden ? '</EM>':'';
46 thisIsAlias ? '</EM>':''; %]
47 [% IF matches(thepath,'Interface_Counters/$') %]
48 [% popup_link('nms-add_iface.html',nodeName(parent(token)),uri_escape(nodeName(child))) %]
52 <SPAN CLASS="NodeDescr">
53 [% hidden ? '<EM CLASS="ShowHidden">':'' %]
54 [% xmlnorm(comment) %]
55 [% hidden ? '</EM>':'' %]
63 <DIV CLASS="BottomShortcuts">
65 INCLUDE shortcut url=url(token, 'expanded-dir-html')
67 title="Show all leaf graphs in one page";
69 IF hasSubtrees and nodeParam(token,'show-recursive',1) == 'yes';
70 INCLUDE shortcut url=url(token, 'recursive-dir-html')
72 title="Show all subtrees and leaves in one page";
75 INCLUDE overviewShortcuts %]
78 [% INCLUDE bottomline %]