~ubuntu-branches/ubuntu/saucy/zoneminder/saucy-proposed

« back to all changes in this revision

Viewing changes to web/skins/classic/views/timeline.php

  • Committer: Bazaar Package Importer
  • Author(s): Vagrant Cascadian, Peter Howard, Vagrant Cascadian
  • Date: 2011-07-24 16:44:30 UTC
  • mfrom: (15.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110724164430-yibtwwjqlqb7hv1o
Tags: 1.24.4-1
[ Peter Howard ]
* Initial release of 1.24.4 (Closes: #634985).
  - Fix 32/64-bit type declarations (Closes: #614404).
* Update patches.

[ Vagrant Cascadian ]
* Add patch to fix FTBFS by using libv4l1-videodev.h from libv4l-dev.
  Thanks to Andreas Metzler for reporting the issue. 
  (Closes: #619813). 
* Document adding the www-data user to the video group in README.Debian.
  (Closes: #611324)
* Depend on libsys-mmap-perl to enable mapped memory support.
  (Closes: #607331)
* Update libjs-mootools patch to use -nc variants (Closes: #635075).
* Depend on javascript-common, to ensure that /javascript is available in 
  the web server.
* Set the upstream version in postinst at build time.
* Use dh-autoreconf to properly clean up autogenerated files during build.
* Add Vcs-HG to debian/control. 
* Add Build-Depends: libv4l-dev, libbz2-dev, dh-autoreconf, libsys-mmap-perl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
//
3
 
// ZoneMinder web timeline view file, $Date: 2009-06-22 12:23:28 +0100 (Mon, 22 Jun 2009) $, $Revision: 2930 $
 
3
// ZoneMinder web timeline view file, $Date: 2011-02-06 15:28:49 +0000 (Sun, 06 Feb 2011) $, $Revision: 3277 $
4
4
//
5
5
// This program is free software; you can redistribute it and/or
6
6
// modify it under the terms of the GNU General Public License
266
266
    appendDatetimeRange( $tree, $minTime, $maxTime );
267
267
 
268
268
    $filterQuery = parseTreeToQuery( $tree );
269
 
    if ( $filterQuery )
270
 
    {
271
 
        $filterQuery = '&'.$filterQuery;
272
 
    }
273
269
}
274
270
else
275
271
{
412
408
        else
413
409
        {
414
410
            $framesSql = "select FrameId,Delta,unix_timestamp(TimeStamp) as TimeT,Score from Frames where EventId = '".$event['Id']."' and Score > 0";
415
 
            foreach( dbFetchAll( $framesSql ) as $frame )
 
411
            $result = dbQuery( $framesSql );
 
412
            while( $frame = dbFetchNext( $result ) )
416
413
            {
417
414
                if ( $frame['Score'] == 0 )
418
415
                    continue;
808
805
  <div id="page">
809
806
    <div id="header">
810
807
      <div id="headerButtons">
811
 
        <?= makePopupLink( '?view=events&page=1&filter=1'.$filterQuery, 'zmEvents', 'events', $SLANG['List'], canView( 'Events' ) ) ?>
 
808
        <?= makePopupLink( '?view=events&amp;page=1'.htmlspecialchars($filterQuery), 'zmEvents', 'events', $SLANG['List'], canView( 'Events' ) ) ?>
812
809
        <a href="#" onclick="closeWindow();"><?= $SLANG['Close'] ?></a>
813
810
      </div>
814
811
      <h2><?= $SLANG['Timeline'] ?></h2>
816
813
    <div id="content" class="chartSize">
817
814
      <div id="topPanel" class="graphWidth">
818
815
        <div id="imagePanel">
819
 
          <div id="image" class="imageHeight"><img id="imageSrc" class="imageWidth" src="graphics/transparent.gif" title="<?= $SLANG['ViewEvent'] ?>"/></div>
 
816
          <div id="image" class="imageHeight"><img id="imageSrc" class="imageWidth" src="graphics/transparent.gif" alt="<?= $SLANG['ViewEvent'] ?>" title="<?= $SLANG['ViewEvent'] ?>"/></div>
820
817
        </div>
821
818
        <div id="dataPanel">
822
819
          <div id="textPanel">