Timeline revisions
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2635 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
d15e05e016
commit
d4b0eaa554
|
@ -71,8 +71,8 @@ $mode = "overlay";
|
||||||
if ( !isset($mode) )
|
if ( !isset($mode) )
|
||||||
$mode = "overlay";
|
$mode = "overlay";
|
||||||
|
|
||||||
$minEventWidth = 5;
|
$minEventWidth = 3;
|
||||||
$maxEventWidth = 5;
|
$maxEventWidth = 6;
|
||||||
|
|
||||||
$chart = array(
|
$chart = array(
|
||||||
"width"=>700,
|
"width"=>700,
|
||||||
|
@ -452,7 +452,7 @@ ksort( $monEventSlots, SORT_NUMERIC );
|
||||||
ksort( $monFrameSlots, SORT_NUMERIC );
|
ksort( $monFrameSlots, SORT_NUMERIC );
|
||||||
|
|
||||||
// No longer needed?
|
// No longer needed?
|
||||||
if ( true )
|
if ( false )
|
||||||
{
|
{
|
||||||
// Add on missing frames
|
// Add on missing frames
|
||||||
foreach( array_keys($monFrameSlots) as $monitorId )
|
foreach( array_keys($monFrameSlots) as $monitorId )
|
||||||
|
@ -489,6 +489,7 @@ foreach ( array_keys($monitorIds) as $monitorId )
|
||||||
$maxHeight = $monitors[$monitorId]['Height'];
|
$maxHeight = $monitors[$monitorId]['Height'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//print_r( $monEventSlots );
|
||||||
// Optimise boxes
|
// Optimise boxes
|
||||||
foreach( array_keys($monEventSlots) as $monitorId )
|
foreach( array_keys($monEventSlots) as $monitorId )
|
||||||
{
|
{
|
||||||
|
@ -533,6 +534,7 @@ foreach( array_keys($monEventSlots) as $monitorId )
|
||||||
if ( isset( $currSlot ) )
|
if ( isset( $currSlot ) )
|
||||||
unset( $currSlot );
|
unset( $currSlot );
|
||||||
}
|
}
|
||||||
|
//print_r( $monEventSlots );
|
||||||
|
|
||||||
// Stack events
|
// Stack events
|
||||||
$frameSlots = array();
|
$frameSlots = array();
|
||||||
|
|
Loading…
Reference in New Issue