From 39bf086cae20fa746336953f46ae7b9245f3891f Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 1 Mar 2011 00:09:39 +0000 Subject: recognize interfaces with . turned into _ too --- torrus/templates/default-dir.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'torrus/templates') 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 ? '':''; %] [% IF matches(thepath,'Interface_Counters/$') %] - [% 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) %] [% END %] -- cgit v1.2.1