Removed the LiveStreamHelper completely.

No longer needed as of 2fa0d3a284
This commit is contained in:
Kyle Johnson 2013-09-24 09:18:01 -04:00
parent 9ccf5c72ce
commit 88dbd8db1d
2 changed files with 1 additions and 16 deletions

View File

@ -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');

View File

@ -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;
}
}
?>