From 117c405747ff3dd78b1ff18cd13aea1729fb4004 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Sun, 16 Oct 2016 20:43:36 +0300 Subject: [PATCH] Fix closing tags, add placeholder for speaker URL --- schedule/parse.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/schedule/parse.php b/schedule/parse.php index b0de0a0..e61ce4d 100644 --- a/schedule/parse.php +++ b/schedule/parse.php @@ -72,7 +72,7 @@ foreach ($data['slots'] as $slot_id => $slot) { } else { /* TODO: fix the URL */ $name = $data['speakers'][$uid]['first_name'] . ' ' . $data['speakers'][$uid]['last_name']; - $spk[$uid] = '' . $name . ''; + $spk[$uid] = '' . $name . ''; } } $speakers = implode (', ', $spk); @@ -95,9 +95,9 @@ foreach ($data['slots'] as $slot_id => $slot) { $fulltalks[$eid] .= '
'; /* We don't want '()' when we don't have a speaker name */ $fulltalk_spkr = strlen($speakers)>1 ? ' (' . $speakers . ')' : ''; - $fulltalks[$eid] .= '

' . $event['title'] . ' ' . $fulltalk_spkr . ''; + $fulltalks[$eid] .= '

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

'; $fulltalks[$eid] .= '

' . $event['abstract'] . '

'; - $fulltalks[$eid] .= '
'; + $fulltalks[$eid] .= '
'; if ($slot['event_id'] === $prev_event_id) { array_pop($lines); @@ -143,6 +143,7 @@ foreach ($data['speakers'] as $speaker) { $fspk[] = ''; } } + $fspk[] = ''; $fspk[] = '

' . $speaker['biography'] . '

'; $fspk[] = '
'; }