zoneminder/web/skins/classic/views/js/frame.js.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
942 B
PHP
Raw Normal View History

2020-08-20 23:16:28 +08:00
<?php
global $scale;
2020-08-24 06:53:47 +08:00
global $eid;
global $fid;
global $alarmFrame;
2020-08-20 23:16:28 +08:00
?>
var scale = '<?php echo validJsStr($scale); ?>';
var SCALE_BASE = <?php echo SCALE_BASE ?>;
2020-08-24 06:53:47 +08:00
var eid = <?php echo $eid ?>;
var fid = <?php echo $fid ?>;
var record_event_stats = <?php echo ZM_RECORD_EVENT_STATS ?>;
var alarmFrame = <?php echo $alarmFrame ?>;
2020-12-14 03:20:26 +08:00
var statHeaderStrings = {
Id: '<?php echo translate('EventId') ?>',
FrameId: '<?php echo translate('FrameId') ?>',
ZoneName: '<?php echo translate('Zone') ?>',
PixelDiff: '<?php echo translate('PixelDiff') ?>',
AlarmPixels: '<?php echo translate('AlarmPx') ?>',
FilterPixels: '<?php echo translate('FilterPx') ?>',
BlobPixels: '<?php echo translate('BlobPx') ?>',
Blobs: '<?php echo translate('Blobs') ?>',
BlobSizes: '<?php echo translate('BlobSizes') ?>',
AlarmLimits: '<?php echo translate('AlarmLimits') ?>',
Score: '<?php echo translate('Score') ?>'
};