mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
modules/s_control: Use HTML table for conf list.
This commit is contained in:
parent
d29b98b0ea
commit
438762ff8e
1 changed files with 5 additions and 5 deletions
|
@ -105,12 +105,12 @@ try
|
|||
{
|
||||
char val[512];
|
||||
std::stringstream ss;
|
||||
ss << "<pre>";
|
||||
ss << "<table>";
|
||||
for(const auto &p : conf::items)
|
||||
ss << std::setw(32) << std::right << p.first
|
||||
<< " = " << p.second->get(val)
|
||||
<< "<br />";
|
||||
ss << "</pre>";
|
||||
ss << "<tr><td>" << std::setw(32) << std::right << p.first
|
||||
<< "</td><td>" << p.second->get(val)
|
||||
<< "</td></tr>";
|
||||
ss << "</table>";
|
||||
|
||||
msghtml(control_room, m::me.user_id, ss.str());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue