Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
8f991dc50b
1 changed files with 35 additions and 26 deletions
|
@ -42,7 +42,7 @@ class Application_Model_ShowBuilder
|
||||||
"fadeout" => "",
|
"fadeout" => "",
|
||||||
"image" => false,
|
"image" => false,
|
||||||
"color" => "", //in hex without the '#' sign.
|
"color" => "", //in hex without the '#' sign.
|
||||||
"backgroundColor"=> "", //in hex without the '#' sign.
|
"backgroundColor" => "", //in hex without the '#' sign.
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -129,6 +129,7 @@ class Application_Model_ShowBuilder
|
||||||
* 0 = past
|
* 0 = past
|
||||||
* 1 = current
|
* 1 = current
|
||||||
* 2 = future
|
* 2 = future
|
||||||
|
* TODO : change all of the above to real constants -- RG
|
||||||
*/
|
*/
|
||||||
private function getScheduledStatus($p_epochItemStart, $p_epochItemEnd, &$row)
|
private function getScheduledStatus($p_epochItemStart, $p_epochItemEnd, &$row)
|
||||||
{
|
{
|
||||||
|
@ -157,6 +158,14 @@ class Application_Model_ShowBuilder
|
||||||
//item is in the future.
|
//item is in the future.
|
||||||
else if ($this->epoch_now < $p_epochItemStart) {
|
else if ($this->epoch_now < $p_epochItemStart) {
|
||||||
$row["scheduled"] = 2;
|
$row["scheduled"] = 2;
|
||||||
|
} else {
|
||||||
|
Logging::warn("No-op? is this what should happen...printing
|
||||||
|
debug just in case");
|
||||||
|
$d = array(
|
||||||
|
'$p_epochItemStart' => $p_epochItemStart,
|
||||||
|
'$p_epochItemEnd' => $p_epochItemEnd,
|
||||||
|
'$row' => $row);
|
||||||
|
Logging::warn($d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue