?> " data-depends="#tribe-ea-field-facebook_import_type" data-condition="schedule" data-width-rule="all-triggers" ></span> <p class="tribe-timezone-message"> <?php echo sprintf(esc_html__('Events will be imported with the timezone defined by the source. If no time zone is specified, events will be assigned your site\'s default timezone (see %1$sSettings > General%2$s).', 'the-events-calendar'), '<a href="' . esc_url(Tribe__Settings::instance()->get_url()) . '#tribe-field-tribe_events_timezone_mode">', '</a>'); ?> </p> </div> <?php echo Tribe__Events__Aggregator__Tabs__New::instance()->maybe_display_aggregator_upsell(); $csv_record = Tribe__Events__Aggregator__Records::instance()->get_by_origin('csv'); $post_types = $csv_record->get_import_post_types(); foreach ($post_types as $post_type) { $type = str_replace('tribe_', '', $post_type->name); ?> <script id="tribe-csv-column-map-<?php echo esc_attr($type); ?> " type="text/html"> <?php $mapper = new Tribe__Events__Importer__Column_Mapper($type); echo $mapper->make_select_box(''); ?> </script> <?php }
</th> <th><?php esc_html_e('Event Fields', 'the-events-calendar'); ?> </th> </thead> <?php foreach ($header as $col => $title) { ?> <tr> <td><?php echo $title; ?> </td> <td><?php echo $mapper->make_select_box($col); ?> </td> </tr> <?php } ?> <tr> <td colspan="2"> <?php submit_button(esc_html__('Perform Import', 'the-events-calendar')); ?> </td> </tr>