zoneminder/web/skins/flat/views/js/timeline.js.php

17 lines
330 B
PHP

var filterQuery = '<?= validJsStr($filterQuery) ?>';
var monitorNames = new Object();
<?php
foreach ( $monitors as $monitor )
{
if ( !empty($monitorIds[$monitor['Id']]) )
{
?>
monitorNames[<?= $monitor['Id'] ?>] = '<?= validJsStr($monitor['Name']) ?>';
<?php
}
}
?>
var archivedString = "<?= $SLANG['Archived'] ?>";