From ee50a8c42e17a1f0c2e891a6336e124a25861d8f Mon Sep 17 00:00:00 2001 From: stagecoach Date: Wed, 29 Sep 2010 16:19:41 +0000 Subject: [PATCH] Playback functionality embedded into exported jpeg event. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3131 e3e1d417-86f3-4887-817a-d78f3d33393f --- .../classic/includes/export_functions.php | 866 +++++++++++++++++- 1 file changed, 848 insertions(+), 18 deletions(-) diff --git a/web/skins/classic/includes/export_functions.php b/web/skins/classic/includes/export_functions.php index a627ab31c..5f489d11f 100644 --- a/web/skins/classic/includes/export_functions.php +++ b/web/skins/classic/includes/export_functions.php @@ -1,5 +1,5 @@ + '.$SLANG['Frames'].','; + if( $exportImages ) $otherlinks .= ''.$SLANG['Images'].','; + $otherlinks = substr($otherlinks,0,-1); + + ?>
-

: ()

+

: ()

@@ -68,7 +297,7 @@ function exportEventDetail( $event, $exportFrames ) return( ob_get_clean() ); } -function exportEventFrames( $event, $exportImages ) +function exportEventFrames( $event, $exportDetail, $exportImages ) { global $SLANG; @@ -77,11 +306,17 @@ function exportEventFrames( $event, $exportImages ) ob_start(); exportHeader( $SLANG['Frames']." ".$event['Id'] ); + + $otherlinks = ''; + if( $exportDetail ) $otherlinks .= ''.$SLANG['Event'].','; + if( $exportImages ) $otherlinks .= ''.$SLANG['Images'].','; + $otherlinks = substr($otherlinks,0,-1); + ?>
-

: ()

+

: ()

@@ -101,7 +336,7 @@ function exportEventFrames( $event, $exportImages ) '.$SLANG['Event'].','; + if( $exportFrames ) $otherlinks .= ''.$SLANG['Frames'].','; + $otherlinks = substr($otherlinks,0,-1); + + $filelist = array_keys($myfilelist); + sort($filelist,SORT_NUMERIC); + $slides = '"'.implode('","',$filelist).'"'; + $listcount = count($filelist); +?> + + + +

: ()

+ + + + +
+
+
+ +
+
+
 
+
 
+
+
+ + + + + + + + +

Master

+ +
+ + +
+
+ +
+
+

All

+ $eids
"; + } + ?> + +
+ + + "; + echo "

Monitor: " . $monitorNames[$monitor] . "

"; + foreach ($eids as $eid) + { + if ($eventMonitorId[$eid] == $monitor) + { + ?> +
+ '; + } + + ?> + +
+ + + +
+ + + + + +