From 17d1f0bebe08a933d7d53f539752723b0c97c2b9 Mon Sep 17 00:00:00 2001 From: Ivaylo Markov Date: Wed, 28 Sep 2022 13:53:17 +0300 Subject: [PATCH] 2021 hacks --- header.php | 20 +++++++++++++++++++- page-schedule.php | 4 ++-- schedule/parse.php | 3 ++- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/header.php b/header.php index ecc5e72..d7ac3ef 100644 --- a/header.php +++ b/header.php @@ -45,7 +45,25 @@ echo ''; #echo ''; } else if ($blog_slug == "2021") { - echo ''; + //echo ''; + //if (of_get_lang() == "en") { + // echo ''; + //} else { + // echo ''; + //} + + echo ''; + } else { echo ''; diff --git a/page-schedule.php b/page-schedule.php index 70d0b91..c9f5bed 100644 --- a/page-schedule.php +++ b/page-schedule.php @@ -9,7 +9,7 @@ require("schedule-config.php");
'; } ?> @@ -42,7 +42,7 @@ if (!empty($content)) { ?> "; get_sidebar(); }; diff --git a/schedule/parse.php b/schedule/parse.php index fea0a01..49cf4db 100644 --- a/schedule/parse.php +++ b/schedule/parse.php @@ -280,7 +280,8 @@ function parseData($config, $data) { } $content = '' . htmlspecialchars($title) . '
' . $speakers; - if (!in_array($data['events'][$event_info['event_id']]['track_id'], $config['hidden_language_tracks']) && !isset($known_events[$eid])) { + if (!isset($known_events[$eid])) { + //if (!in_array($data['events'][$event_info['event_id']]['track_id'], $config['hidden_language_tracks']) && !isset($known_events[$eid])) { $fulltalks .= '
'; // We don't want '()' when we don't have a speaker name