summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/frontend-summary.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/templates/frontend-summary.html')
-rw-r--r--modules-available/locationinfo/templates/frontend-summary.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules-available/locationinfo/templates/frontend-summary.html b/modules-available/locationinfo/templates/frontend-summary.html
index 540d0af6..136ac3a5 100644
--- a/modules-available/locationinfo/templates/frontend-summary.html
+++ b/modules-available/locationinfo/templates/frontend-summary.html
@@ -2,8 +2,8 @@
<html lang="{{language}}">
<meta name="viewport" content="width=device-width, initial-scale=1.0" charset="utf-8">
<head>
- <script type='text/javascript' src='{{dirprefix}}script/jquery.js'></script>
- <script type='text/javascript' src='{{dirprefix}}modules/locationinfo/frontend/frontendscript.js'></script>
+ <script type='text/javascript' src='script/jquery.js'></script>
+ <script type='text/javascript' src='modules/locationinfo/frontend/frontendscript.js'></script>
<style type='text/css'>
@@ -249,7 +249,7 @@
*/
function queryRooms() {
$.ajax({
- url: "{{dirprefix}}api.php?do=locationinfo&get=pcstates&uuid={{uuid}}",
+ url: "{{{api}}}get=pcstates&uuid={{uuid}}",
dataType: 'json',
cache: false,
timeout: 30000,
@@ -696,7 +696,7 @@
* api.inc.php / page.inc.php is getting the ids with the panel uuid.
*/
function queryCalendars() {
- var url = "{{dirprefix}}api.php?do=locationinfo&get=calendar&uuid={{uuid}}";
+ var url = "{{{api}}}get=calendar&uuid={{uuid}}";
// Todo reimplement Frontend method if needed
/*
@@ -723,7 +723,7 @@
*/
function queryPanelChange() {
$.ajax({
- url: "{{dirprefix}}api.php?do=locationinfo&get=timestamp&uuid={{uuid}}",
+ url: "{{{api}}}get=timestamp&uuid={{uuid}}",
dataType: 'json',
cache: false,
timeout: 5000,