Browse Source

Merge pull request #1222 from PurpleI2P/show-transports

Update HTTPServer.cpp
pull/1223/head
orignal 6 years ago committed by GitHub
parent
commit
55555c8787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      daemon/HTTPServer.cpp

3
daemon/HTTPServer.cpp

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/algorithm/string.hpp>
#include "Base.h"
#include "FS.h"
@ -577,7 +578,7 @@ namespace http { @@ -577,7 +578,7 @@ namespace http {
}
if (!tmp_s.str ().empty ())
{
s << "<div class='slide'><label for='slide_ntcp'><b>" << name << "</b> ( " << cnt << " )</label>\r\n<input type='checkbox' id='slide_ntcp'/>\r\n<p class='content'>";
s << "<div class='slide'><label for='slide_" << boost::algorithm::to_lower_copy(name) << "'><b>" << name << "</b> ( " << cnt << " )</label>\r\n<input type='checkbox' id='slide_ntcp'/>\r\n<p class='content'>";
s << tmp_s.str () << "</p>\r\n</div>\r\n";
}
if (!tmp_s6.str ().empty ())

Loading…
Cancel
Save