zoneminder/web/ajax/modals/objdetect.php

30 lines
876 B
PHP
Raw Normal View History

2020-12-23 00:08:31 +08:00
<?php
// This is the HTML representing the Object Detection modal on the Events page
$eid = isset($_REQUEST['eid']) ? $_REQUEST['eid'] : '';
if ( !validInt($eid) ) {
ZM\Error("Invalid event id: $eid");
return;
}
?>
<div id="objdetectModal" class="modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Object Detection</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
2020-12-23 01:46:31 +08:00
<img src="?view=image&amp;eid=<?php echo $eid ?>&amp;fid=objdetect">
2020-12-23 00:08:31 +08:00
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>