diff options
-rw-r--r-- | openvpn-listconfigs-html.lsp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openvpn-listconfigs-html.lsp b/openvpn-listconfigs-html.lsp index 498e52f..fc1f1ab 100644 --- a/openvpn-listconfigs-html.lsp +++ b/openvpn-listconfigs-html.lsp @@ -32,7 +32,7 @@ end %> <TD><%= html.html_escape(string.gsub(config.name, "^.*/", "")) %></TD> <TD <% if config.errtxt then io.write('class="error"') end %>><%= html.html_escape(config.type) %></TD> <TD><%= html.html_escape(config.status) %></TD> - <TD><% if ( config.type == "server" ) then %><% if ( config.clients > 0 ) then %><%= html.link{value = page_info.script .. page_info.prefix .. page_info.controller .. "/status_info?name=" .. config.name, label = config.clients } %><% else %><%= html.html_escape(config.clients) %><% end %><% end %></TD> + <TD><% if ( config.type == "server" ) then %><% if ( config.clients > 0 ) then %><%= html.link{value = page_info.script .. page_info.prefix .. page_info.controller .. "/statusinfo?name=" .. config.name, label = config.clients } %><% else %><%= html.html_escape(config.clients) %><% end %><% end %></TD> </TR> <% if config.errtxt then %> <TR class="error"><TD colspan=5><%= html.html_escape(config.errtxt) %></TD></TR> |