kopia lustrzana https://gitlab.com/tomaszg/geostat
Fix user profile links on the top
rodzic
e6dc8e930a
commit
6e200ee00d
16
geostat.cpp
16
geostat.cpp
|
@ -252,7 +252,21 @@ int main(int argc, char** argv) {
|
|||
std::cout << " <title>Geocaching stats</title>\n";
|
||||
std::cout << "</head>\n";
|
||||
std::cout << "<body>\n";
|
||||
std::cout << "<h1>Geocaching stats for user <a href=\"" << ocpl_user_profile << "\">" << ocpl_user << "</a></h1>\n";
|
||||
std::cout << "<h1>Geocaching stats for user profiles: <br>\n";
|
||||
|
||||
if (!ocpl_user.empty())
|
||||
std::cout << "<a href=\"" << ocpl_user_profile << "\">" << ocpl_user << " @ OCpl</a><br>\n";
|
||||
if (!ocde_user.empty())
|
||||
std::cout << "<a href=\"" << ocde_user_profile << "\">" << ocde_user << " @ OCde</a><br>\n";
|
||||
if (!ocus_user.empty())
|
||||
std::cout << "<a href=\"" << ocus_user_profile << "\">" << ocus_user << " @ OCus</a><br>\n";
|
||||
if (!ocnl_user.empty())
|
||||
std::cout << "<a href=\"" << ocnl_user_profile << "\">" << ocnl_user << " @ OCnl</a><br>\n";
|
||||
if (!ocro_user.empty())
|
||||
std::cout << "<a href=\"" << ocro_user_profile << "\">" << ocro_user << " @ OCro</a><br>\n";
|
||||
if (!ocuk_user.empty())
|
||||
std::cout << "<a href=\"" << ocuk_user_profile << "\">" << ocuk_user << " @ OCuk</a><br>\n";
|
||||
std::cout << "</h1>\n";
|
||||
|
||||
if (!heat_file.empty()) {
|
||||
const Map* chosen_map;
|
||||
|
|
Ładowanie…
Reference in New Issue