From 5a19bb3f994acfb0d4a5a7e87c5eb3b94f540151 Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Fri, 24 Mar 2017 17:24:16 +0100 Subject: Added a no Server option in the room config --- modules-available/locationinfo/api.inc.php | 2 +- modules-available/locationinfo/lang/de/template-tags.json | 1 + modules-available/locationinfo/lang/en/template-tags.json | 1 + modules-available/locationinfo/templates/config.html | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules-available/locationinfo/api.inc.php b/modules-available/locationinfo/api.inc.php index 55f21e55..1615b8ec 100644 --- a/modules-available/locationinfo/api.inc.php +++ b/modules-available/locationinfo/api.inc.php @@ -420,7 +420,7 @@ function getCalendar($idList) $serverList = array(); if (!empty($idList)) { - //// Build SQL query for multiple ids. + // Build SQL query for multiple ids. $query = "SELECT locationid, l.serverid AS serverid, serverurl, servertype, credentials FROM `location_info` AS l LEFT JOIN setting_location_info AS s ON s.serverid = l.serverid WHERE locationid IN ("; $query .= implode(",", $idList); diff --git a/modules-available/locationinfo/lang/de/template-tags.json b/modules-available/locationinfo/lang/de/template-tags.json index 1a7bb537..3197f333 100644 --- a/modules-available/locationinfo/lang/de/template-tags.json +++ b/modules-available/locationinfo/lang/de/template-tags.json @@ -72,6 +72,7 @@ "lang_deleteConfirmation": "Bist du sicher?", "lang_addServer": "Server", "lang_addServer_title": "Server hinzufügen", + "lang_noServer": "", "lang_serverTable": "Server Liste", "lang_buildingTable": "Gebäude / Raum Liste", "lang_serverUrl": "URL", diff --git a/modules-available/locationinfo/lang/en/template-tags.json b/modules-available/locationinfo/lang/en/template-tags.json index 50cc2b10..8e0b2c8d 100644 --- a/modules-available/locationinfo/lang/en/template-tags.json +++ b/modules-available/locationinfo/lang/en/template-tags.json @@ -77,6 +77,7 @@ "lang_deleteConfirmation": "Are you sure?", "lang_addServer": "Server", "lang_addServer_title": "Add server", + "lang_noServer": "", "lang_serverTable": "Server List", "lang_buildingTable": "Building / Room List", "lang_serverUrl": "URL", diff --git a/modules-available/locationinfo/templates/config.html b/modules-available/locationinfo/templates/config.html index 48a79585..cf5cd3fd 100644 --- a/modules-available/locationinfo/templates/config.html +++ b/modules-available/locationinfo/templates/config.html @@ -16,6 +16,7 @@