X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=inline;f=httemplate%2Fbrowse%2Frouter.cgi;h=149db49031d08fc05367cd8838644e73289e6748;hb=1238858779262e56f45aef69d33b54052407c7f7;hp=8864936d92f60abb927fc996a2dba0c973376ea8;hpb=0ebeec96313dd7edfca340f01f8fbbbac1f4aa1d;p=freeside.git
diff --git a/httemplate/browse/router.cgi b/httemplate/browse/router.cgi
index 8864936d9..149db4903 100644
--- a/httemplate/browse/router.cgi
+++ b/httemplate/browse/router.cgi
@@ -11,24 +11,44 @@ my $p2 = popurl(2);
<% } %>
-Add a new router
+<%
+my $hidecustomerrouters = 0;
+my $hideurl = '';
+if ($cgi->param('hidecustomerrouters') eq '1') {
+ $hidecustomerrouters = 1;
+ $cgi->param('hidecustomerrouters', 0);
+ $hideurl = 'Show customer routers';
+} else {
+ $hidecustomerrouters = 0;
+ $cgi->param('hidecustomerrouters', 1);
+ $hideurl = 'Hide customer routers';
+}
+%>
+
+Add a new router | <%=$hideurl%>
<%=table()%>
-
-<% foreach $router (sort {$a->routernum <=> $b->routernum} @router) { %>