41fd848fa0
Some HTML files were importing iframe_api.js automatically by detecting the referrer document. While this was done in a safe way (the map container does not use cookies), it is not a best practice to load a script originating from document.referrer. This PR solves the issue by using PHP to inject the correct domain name in the HTML files.
132 lines
4.1 KiB
JSON
132 lines
4.1 KiB
JSON
{ "compressionlevel":-1,
|
|
"height":10,
|
|
"infinite":false,
|
|
"layers":[
|
|
{
|
|
"data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
"height":10,
|
|
"id":1,
|
|
"name":"floor",
|
|
"opacity":1,
|
|
"properties":[
|
|
{
|
|
"name":"openWebsite",
|
|
"type":"string",
|
|
"value":"shared_variables.php"
|
|
},
|
|
{
|
|
"name":"openWebsiteAllowApi",
|
|
"type":"bool",
|
|
"value":true
|
|
}],
|
|
"type":"tilelayer",
|
|
"visible":true,
|
|
"width":10,
|
|
"x":0,
|
|
"y":0
|
|
},
|
|
{
|
|
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
"height":10,
|
|
"id":2,
|
|
"name":"start",
|
|
"opacity":1,
|
|
"type":"tilelayer",
|
|
"visible":true,
|
|
"width":10,
|
|
"x":0,
|
|
"y":0
|
|
},
|
|
{
|
|
"draworder":"topdown",
|
|
"id":3,
|
|
"name":"floorLayer",
|
|
"objects":[
|
|
{
|
|
"height":67,
|
|
"id":3,
|
|
"name":"",
|
|
"rotation":0,
|
|
"text":
|
|
{
|
|
"fontfamily":"Sans Serif",
|
|
"pixelsize":11,
|
|
"text":"Test:\nChange the form\nConnect with another user\n\nResult:\nThe form should open in the same state for the other user\nAlso, a change on one user is directly propagated to the other user",
|
|
"wrap":true
|
|
},
|
|
"type":"",
|
|
"visible":true,
|
|
"width":252.4375,
|
|
"x":2.78125,
|
|
"y":2.5
|
|
},
|
|
{
|
|
"height":0,
|
|
"id":5,
|
|
"name":"textField",
|
|
"point":true,
|
|
"properties":[
|
|
{
|
|
"name":"default",
|
|
"type":"string",
|
|
"value":"default value"
|
|
},
|
|
{
|
|
"name":"jsonSchema",
|
|
"type":"string",
|
|
"value":"{}"
|
|
},
|
|
{
|
|
"name":"persist",
|
|
"type":"bool",
|
|
"value":true
|
|
},
|
|
{
|
|
"name":"readableBy",
|
|
"type":"string",
|
|
"value":""
|
|
},
|
|
{
|
|
"name":"writableBy",
|
|
"type":"string",
|
|
"value":""
|
|
}],
|
|
"rotation":0,
|
|
"type":"variable",
|
|
"visible":true,
|
|
"width":0,
|
|
"x":57.5,
|
|
"y":111
|
|
}],
|
|
"opacity":1,
|
|
"type":"objectgroup",
|
|
"visible":true,
|
|
"x":0,
|
|
"y":0
|
|
}],
|
|
"nextlayerid":8,
|
|
"nextobjectid":10,
|
|
"orientation":"orthogonal",
|
|
"renderorder":"right-down",
|
|
"tiledversion":"2021.03.23",
|
|
"tileheight":32,
|
|
"tilesets":[
|
|
{
|
|
"columns":11,
|
|
"firstgid":1,
|
|
"image":"..\/tileset1.png",
|
|
"imageheight":352,
|
|
"imagewidth":352,
|
|
"margin":0,
|
|
"name":"tileset1",
|
|
"spacing":0,
|
|
"tilecount":121,
|
|
"tileheight":32,
|
|
"tilewidth":32
|
|
}],
|
|
"tilewidth":32,
|
|
"type":"map",
|
|
"version":1.5,
|
|
"width":10
|
|
}
|