Remove link to #, add unlimited_player_transfer_distance to announce

This commit is contained in:
proller 2013-12-03 19:48:43 +04:00
parent 6fa3892a71
commit 6cbd1b8bf7
3 changed files with 7 additions and 1 deletions

@ -226,6 +226,7 @@ void sendAnnounce(std::string action, const std::vector<std::string> & clients_n
server["rollback"] = g_settings->getBool("enable_rollback_recording"); server["rollback"] = g_settings->getBool("enable_rollback_recording");
server["liquid_finite"] = g_settings->getBool("liquid_finite"); server["liquid_finite"] = g_settings->getBool("liquid_finite");
server["mapgen"] = g_settings->get("mg_name"); server["mapgen"] = g_settings->get("mg_name");
server["names"] = g_settings->getBool("unlimited_player_transfer_distance");
server["mods"] = Json::Value(Json::arrayValue); server["mods"] = Json::Value(Json::arrayValue);
for(std::vector<ModSpec>::iterator m = mods.begin(); m != mods.end(); m++) { for(std::vector<ModSpec>::iterator m = mods.begin(); m != mods.end(); m++) {
server["mods"].append(m->name); server["mods"].append(m->name);

@ -69,5 +69,5 @@
{{~}} {{~}}
</table> </table>
{{? master.min_clients || master.limit}} {{? master.min_clients || master.limit}}
<a href="#" onclick="delete master.min_clients; delete master.limit; get();">More...</a> <a class="clickable" onclick="delete master.min_clients; delete master.limit; get();">More...</a>
{{?}} {{?}}

@ -28,3 +28,8 @@ td:hover .mts_hover_list {
text-decoration: underline; text-decoration: underline;
text-decoration-style: dashed; text-decoration-style: dashed;
} }
.clickable {
text-decoration: underline;
cursor: pointer;
}