diff --git a/web/skins/classic/views/events.php b/web/skins/classic/views/events.php index be9eaed2d..87e76feaf 100644 --- a/web/skins/classic/views/events.php +++ b/web/skins/classic/views/events.php @@ -98,7 +98,7 @@ foreach ( dbFetchAll( $eventsSql ) as $event ) $events[] = new Event( $event ); # Doesn this code do anything? - $scale = max( reScale( SCALE_BASE, $event->DefaultScale(), ZM_WEB_DEFAULT_SCALE ), SCALE_BASE ); + $scale = max( reScale( SCALE_BASE, $event['DefaultScale'], ZM_WEB_DEFAULT_SCALE ), SCALE_BASE ); $eventWidth = reScale( $event['Width'], $scale ); $eventHeight = reScale( $event['Height'], $scale ); if ( $maxWidth < $eventWidth ) $maxWidth = $eventWidth; @@ -212,14 +212,14 @@ foreach ( $events as $event ) TotScore() ?> AvgScore() ?> Id().'&fid=0', 'zmImage', array( 'image', reScale( $event->Width(), $scale ), reScale( $event->Height(), $scale ) ), $event->MaxScore() ) ?> - DiskSpace() ?> + DiskSpace() ) ?> createListThumbnail() ) { ?> - Width(), $scale ), reScale( $event->Height(), $scale ) ), ''.$thumbData['FrameId'].'/'.$event->MaxScore().'' ) ?> + Id().'&fid='.$thumbData['FrameId'], 'zmImage', array( 'image', reScale( $event->Width(), $scale ), reScale( $event->Height(), $scale ) ), ''.$thumbData['FrameId'].'/'.$event->MaxScore().'' ) ?>