Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
the-events-calendar
/
src
/
admin-views
/
aggregator
:
meta-box.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<dl class="tribe-aggregator-import-details"> <dt><?php esc_html_e( 'Origin:', 'the-events-calendar' ); ?></dt> <dd><span class="tribe-value"><?php echo esc_html( $origin ); ?></span></dd> <?php if ( ! empty( $source ) ) : ?> <dt><?php esc_html_e( 'Source:', 'the-events-calendar' ); ?></dt> <dd><span class="tribe-value"><?php echo esc_html( $source ); ?></span></dd> <?php endif; ?> <?php if ( ! empty( $last_import ) ) : ?> <dt><?php esc_html_e( 'Last Import:', 'the-events-calendar' ); ?></dt> <dd> <span class="tribe-value"><?php echo esc_html( $last_import ); ?></span> <span class="dashicons dashicons-editor-help tribe-sticky-tooltip" title="<?php esc_attr_e( 'The last time this event was imported and/or updated via import.', 'the-events-calendar' ); ?>" ></span> </dd> <?php endif; ?> </dl> <p> <?php switch ( $import_setting ) { case 'overwrite': $message = __( 'If this event is re-imported, event fields will be overwritten with any changes from the source.', 'the-events-calendar' ); break; case 'preserve_changes': $message = __( 'If this event is re-imported, event fields that have not been changed locally will be overwritten with any changes from the source.', 'the-events-calendar' ); break; case 'retain': default: $message = __( 'This event will not be re-imported and changes made locally will be preserved.', 'the-events-calendar' ); break; } // CSVs can be imported when EA isn't active, so they're not always governed by Event Authority. // In the case the EA is not active, the "overwrite" behavior is the default; so let's ensure the message reflects that. if ( 'CSV File' === $origin && ! tribe( 'events-aggregator.main' )->is_service_active() ) { $message = __( 'If this event is re-imported, event fields will be overwritten with any changes from the source.', 'the-events-calendar' ); } echo esc_html( $message ); // CSVs can be imported when EA isn't active, so only mention the Event Authority when appropriate. if ( 'CSV File' !== $origin || tribe( 'events-aggregator.main' )->is_service_active() ) : ?> <a href="<?php echo esc_url( $settings_link ); ?>"><?php echo esc_html__( 'Change Event Update Authority', 'the-events-calendar' ); ?></a> <?php endif; ?> </p>