Bug 207 - Added zones link.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1650 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-12-02 10:17:30 +00:00
parent be3dfad079
commit 0ef4e0f134
1 changed files with 6 additions and 2 deletions

View File

@ -115,7 +115,7 @@ window.setTimeout( "window.location.replace( '<?= "$PHP_SELF?view=watchevents&mi
<input type="hidden" name="max_events" value="<?= $max_events ?>"> <input type="hidden" name="max_events" value="<?= $max_events ?>">
<center><table width="96%" align="center" border="0" cellspacing="1" cellpadding="0"> <center><table width="96%" align="center" border="0" cellspacing="1" cellpadding="0">
<tr> <tr>
<td valign="top"><table border="0" cellspacing="0" cellpadding="0" width="100%"> <td colspan="2" valign="top"><table border="0" cellspacing="0" cellpadding="0" width="100%">
<?php <?php
$sql = "select E.Id,E.Name,E.StartTime,E.Length,E.Frames,E.AlarmFrames,E.AvgScore,E.MaxScore from Monitors as M left join Events as E on M.Id = E.MonitorId where M.Id = '$mid' and E.Archived = 0"; $sql = "select E.Id,E.Name,E.StartTime,E.Length,E.Frames,E.AlarmFrames,E.AvgScore,E.MaxScore from Monitors as M left join Events as E on M.Id = E.MonitorId where M.Id = '$mid' and E.Archived = 0";
$sql .= " order by $sort_column $sort_order"; $sql .= " order by $sort_column $sort_order";
@ -162,7 +162,11 @@ while( $event = mysql_fetch_assoc( $result ) )
</table></td></tr> </table></td></tr>
</table></td> </table></td>
</tr> </tr>
<tr><td align="right"><input type="submit" name="delete_btn" value="<?= $zmSlangDelete ?>" class="form" disabled></td></tr> <tr
<td align="left"><input type="button" value="<?= $zmSlangZones ?>" class="form" onClick="javascript: newWindow( '<?= $PHP_SELF ?>?view=zones&mid=<?= $monitor['Id'] ?>', 'zmZones', <?= $monitor['Width']+$jws['zones']['w'] ?>, <?= $monitor['Height']+$jws['zones']['h'] ?> );"<?php if ( !canView( 'Monitors' ) ) { ?> disabled<?php } ?>></td>
<td align="right"><input type="submit" name="delete_btn" value="<?= $zmSlangDelete ?>" class="form" disabled></td>
</tr>
</table></center> </table></center>
</form> </form>
</body> </body>