From f534221de0a6c9fcb7f88468a2c1ca66b236fe43 Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Tue, 16 Oct 2018 13:08:18 +0300 Subject: [PATCH] schedule: do not show misc in fulltalk list --- schedule/parse.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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;