last mods

This commit is contained in:
Openfest 2016-10-24 00:35:05 +03:00
parent 581962c4b6
commit 6aac03d5fb
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,8 @@ get_header();
wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) ); wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) );
require("schedule-config.php"); require("schedule-config.php");
$content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php'; // REENABLE!
if (!(($year=='2016') && (preg_match('/^workshop/', $pagename)))) $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php';
//var_dump($data); //var_dump($data);
?> ?>
<section class="content grid"> <section class="content grid">

View File

@ -59,7 +59,7 @@ foreach ($data['slots'] as $slot_id => $slot) {
$eid = &$slot['event_id']; $eid = &$slot['event_id'];
$event = &$data['events'][$eid]; $event = &$data['events'][$eid];
if (is_null($eid)) { if (is_null($eid) || $event['event_type_id']==6) {
$lines[] = '<td>TBA</td>'; $lines[] = '<td>TBA</td>';
} }
else { else {