aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorproller <proler@github.com>2013-12-03 19:48:43 +0400
committerproller <proler@github.com>2013-12-03 19:48:43 +0400
commit6cbd1b8bf739e0d776ee508708b5076b491fb638 (patch)
tree80da7d690a5f077031146e48cccb35ebd88b96b9
parent6fa3892a715ec3db24b16f0ff4bb9ac8ed855d6d (diff)
downloadminetest-6cbd1b8bf739e0d776ee508708b5076b491fb638.tar.gz
minetest-6cbd1b8bf739e0d776ee508708b5076b491fb638.tar.bz2
minetest-6cbd1b8bf739e0d776ee508708b5076b491fb638.zip
Remove link to #, add unlimited_player_transfer_distance to announce
-rw-r--r--src/serverlist.cpp1
-rw-r--r--util/master/servers.jst2
-rw-r--r--util/master/style.css5
3 files changed, 7 insertions, 1 deletions
diff --git a/src/serverlist.cpp b/src/serverlist.cpp
index f9e3c6734..97a7b0bf7 100644
--- a/src/serverlist.cpp
+++ b/src/serverlist.cpp
@@ -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["liquid_finite"] = g_settings->getBool("liquid_finite");
server["mapgen"] = g_settings->get("mg_name");
+ server["names"] = g_settings->getBool("unlimited_player_transfer_distance");
server["mods"] = Json::Value(Json::arrayValue);
for(std::vector<ModSpec>::iterator m = mods.begin(); m != mods.end(); m++) {
server["mods"].append(m->name);
diff --git a/util/master/servers.jst b/util/master/servers.jst
index 3db07d05a..26cbd0434 100644
--- a/util/master/servers.jst
+++ b/util/master/servers.jst
@@ -69,5 +69,5 @@
{{~}}
</table>
{{? 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>
{{?}}
diff --git a/util/master/style.css b/util/master/style.css
index 76a4f998d..13bcf2979 100644
--- a/util/master/style.css
+++ b/util/master/style.css
@@ -28,3 +28,8 @@ td:hover .mts_hover_list {
text-decoration: underline;
text-decoration-style: dashed;
}
+
+.clickable {
+ text-decoration: underline;
+ cursor: pointer;
+} \ No newline at end of file