diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/assemblies/schedule.phtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml index 461353c..f160721 100644 --- a/template/assemblies/schedule.phtml +++ b/template/assemblies/schedule.phtml @@ -8,7 +8,7 @@ <? $fromstart = 0; ?> <? foreach($events as $event): ?> <div - class="block <?=h(@$event['special'] ?: 'event')?>" + class="block <?=h(@$event['special'] ?: 'event')?> <?=h((@$event['optout']) ? 'optout' : '')?>" style="width: <?=h(round($event['duration'] / $schedule->getScale()))?>px; left: <?=h(round($fromstart / $schedule->getScale()))?>px" data-start="<?=intval($event['start'])?>" data-end="<?=intval($event['end'])?>" @@ -30,7 +30,7 @@ <? if(@$event['special'] == 'daychange'): ?> - <h3><?=h($event['title'])?></h3> + <h3><?=h($event['title'])?></h3> <? elseif(@$event['special'] == 'gap'): ?> @@ -49,9 +49,9 @@ <?=h($scheduleRoom ? $scheduleRoom->getDisplay() : $roomname) ?> </h4> <h3> - <?=h($event['title'])?> + <?=h($event['title'])?><? if (@$event['optout']): ?><i> (no stream)</i><? endif ?> </h3> - <? if($event['speaker']): ?> + <? if(! empty(trim($event['speaker']))): ?> <h5>by <?=h($event['speaker'])?></h5> <? endif ?> <? endif ?> |