Remove STATE_ and CMD defines as they are in skin.js.php now. quote connKey so that it retains leading 0s. Should quiet some zms errors.
parent
2434c39c2d
commit
f21df362fa
|
@ -16,9 +16,9 @@ var monitorData = new Array();
|
||||||
global $monitors;
|
global $monitors;
|
||||||
foreach ( $monitors as $monitor ) {
|
foreach ( $monitors as $monitor ) {
|
||||||
?>
|
?>
|
||||||
monitorData[monitorData.length] = {
|
monitorData[monitorData.length] = {
|
||||||
'id': <?php echo $monitor->Id() ?>,
|
'id': <?php echo $monitor->Id() ?>,
|
||||||
'connKey': <?php echo $monitor->connKey() ?>,
|
'connKey': '<?php echo $monitor->connKey() ?>',
|
||||||
'width': <?php echo $monitor->ViewWidth() ?>,
|
'width': <?php echo $monitor->ViewWidth() ?>,
|
||||||
'height':<?php echo $monitor->ViewHeight() ?>,
|
'height':<?php echo $monitor->ViewHeight() ?>,
|
||||||
'janusEnabled':<?php echo $monitor->JanusEnabled() ?>,
|
'janusEnabled':<?php echo $monitor->JanusEnabled() ?>,
|
||||||
|
@ -40,4 +40,6 @@ foreach ( $layouts as $layout ) {
|
||||||
layouts[<?php echo $layout->Id() ?>] = {"Name":"<?php echo $layout->Name()?>","Positions":<?php echo json_decode($layout->Positions())?$layout->Positions():'{}' ?>};
|
layouts[<?php echo $layout->Id() ?>] = {"Name":"<?php echo $layout->Name()?>","Positions":<?php echo json_decode($layout->Positions())?$layout->Positions():'{}' ?>};
|
||||||
<?php
|
<?php
|
||||||
} // end foreach layout
|
} // end foreach layout
|
||||||
|
global $FreeFormLayoutId;
|
||||||
|
echo 'freeform_layout_id='.$FreeFormLayoutId.';'
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue