diff --git a/web/zm_html_view_console.php b/web/zm_html_view_console.php
index 3a958a106..d286f9885 100644
--- a/web/zm_html_view_console.php
+++ b/web/zm_html_view_console.php
@@ -224,19 +224,19 @@ foreach( $monitors as $monitor )
$fclass .= "em";
}
?>
-
= makeLink( "javascript: newWindow( '$PHP_SELF?view=watch&mid=".$monitor['Id']."', 'zmWatch".$monitor['Name']."', ".($monitor['Width']+$jws['watch']['w']).", ".($monitor['Height']+$jws['watch']['h'])." );", $monitor['Name'], canView( 'Stream' ) ) ?> |
+= makeLink( "javascript: newWindow( '$PHP_SELF?view=watch&mid=".$monitor['Id']."', 'zmWatch".$monitor['Id']."', ".($monitor['Width']+$jws['watch']['w']).", ".($monitor['Height']+$jws['watch']['h'])." );", $monitor['Name'], canView( 'Stream' ) ) ?> |
= makeLink( "javascript: newWindow( '$PHP_SELF?view=function&mid=".$monitor['Id']."', 'zmFunction', ".$jws['function']['w'].", ".$jws['function']['h']." );", "".$monitor['Function']."", canEdit( 'Monitors' ) ) ?> |
= makeLink( "javascript: newWindow( '$PHP_SELF?view=monitor&mid=".$monitor['Id']."', 'zmMonitor', ".$jws['monitor']['w'].", ".$jws['monitor']['h']." );", "/dev/video".$monitor['Device']." (".$monitor['Channel'].")", canEdit( 'Monitors' ) ) ?> |
= makeLink( "javascript: newWindow( '$PHP_SELF?view=monitor&mid=".$monitor['Id']."', 'zmMonitor', ".$jws['monitor']['w'].", ".$jws['monitor']['h']." );", "".$monitor['Host']."", canEdit( 'Monitors' ) ) ?> |
-= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=1&attr1=Archived&val1=0', 'zmEvents".$monitor['Name']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['EventCount'], canView( 'Events' ) ) ?> |
-= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=2&attr1=Archived&val1=0&cnj2=and&attr2=DateTime&op2=%3e%3d&val2=last+hour', 'zmEvents".$monitor['Name']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['HourEventCount'], canView( 'Events' ) ) ?> |
-= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=2&attr1=Archived&val1=0&cnj2=and&attr2=DateTime&op2=%3e%3d&val2=last+day', 'zmEvents".$monitor['Name']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['DayEventCount'], canView( 'Events' ) ) ?> |
-= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=2&attr1=Archived&val1=0&cnj2=and&attr2=DateTime&op2=%3e%3d&val2=last+week', 'zmEvents".$monitor['Name']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['WeekEventCount'], canView( 'Events' ) ) ?> |
-= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=2&attr1=Archived&val1=0&cnj2=and&attr2=DateTime&op2=%3e%3d&val2=last+month', 'zmEvents".$monitor['Name']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['MonthEventCount'], canView( 'Events' ) ) ?> |
-= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=1&attr1=Archived&val1=1', 'zmEvents".$monitor['Name']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['ArchEventCount'], canView( 'Events' ) ) ?> |
+= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=1&attr1=Archived&val1=0', 'zmEvents".$monitor['Id']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['EventCount'], canView( 'Events' ) ) ?> |
+= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=2&attr1=Archived&val1=0&cnj2=and&attr2=DateTime&op2=%3e%3d&val2=last+hour', 'zmEvents".$monitor['Id']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['HourEventCount'], canView( 'Events' ) ) ?> |
+= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=2&attr1=Archived&val1=0&cnj2=and&attr2=DateTime&op2=%3e%3d&val2=last+day', 'zmEvents".$monitor['Id']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['DayEventCount'], canView( 'Events' ) ) ?> |
+= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=2&attr1=Archived&val1=0&cnj2=and&attr2=DateTime&op2=%3e%3d&val2=last+week', 'zmEvents".$monitor['Id']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['WeekEventCount'], canView( 'Events' ) ) ?> |
+= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=2&attr1=Archived&val1=0&cnj2=and&attr2=DateTime&op2=%3e%3d&val2=last+month', 'zmEvents".$monitor['Id']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['MonthEventCount'], canView( 'Events' ) ) ?> |
+= makeLink( "javascript: scrollWindow( '$PHP_SELF?view=events&mid=".$monitor['Id']."&page=1&filter=1&trms=1&attr1=Archived&val1=1', 'zmEvents".$monitor['Id']."', ".$jws['events']['w'].", ".$jws['events']['h']." );", $monitor['ArchEventCount'], canView( 'Events' ) ) ?> |
= makeLink( "javascript: newWindow( '$PHP_SELF?view=zones&mid=".$monitor['Id']."', 'zmZones', ".($monitor['Width']+$jws['zones']['w']).", ".($monitor['Height']+$jws['zones']['h'])." );", $monitor['ZoneCount'], canView( 'Monitors' ) ) ?> |
disabled> |
diff --git a/web/zm_html_view_cycle.php b/web/zm_html_view_cycle.php
index 6d0e541f0..c026a8afb 100644
--- a/web/zm_html_view_cycle.php
+++ b/web/zm_html_view_cycle.php
@@ -104,7 +104,7 @@ if ( $mode == "stream" )
if ( isNetscape() )
{
?>
- |
+ |
- |
+ |
diff --git a/web/zm_html_view_events.php b/web/zm_html_view_events.php
index 0be1b8d5c..556958c51 100644
--- a/web/zm_html_view_events.php
+++ b/web/zm_html_view_events.php
@@ -190,7 +190,7 @@ function closeWindow()
{
window.close();
// This is a hack. The only way to close an existing window is to try and open it!
- var filterWindow = window.open( "= $PHP_SELF ?>?view=none", 'zmFilter= $monitor['Name'] ?>', 'width=1,height=1' );
+ var filterWindow = window.open( "= $PHP_SELF ?>?view=none", 'zmFilter= $monitor['Id'] ?>', 'width=1,height=1' );
filterWindow.close();
}
function checkAll(form,name)
@@ -230,7 +230,7 @@ if ( isset($filter) )
{
?>
//opener.location.reload(true);
-filterWindow( '= $PHP_SELF ?>?view=filter&mid== $mid ?>&page== $page ?>= $filter_query ?>', 'zmFilter= $monitor['Name'] ?>' );
+filterWindow( '= $PHP_SELF ?>?view=filter&mid== $mid ?>&page== $page ?>= $filter_query ?>', 'zmFilter= $monitor['Id'] ?>' );
location.replace( '= $PHP_SELF ?>?view=events&mid== $mid ?>&page== $page ?>= $filter_query ?>' );
@@ -352,7 +352,7 @@ else
|
= $zmSlangRefresh ?> |
-= $zmSlangShowFilterWindow ?> |
+= $zmSlangShowFilterWindow ?> |
= $zmSlangCheckAll ?> |
|
diff --git a/web/zm_html_view_watchevents.php b/web/zm_html_view_watchevents.php
index fd8ddbe89..9b5093f5d 100644
--- a/web/zm_html_view_watchevents.php
+++ b/web/zm_html_view_watchevents.php
@@ -140,8 +140,8 @@ $n_events = mysql_num_rows( $result );
?>
= sprintf( $zmClangLastEvents, $n_events, strtolower( zmVlang( $zmVlangEvent, $n_events ) ) ) ?> |
-= $zmSlangAll ?> |
-= $zmSlangArchive ?> |
+= $zmSlangAll ?> |
+= $zmSlangArchive ?> |
= $zmSlangCheckAll ?> |
|
diff --git a/web/zm_html_view_watchfeed.php b/web/zm_html_view_watchfeed.php
index d9fd4fc4c..d422fa5f8 100644
--- a/web/zm_html_view_watchfeed.php
+++ b/web/zm_html_view_watchfeed.php
@@ -94,7 +94,7 @@ window.setTimeout( "window.location.reload(true)", = REFRESH_IMAGE*1000 ?> );
|
-= $zmSlangSettings ?> |
+= $zmSlangSettings ?> |
|