Removed the LiveStreamHelper completely.
No longer needed as of 2fa0d3a284
This commit is contained in:
parent
9ccf5c72ce
commit
88dbd8db1d
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
class MonitorsController extends AppController {
|
||||
public $helpers = array('LiveStream', 'Js'=>array('Jquery'));
|
||||
public $helpers = array('Js'=>array('Jquery'));
|
||||
|
||||
public function index() {
|
||||
$zmBandwidth = $this->Cookie->read('zmBandwidth');
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
<?php
|
||||
App::uses('AppHelper', 'View/Helper');
|
||||
|
||||
class LiveStreamHelper extends AppHelper {
|
||||
public function makeLiveStream($name, $src, $id, $width=0) {
|
||||
$liveStream = "<img class=\"livestream_resize\" id=\"liveStream_$id\" alt=\"Live Stream of $name\" src=\"$src&monitor=$id\">";
|
||||
return $src;
|
||||
}
|
||||
|
||||
public function showNoImage($name, $src, $id, $width=0) {
|
||||
$liveStream = "<img class=\"livestream_resize\" id=\"liveStream_$id\" alt=\"No Live stream available for $name\" src=\"/img/no-image.png\">";
|
||||
return $liveStream;
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue