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') %]
10 [% IF matches(thepath,'Routers/$') %]
11 [% freesideComponent('/elements/init_overlib.html') %]
12 [% popup_link('nms-add_router.html') %]
15 <P>Directories you can jump to:</P>
17 [% hasLeaves = 0; hasSubtrees = 0;
20 FOREACH child = sortTokens(children(token));
22 IF nodeParam(child,'hidden') == 'yes';
25 comment = nodeParam(child,'comment',1);
26 IF not hidden or variables.SHOWHIDDEN;
27 childCounter = childCounter + 1;
28 evenRow = childCounter % 2 == 0;
30 hasLeaves = hasLeaves + 1;
34 urlTitle=' TITLE="Symbolic link to ' _ path(isAlias(child)) _'"';
35 IF isLeaf(isAlias(child));
36 hasLeaves = hasLeaves + 1;
44 <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
45 <SPAN CLASS="NodeName">
46 [% thisIsAlias ? '<EM CLASS="Alias">':'';
47 hidden ? '<EM CLASS="ShowHidden">':'' %]
48 <A HREF="[%url(child)%]"[%urlTitle%]>[% nodeName(child) %]</A>
49 [% hidden ? '</EM>':'';
50 thisIsAlias ? '</EM>':''; %]
51 [% IF matches(thepath,'Interface_Counters/$') %]
53 [% popup_link('nms-add_iface.html',nodeName(parent(token)),uri_escape(nodeName(child))) %]
58 <SPAN CLASS="NodeDescr">
59 [% hidden ? '<EM CLASS="ShowHidden">':'' %]
60 [% xmlnorm(comment) %]
61 [% hidden ? '</EM>':'' %]
69 <DIV CLASS="BottomShortcuts">
71 INCLUDE shortcut url=url(token, 'expanded-dir-html')
73 title="Show all leaf graphs in one page";
75 IF hasSubtrees and nodeParam(token,'show-recursive',1) == 'yes';
76 INCLUDE shortcut url=url(token, 'recursive-dir-html')
78 title="Show all subtrees and leaves in one page";
81 INCLUDE overviewShortcuts %]
84 [% INCLUDE bottomline %]