Fix tested on raraing and zoneminder 1.25:
/usr/share/zoneminder/zm/skins/classic/includes/export_functions.php: line ~778

        foreach ($eids as $eid) {
                //get monitor id and event id
                $sql = "select E.MonitorId, E.StartTime, E.Id from Monitors as 
M inner join Events as E on (M.Id = E.MonitorId) where E.Id = 
'".dbEscape($eid)."'";
                $event = dbFetchOne( $sql );
                $eventMonitorId[$eid] = $event['MonitorId'];
                $eventPath[$eid] = strftime( "%y/%m/%d/%H/%M/%S", 
strtotime($event['StartTime']) );
                
        }
        
/usr/share/zoneminder/skins/classic/includes/export_functions.php: line ~826 & 
~842

                <div><a href="javascript:switchevent('<?php echo
$eventMonitorId[$eid].'/' . $eventPath[$eid];
?>/zmEventImages.html');"><?=$eid?></a></div>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1176128

Title:
  Zoneminder Exports but HTML is faulty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/1176128/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to