summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/api.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2017-06-20 19:18:57 +0200
committerSimon Rettberg2017-06-20 19:18:57 +0200
commita8f5e30c35fd211bbddbf26401bdb368a228791c (patch)
treee94a80020be380cfdb240ff6db14c036652d07a0 /modules-available/locationinfo/api.inc.php
parent[locationinfo] Couple minor tweks/fixes/comments for doorsign.html (diff)
downloadslx-admin-a8f5e30c35fd211bbddbf26401bdb368a228791c.tar.gz
slx-admin-a8f5e30c35fd211bbddbf26401bdb368a228791c.tar.xz
slx-admin-a8f5e30c35fd211bbddbf26401bdb368a228791c.zip
[locationinfo] Use styled DIVs instead of SVGs for PC icons
Diffstat (limited to 'modules-available/locationinfo/api.inc.php')
-rw-r--r--modules-available/locationinfo/api.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/locationinfo/api.inc.php b/modules-available/locationinfo/api.inc.php
index ebea0ccb..74b9fc96 100644
--- a/modules-available/locationinfo/api.inc.php
+++ b/modules-available/locationinfo/api.inc.php
@@ -100,6 +100,7 @@ function appendMachineData(&$array, $idList = false, $withPosition = false)
}
}
$pc['pcState'] = LocationInfo::getPcState($row);
+ //$pc['pcState'] = ['BROKEN', 'OFF', 'IDLE', 'OCCUPIED'][mt_rand(0,3)];
// Add the array to the machines list.
$array[$row['locationid']]['machines'][] = $pc;