last mods
This commit is contained in:
parent
581962c4b6
commit
6aac03d5fb
|
@ -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">
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue