diff options
author | ivan <ivan> | 2011-03-01 00:09:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-03-01 00:09:39 +0000 |
commit | 39bf086cae20fa746336953f46ae7b9245f3891f (patch) | |
tree | c0ba15528f4c61f1c8fa38ec4dc310b5cc74450c /torrus/templates/default-dir.html | |
parent | 0589594f050aa8da5085113665362aa03afe0bfd (diff) |
recognize interfaces with . turned into _ too
Diffstat (limited to 'torrus/templates/default-dir.html')
-rw-r--r-- | torrus/templates/default-dir.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/torrus/templates/default-dir.html b/torrus/templates/default-dir.html index bcdc001b4..c87b56136 100644 --- a/torrus/templates/default-dir.html +++ b/torrus/templates/default-dir.html @@ -17,7 +17,7 @@ serviceids = get_serviceids(nms,router); # HACK! this doesn't do what you think it does... - popup_link('nms-add_iface.html',router,uri_escape(slash2underscore(nodeName(token))),nms,serviceids); + popup_link('nms-add_iface.html',router,uri_escape(iface_underscore(nodeName(token))),nms,serviceids); END; IF matches(thepath,'Routers/$'); freesideComponent('/elements/init_overlib.html'); @@ -63,7 +63,7 @@ thisIsAlias ? '</EM>':''; %] [% IF matches(thepath,'Interface_Counters/$') %] <FONT SIZE="-1"> - [% popup_link('nms-add_iface.html',router,uri_escape(slash2underscore(nodeName(child))),nms,serviceids) %] + [% popup_link('nms-add_iface.html',router,uri_escape(iface_underscore(nodeName(child))),nms,serviceids) %] </FONT> [% END %] </SPAN> |