diff options
author | levinse <levinse> | 2011-01-28 02:49:15 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-01-28 02:49:15 +0000 |
commit | 1e37402a96397fe344c32e0abf7434b4b595ea49 (patch) | |
tree | 6a5ce979f53686c9467c6e404c82032fb6946008 /torrus/templates | |
parent | 25e6733121bd27638a1b15f6365f63cc5c17f5ab (diff) |
torrus, RT10574
Diffstat (limited to 'torrus/templates')
-rw-r--r-- | torrus/templates/default-dir.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/torrus/templates/default-dir.html b/torrus/templates/default-dir.html index 4b653be17..fe13a9bbe 100644 --- a/torrus/templates/default-dir.html +++ b/torrus/templates/default-dir.html @@ -1,8 +1,13 @@ [% PROCESS 'html-incblocks.txt' %] +[% thepath=path(token) %] [% INCLUDE htmlstart title=xmlnorm(nodeParam(token,'comment')) printpath=1 %] [% INCLUDE legend %] +[% IF matches(thepath,'Interface_Counters/$') %] + [% freesideComponent('/elements/init_overlib.html') %] +[% END %] + <P>Directories you can jump to:</P> <DIV CLASS="Listing"> [% hasLeaves = 0; hasSubtrees = 0; @@ -39,6 +44,9 @@ <A HREF="[%url(child)%]"[%urlTitle%]>[% nodeName(child) %]</A> [% hidden ? '</EM>':''; thisIsAlias ? '</EM>':''; %] + [% IF matches(thepath,'Interface_Counters/$') %] + [% popup_link('nms-add_iface.html',nodeName(parent(token)),uri_escape(nodeName(child))) %] + [% END %] </SPAN> [% IF comment %] <SPAN CLASS="NodeDescr"> |