| 1901 | } |
| 1902 | |
| 1903 | inline void tabs_li(std::ostream& os, const char* link, |
| 1904 | const char* tab_name, const char* current_tab_name) { |
| 1905 | os << "<li id='" << link << '\''; |
| 1906 | if (strcmp(current_tab_name, tab_name) == 0) { |
| 1907 | os << " class='current'"; |
| 1908 | } |
| 1909 | os << '>' << tab_name << "</li>\n"; |
| 1910 | } |
| 1911 | |
| 1912 | void Server::PrintTabsBody(std::ostream& os, |
| 1913 | const char* current_tab_name) const { |