[freeside-commits] freeside/torrus/templates default-dir.html, 1.8, 1.9

Ivan,,, ivan at wavetail.420.am
Mon Feb 28 16:09:41 PST 2011


Update of /home/cvs/cvsroot/freeside/torrus/templates
In directory wavetail.420.am:/tmp/cvs-serv29153/templates

Modified Files:
	default-dir.html 
Log Message:
recognize interfaces with . turned into _ too

Index: default-dir.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/torrus/templates/default-dir.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -d -r1.8 -r1.9
--- default-dir.html	10 Feb 2011 01:08:44 -0000	1.8
+++ default-dir.html	1 Mar 2011 00:09:39 -0000	1.9
@@ -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>



More information about the freeside-commits mailing list