Changeset 579 for trunk/Modules/WebCam
- Timestamp:
- Oct 11, 2013, 11:28:10 PM (11 years ago)
- Location:
- trunk/Modules/WebCam
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/WebCam/WebCam.php
r577 r579 28 28 29 29 // Reload the image every defined period 30 theTimer = setTimeout("reloadImage()", '.($ Config['Web']['WebcamRefresh'] * 1000).');30 theTimer = setTimeout("reloadImage()", '.($this->System->Config['Web']['WebcamRefresh'] * 1000).'); 31 31 } 32 32 </script>'; 33 33 34 $Output .= '<br /><div align="center"><img name="theImage" src="" idth="640" height="480" alt="Webcam image"><br>Poslední aktualizace: '.date('j.n.Y G:i', filemtime($this->System->Modules['Webcam']->ImageFileName)).'<br>Obnovování po '.$ Config['Web']['WebcamRefresh'].' sekundách</div><br />';34 $Output .= '<br /><div align="center"><img name="theImage" src="" idth="640" height="480" alt="Webcam image"><br>Poslední aktualizace: '.date('j.n.Y G:i', filemtime($this->System->Modules['Webcam']->ImageFileName)).'<br>Obnovování po '.$this->System->Config['Web']['WebcamRefresh'].' sekundách</div><br />'; 35 35 } else $Output = '<br />Obrázek nenalezen.<br /><br />'; 36 36 -
trunk/Modules/WebCam/webcam_refresh.php
r548 r579 1 1 <?php 2 include('../ global.php');2 include('../../Common/Global.php'); 3 3 4 4 $Config['Web']['ShowPHPError'] = true;
Note:
See TracChangeset
for help on using the changeset viewer.