diff options
Diffstat (limited to 'template/assemblies/schedule.phtml')
-rw-r--r-- | template/assemblies/schedule.phtml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml index 461353c..a519c23 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'): ?> @@ -46,12 +46,12 @@ – <?=h(strftime('%H:%M', $event['end']))?> in - <?=h($scheduleRoom ? $scheduleRoom->getDisplay() : $roomname) ?> + <?=h($scheduleRoom ? $scheduleRoom->getDisplayShort() : $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 ?> |