diff --git a/schedule/parse.php b/schedule/parse.php index 01d9867..7ada9d4 100644 --- a/schedule/parse.php +++ b/schedule/parse.php @@ -272,15 +272,17 @@ function parseData($config, $data) { // these are done by $eid, as otherwise we get some talks more than once (for example the lunch) // TODO: fix this, it's broken - $fulltalks .= '
'; - - // We don't want '()' when we don't have a speaker name - $fulltalk_spkr = strlen($speakers) > 0 ? (' (' . $speakers . ')') : ''; - $fulltalks .= '

' . $event['title'] . ' ' . $fulltalk_spkr . '

'; - $fulltalks .= '

' . $event['abstract'] . '

'; - $fulltalks .= '

Submit feedback

'; - $fulltalks .= '
'; + if (!in_array($data['events'][$event_info['event_id']]['track_id'], $config['hidden_language_tracks'])) { + $fulltalks .= '
'; + + // We don't want '()' when we don't have a speaker name + $fulltalk_spkr = strlen($speakers) > 0 ? (' (' . $speakers . ')') : ''; + $fulltalks .= '

' . $event['title'] . ' ' . $fulltalk_spkr . '

'; + $fulltalks .= '

' . $event['abstract'] . '

'; + $fulltalks .= '

Submit feedback

'; + $fulltalks .= '
'; + } if ($eid === $lastEventId) { array_pop($columns); ++$colspan;